+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130

    Default SMS Controller using X-10

    Attached is a text file for an SMS controller project that I did a few years ago, using a MELabs LabX-USB demo board connected to a Multi-Tech SMS modem using CDMA (Verizon Wireless.) The program utilizes a serial interrupt handler that I came across, you could easily rewrite this to use Darrel's instant interrupts. Melanie had posted an example on serial communications that I modified to read the SMS message and determine if a) the command is valid, and b) the password is valid. Bruce and Darrel have both provided temperature sensor examples, which I used to read a Dallas 18s20 sensor.
    To use the program you send a text message to the unit that consists of a command, such as Light, and a password, 1234. If the unit receives a valid command and password, it goes to a subroutine, Light: in this example, and turns on my foyer table lamp. It then sends a text message back to the number that sent the original message, saying that it has turned on the lamp.
    Al, (Aratti) has suggested that spam might be a problem if you send a response back to anyone who sends a message, but Verizon Wireless fights spam really well, I've only gotten two spam text messages ever, but as they say, your mileage may vary.
    Enjoy!
    Jerry Gavin


    Hi, we are pleased to see that you are using our forum.

    We'd like you to become a member of our community. Membership is FREE, please REGISTER and view our forums without these annoying reminders!

    Once registered you may post on the forums, download from the file areas and use the WIKI without interruption.




    Attached Files Attached Files

Similar Threads

  1. Replies: 5
    Last Post: - 8th January 2014, 06:18
  2. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  3. hserin and sms controller
    By xxxxxx in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 10th February 2010, 16:49
  4. Problem with SMS IO Controller
    By dario.costa in forum GSM
    Replies: 4
    Last Post: - 30th November 2009, 08:04
  5. SMS Controller
    By savnik in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th September 2006, 15:12

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts