LinkIt ONE Tutorial - SMS control the LED

Introduction

What We’re Doing

In this section, we achieve some cool function. Outstanding characteristic of LinkIt One is integrated with the communication module. We are following through GSM communication module to transmit messages, the switch state to pass to change LED. This will be exciting. First connect with the antenna, and then insert a SIMCARD into the slot of the LinkIt One, then according to the schematic connected circuit. Use a mobile phone with GSM, edit the message content ON or OFF, send the specified number (the SIM number), now you can control the LED switch state, And global synchronization.

Things you need

  • LinkIt One x 1

  • Break board x 1

  • Resistors 1kΩ,330Ω x 1

  • Transistor(2N3904) x 1

  • GIS ANT x 1

Schematic

Connection

Code

Please click on the button below to download the code for the kit:

You can unzip the file to the Examples folder of your Arduino IDE.

To access the demo code open:

File -> Examples -> Starter Kit for LinkIt -> Basic -> L9_SMS_Light

  • Antenna do not work ?

    • Attention to check the antenna connection is stable connection. (Antenna socket on the back, marked as GSM-ANT)
  • Send the message without response?

    • SIMCARD need to unlock free version. (That is not limited to any telephone mobile phone SIMCARD)

Making it better

Perfect with the GSM module communication function. If we want to do a short time, how to modify the code? Set a time of 60 seconds (send form ON60). Send a message to set the lighting automatically extinguished in a minute after arrival.

To access the demo code open:

File -> Examples -> Starter Kit for LinkIt -> Extend_Lesson –> L10_SMS_Light_Advanced

More ideas

With Bluetooth, GPS, Wi-Fi function module. What a look whether to have the new play?

Reference

Help us make it better

Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!