IKEA SMS lamp with GSM shield

By on September 28, 2012
Pin It

 

 

 

We create a lamp controlled by SMS using a GSM shield, a RGB shield and a Arduino UNO.
Due to the simplicity of these boards, simply plug one over the other and connect a strip led to have a lighting effect.
Then sending normal text messages from any phone, you can turn on and choose the color to set.

The scketch check the text of the received message, if the SMS contains a character, it follows on the corresponding color.
It ‘also provided a fader functions can be called with the character F

This is the list commands:
R to set RED
G to set GREEN
B to set BLUE
Y to set YELLOW
O to set ORANGE
P to set PURPLE
W to set WHITE
F to set the fader function

This is just an example of the possible applications of the GSM / GPRS shield.
You can for example control the home lighting with a simple text message, or receive an SMS in case of alarm.
In addition, the SIM900 has the capacity to also decode DTMF tones, so you can call this in the sim GSM shield and switch loads directly from the telephone keypad.

The complete library it contains many other functions through which you can make calls, connect to the Internet, send and receive SMS.

This is the simple firmware in Arduino.

 

About Boris Landoni

Boris Landoni is the technical manager of Open-Electronics.org. Skilled in the GSM field, embraces the Open Source philosophy and its projects are available to the community.
  • Pingback: IKEA SMS lamp with GSM shield | http://64.37.52.42/~feedwiki/Grabfee/()

  • fernando

    great tutorial. I dont understand how can I do to detect a new sms and print it only one time at the serial console. Can you being me an example of how to do it? Thanks!

    • BorisLandoni

      ASAP we’ll publish a tutorial

  • Sir Ash

    i want to make a project,, to turn off/on the lamp using sms .. but, the sim card memory is low, can we delete the data in the sim card memory after the lamp turn on or off..