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

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking