Microcontroller to SMS Interface

In the microcontroller world some things are a bit tricky to do without some help. This can be some code libraries that help us talk to an LCD display, or communicate via some of the new serial protocols such as one wire. Elektronika.ba has done some work to help everyone out who wants to interface a microcontroller to a GSM phone. Thanks for making the English version for us. ๐Ÿ™‚ Code and diagrams are available on his site.
"This device acts as interface between your microcontroller project and a GSM phone. It handles all modem data communication between the GSM phone and your micro-project. The best thing is that it decodes PDU into TEXT on the fly! It’s based on PIC16F877A microcontroller running on 16MHz at 5V. It has an onboard level converter for serial communication with the gsm phone because PIC’s UART RX input pin has a Schmitt trigger triggering at 4,5 – 5V while the phone is sending only approx. 3V from it’s TX pin. It also has a zener diode at TX pin so it doesn’t kill the phone’s network connection when talking to it. Firmware is 100% written in MPASM assembler."
Thanks Mure.

54 Comments


  1. I think I can use this ๐Ÿ™‚ We have a ham radio repeater with no POTS available for remote management ๐Ÿ™‚


  2. Maybe it would be better for you to use TwoWay Thing (from the same website), in that case you don’t need to do any developing of your own sms controller. TwoWay Thing is allready a finished sms controller, this SMS Box is an interface for the controller you are about to develop.


  3. wuh,
    Can you show me a direct link to it? I can’t read the language.


  4. This is great! it’s exactly what I need to read a remote sensor (it’s about 16km far), I will try to do something similar when I have time


  5. Thanks Alan. I am still thinking it is best to just use the one GSM module…since I will be dialing into the device in question anyway, and I want to be able to dial in to it from anywhere. Basically, there is already a onboard 4 pin POTS line jack on the back of the repeater. I need to emulate what goes in between that jack and the dial in user. Any other ideas?


  6. awesome, thnx for the english version


  7. That is a beautiful circuit layout


  8. PCB’s always amaze me, the circuits are so nice lookin.


  9. You know gang, with a little practice, you, too, can make PCB’s like that ๐Ÿ™‚


  10. Superb piece of work, many thanks to the author


  11. wuh,
    Thanks a bunch for getting me that reference!


  12. we are doing same project but i am not getting its pdf file,please help me


  13. hello i m a finl yr engg student . i want to make a project on home security using gsm . i want that security msg come at our mobile phone automatically can you help me i m very thankful to you


  14. Hi vipin,

    Sounds like a nice project. Send me a link when you are done. ๐Ÿ™‚

    To contact the developer of this project click on the link in the article.


  15. hi,how can i have a schematic.
    telecom.eng from tanzania


  16. plz hwo to input the program to hard ware


  17. hi dear!
    i appreciate ur hard work on this good site..
    actually i m student of final year electrical engg n the fina year project i chose,to present
    to my university,is “Home security system via SMS by GSM”..
    plz help me with schematic/circuit diagrams ,components to be used and other details
    of this project..
    i’ll be too much thankful to u..
    plz send helpful information on my email address…
    thanks a lot..


  18. hi
    i need help
    i need a C programm to send and recive SMS with PIC16F877


  19. please send c code file for microcontroller and mobile interface


  20. please send c code file for microcontroller and gsm modem interface. i am using atmega8 for interfacing


  21. Nice project, i want to do it with 8051 Microcontroller.


  22. hi
    i need help please
    i need a C programm to send and receive SMS with PIC16F877


  23. hi
    i have now a project that is to control a car via sending an sms
    to it ,the project using pic 16f877
    so if any help you can do about the programming and the hardware connections
    any info will be helpful
    thank you


  24. Sir,
    i want to make sms base device switching system .
    I want to your help sir.

    thanking you


  25. Sir, Iam doing II.M.Sc Applied electronics.
    sir i want details about how to interface the mobile by using pic or 8051 controller .
    Can you help me please………..
    i want the concept of interfacing the mobile….
    Can you tell the interfacing(by using any mobile.)and the cable details……….
    My Project Titile are Locker Security System with Mobile Alert(this alerting are may be anything….SMS or CALL).


  26. Hello Subrata. First try to communicate between the PC and Phone to understand how the phone communicates. Then try 8051

    good luck


  27. sir, i am hobbies to develope the electroinics projests
    please provide me more information on the device switching through sms.
    i request u the provide relevant information to complete this project which i have started long back and not yet completed , i am feeling very uncomfortable in fount of my colleges.


  28. I am a final year student of electrical engineering, in my final project, I am going to send sms using any type of micro controller using gsm modem or a mobile phone. Please give me the required micro controller and its code (how to program it) thank you!


  29. Hi Shepi,

    For more details please click on the link in the article.


  30. hi
    I’am rihab , please helpe me to going to send sms and mms using in pic16F877 in to GSM portable in language assembleur please .


  31. hello i’m a student who wants to build a sms tray box but i want to biuld it with microcontroller type ATMEL AT89S52.what should i do???
    please for the help….
    thanx before


  32. Hi,sir i am going to do an iphone receiving sms(command)which can interface with PIC system
    to control overow house system? can you help me on this?


  33. my project is send sms to send sms from PIC by using GSM modem.
    But, i dont know how yo write program.
    From what i read, i need to use Hyperterminal and AT Command..
    But for PIC 16F84A, what language, software and compiler can i used..
    Plz help me …


  34. thanks for some information! we’ll really need it sooner for our research project..


  35. Hi Nisa,

    Please click on the link in the article for additional details.


  36. im doing the project on home security automation system so i want to interface sms module to PIC16F877 please help me with sms module circuit.


  37. how GSM modem communicate with
    piC16F877A using serial communication RS232


  38. I am doing my final year project on remote monitoring system.
    I have to send SMS via the GSM modem. I have already written a code in C but when I try to implement it on a cicit board, it does not send an SMS.
    Can I send over my code so that you can help me to
    rectify my mistakes.
    Plzz help me, i have to submit next week


  39. Hi Khabo,

    Please click on the link in the article to go to the main project page. When you get it working send in some details, we would love to check it out.

Comments are closed.