Project tutorial
Girlfriend Call and Message

Girlfriend Call and Message © TAPR-OHL

Want to make your girlfriend number secret, lets make it.

  • 1,472 views
  • 1 comment
  • 4 respects

Components and supplies

Apps and online services

About this project

project idea 

When your girlfriend calls and messages you, a red led will light as indicator for her.

Component 

Steps 

1- Connect 1Sheeld board to Arduino Uno board .

2- Connect LED to pin 13.

3- Download 1 shield libraries  from http://1sheeld.com/downloads/.

4- Upload  (SMS and Phone library) into Arduino  IDE.

5- Write the code on Arduino IDE.

6- Connect Arduino board to PC and upload the code into Arduino board.

7- Connect power source to Arduino board (USB cable OR Battery).

8- Take care about upload mode and running mode on the 1 shield board.

9- Download 1shield mobile application from here  https://play.google.com/store/apps/details?id=com.integreight.onesheeld

10- Connect 1Sheeld mobile app to 1Sheeld board.

11- select the required libraries from 1Sheeld mobile app.

12- make a call from your girlfriend to your mobile wait awhile then cancel take          care about what happen to the LED.

13- send a message from your girlfriend mobile to your mobile and take care about what happen to the LED.

This video describe the steps and output  

Code

GirlFriend call and massage Arduino
this code programs arduino uno to be comparable with 1shield board and 1shield mobile application where when your girl friend call you or send a message on the phone that has 1shield application Red LED will light as an indicator for her call or message.
#define CUSTOM_SETTINGS
#define INCLUDE_PHONE_SHIELD  //call liberary
#define INCLUDE_SMS_SHIELD    //SMS liberary 

/* Include 1Sheeld library. */
#include <OneSheeld.h>

/* Phone number to check if she called. */
char callingNumber[]= "01024963088";
/* A name for the LED on pin 13. */
int ledPin = 13;

void setup()
{
  /* Start communication. */
  OneSheeld.begin();
  /* Set the LED pin as output. */
  pinMode(ledPin,OUTPUT);

}

void loop() 
{
    /* Check if the phone is ringing. and if there is a massege sent to the mobile*/
    if(Phone.isRinging()||(SMS.getNumber()))
    {
        /* Check if the phone number calling is the same as our variable. */
        if((strcmp(Phone.getNumber(),callingNumber) == 0)||(strcmp(SMS.getNumber(),callingNumber) == 0))
       {
          /* Turn on the LED. */
          digitalWrite(ledPin,HIGH);
       }
    }
    else  
                digitalWrite(ledPin,LOW);
                

}

Schematics

schematic
using fritizing
Capture

Comments

Similar projects you might like

Menu Card To Speech, Reads And Writes Data On Thingspeak

Project tutorial by eric

  • 946 views
  • 0 comments
  • 2 respects

Arduino can hear and understand your voice with 1Sheeld !

Project tutorial by Alessandro Didonna

  • 4,065 views
  • 1 comment
  • 11 respects

Line Follower Robot Using Arduino & 1Sheeld

Project tutorial by Ashraf Nabil

  • 3,387 views
  • 0 comments
  • 7 respects

Control Music Volume and Ledbar Using Slider of 1Sheeld

Project tutorial by ahmed ismail

  • 2,035 views
  • 2 comments
  • 14 respects

How can you Report Thief with a Photo on Twitter by Arduino

Project tutorial by ahmed ismail

  • 1,837 views
  • 0 comments
  • 8 respects

Skype Emergency Call

Project showcase by Manuel Miguel

  • 1,120 views
  • 0 comments
  • 4 respects
Add projectSign up / Login