If you want a live demo of this, please register from the link given below. (Only in Pune)
REGISTER NOW!
This project can also be implemented using a PIC18F4520 microcontroller.
Temperature monitoring have wide application in daily life. In modern day keeping an eye on temperature of places such as server rooms, hospital rooms, warehouses and green houses can help solve many problems. But with the use of normal temperature sensors, someone needs to go to the place in order to view the temperature. But with the development of GSM network, one can easily connect the sensor with GSM network, so that you don’t need to be present near the sensor in order to view the temperature. You can just pick up your cell phone and send a request to your sensor by a text message and in no time you will receive the temperature of the remote place !
The advantage is the you don’t need any kind of "special" device at the receiver end. You can use any cell phone to view the remote temperature. This reduces cost as you already have a cell phone.
Other benefit is that the range is not limited. You can be at any place in the world (with mobile coverage of course!), to request temperature data from your room.
Fig. SMS Based Remote Temperature Monitoring |
Stuffs Required and Estimate Cost
S. No. | Item | Image | Cost |
1 |
Contains the core AVR circuit including 5v regulator, reset, ISP. It also includes easy interface for 2×16 character LCD. |
Rs.1788 |
|
2 |
For getting connected to the GSM Network. |
Rs.1205 |
|
3 | Single Pin Female to Female Burg Wires Used to interconnect the two boards.
|
Included with xBoard MINI |
|
4 |
To upload the program to the development board. |
Rs. 489 |
|
5 |
To power up the GSM Module. |
Rs. 180 |
|
6 |
To power up xBoard MINI |
Included with xBoard MINI |
|
TOTAL | Rs. 3662 |
Construction of the Project
We have selected xBoard MINI v2.1 as the base to develop our project. This is because it has all the peripherals required for this project. It has an ATmega8 connected with a 16×2 character LCD Module, Temperature Sensor LM35 and a connector for USART. It has some other peripherals too, but they are NOT utilized in this project, they are:-
- LED
- IR Remote
- Keypad
- Real time clock and calendar.
But if you wish to extend the project they might be of great use.
Step I
Remove the MAX232 IC from the xBoard MINI.
Fig. MAX232 IC on xBoard MINI |
Fig. MAX232 IC Removed |
Step II
Insert SIM Card in the GSM Module.
Fig. Installing SIM Card |
Fig. Slide down to un-lock |
Fig. Flip up the cover |
Fig. Insert SIM Card |
Fig. Slide up to lock |
Fig. Finished ! |
Step III
Connect GSM Module with xBoard MINI
Fig. Take 3 Burg Wires. |
Fig. Connect them to GSM Module Pins |
Fig. Connection Done! |
Fig. Connect other end to xBoard MINI! |
Fig. Finished ! |
Step IV
Power up the boards. Take a 12V 2A DC Adapter as shown in the image below.
Fig. 12V 2A Adapter |
Fig. Connect Power Supply |
Take a 12V 1A Adapter as shown in the image below.
Fig. 12V 1A Adapter |
and use it to power up the xBoard MINI development board.
Fig. Power up the development board. |
Fig. The whole setup looks like this ! |
Step V
Programming the xBoard MINI
You will need a USB AVR Programmer as shown in the image below.
Fig. USB AVR Programmer. |
Connect xBoard MINI with USB Programmer using a 10 PIN FRC Cable (provided with the programmer)
Fig. USB AVR Programmer. |
Then connect the programmer with your PC using a USB Cable. On the PC launch eXtreme Burner AVR, and use it to load the hex file and transfer it to the development board. You can find the hex file of this project at the download section which is at the end of the article.
Fig. eXtreme Burner – AVR. |
now the project is ready !
After burning the program, first switch on the GSM Module and then the xBoard MINI. If every thing is alright, like the SIM card is properly installed and network is present. You will see a screen like this.
Fig. Main Screen |
The home screen shows the current temperature as measured by the on board sensor of xBoard MINI. The status area shows a beating heart. This heart signifies that the program is running and everything is ok.
Now a take a mobile phone and compose a message like this :-
GET T
here GET is the command and T is the parameter.
Fig. Compose a request |
Which means, get the temperature.
Send this message to the sensor. I mean to the number of the SIM card inserted into the GSM Module.
As soon as a message is received by our sensor. The heart in the status area changes to a down pointing arrow as shown in the image below.
Fig. Message Being Received. |
After message reception and processing, a reply is sent to the number from where the request came. On this phase the status area shows a up pointing arrow.
Fig. Message Being Sent. |
In few seconds you will receive a reply from the sensor.
Fig. Reply from Sensor |
Open the message and you will get the temperature of the remote station !
Fig. Reply from Sensor |
Downloads
By
Avinash Gupta
Facebook,
Follow on Twitter.
www.AvinashGupta.com
me@avinashgupta.com
Facing problem with your embedded, electronics or robotics project? We are here to help!
Post a help request.
Es incredible la presentation y la buena informacion de su pagina y el tema que investigo en el momento.
Mil gracias
plz contect with me i want to buy this project plz 03336574267
Great tutorial again Avinash!
I will try and use the GSM module to make my gates open when I get home 😀
This is so versatile.
Thank you again!
sir i want project discription and hex file ready for gsm modem based bio medical monitoring system to monitor heart beat and body temp.using atemega32.
hi can who help me to make my projects sm900 mudel with atmega32
Hello Avinash
Thanks again for your awesome project.
I have two questions :
Would you please tell me about the DIP Switch function in this circuit?
And also,Would you please place the schematic of the circuit in this website?
Many thanks again for your beautiful projects.
Have a nice day.
sir can i use same code for atmega16 too..?
can you give me its schematic plz
hey,avinash …. i m doing gsm sim300d heart rate counter with temperature dispaly on lcd.So,i would like to have guidence from you on codings……please do help me as soon as possible
Hi| whether can i set temperature threshold range so that whenever the temperature reaches the particular range it should trigger sms. So that it will be very useful in server rooms and other sensitive areas wherever temperature needs to maintain.
with regard to temperature what could be the accuracy and temperature range. i dont see a temperature probe. is it suitable for out door temperature (green house farming)
Thanks for the upload.. is it necessary for me to get the Xboard before i can design the circuit.. or can i design it with the circuit diagram
@Oyinlola
Yes !
is it possible to monitor a battery with this ? and send an sms to a gsm when the battery is low? please help me
@Benoit de ley
Yes it is possible. The the actual implementation depend on the type of battery used.
sir i want to get this Remote Temperature Monitoring using GSM at my work place. how i can get this and what will be the cost.
I need my LM35 to monitor negative temperature also, but the problem is that there is only one ADC channel left at my mcu. As data sheet says that we can measure negative temperature using LM35 with single power supply, but there are two outputs and we need to subtract them, but as i earlier said that i do have only one one adc channel hence i am using an op-amp as subtractor and giving the output to my mcu, but the output is not accurate and also varies with input supply. Can you help me or provide me some suggestions on how to tackle this problem.
Isn’t source code required for this?
sir how to connect mobile for GSM module in nokia x2-00
hii…..
avinash
i want to help for a program lm35 sensor on based gsm module to avr ATMEGA16A
pls send a proagram
Dear Avinashs ji,
Thanx a lot for creating such a good tutorial site for embedded projects.
I see this website and try to learn daily.
I have downloaded the above project CODE and HAVE run succesfully but i am not able to open the progsm.a file located under lib folder.
I am able to open the progsm header file.
can you provide me the progsm main code file that can be viewed in notepad so that i can learn in deeply the gsm module code for calling, sending and receiving text.
For your kind information I am the regular customer of your store.
Thanks and regards
Soumitra Mandal,
from ADRA ,
PURULIA dISTRICT,
WEST bENGAL
@soumitra mandal
Yes sure we can give it to you.
But do you follow us on Facebook?
sent you a friend request. pl. accept
waiting for your valuable posts in fb.
thanx
@SOUMITRA MANDAL
I am talking about our Facebook page
http://facebook.com/eXtremeElectronics
Actually the thing is that if people are using some resources then they should also support us.
I understood your meaning in 1st comment. so I saw that fb page also and liked that also follow it for more knowledges
I fully agreed and like your views in last comment.
thanks
@SOUMITRA MANDAL,
I didn’t asked you to join the Facebook page. I just asked whether you are following it? If NO, then it implies you do not like our contents.
if the answers of your question is limited to the words “yes/no”.
then the answer is yes.
@SOUMITRA MANDAL
Ok so you are following the page. Thats good. But then why haven’t I noticed you liking or sharing any of the posts there? I remember names of all loyal readers very well!
actually at maximum of my free time i see your this website in learning so that matter of liking and sharing has not been come in my mind
i shall told you in previous that all of your contents in website are unique and high grade and i very much like that.
only the action of clicking the like button is due from my end and i should do that in previous.
and offcourse i shall share your valuable content to my circle.
thanx
Sir,
I want to purchase this project. Project report signed by guide. The guide shoud be MTech with 5 year experience or PHD.
Kindly, let me know how do i pay the payment of this project.
Hi Avinash.
Thanks for your tutorial. I have a question for you please?
Would it be possible to implement your project above using just an arduino uni and any gsm shield please?
Hi Avinash.
Thanks for your tutorial. I have a question for you please?
Would it be possible to implement your project above using just an arduino uno and any gsm shield please?
@Ross,
Sorry but this is NOT based on Arduino.
Thanks for your prompt reply.
Yeah I know that is not the case. I just wanted to know if using just a gsm module and an arduino uno could go a similar job?
greetings sir, i just need a product. my requirement is a temperature switch should send a msg and switch on a motor if the surrounding reaches a preset temp. along with above msg the motor status ie running r not is also to be sent. for eg set temp is 30c when temp reach 30c a msg to be sent as “temp is 30c and motor start when temp 28c msg to be sent as “temp is 28c and motor stop”
in xboard mini where should i connect thermocouple. thank u
Sir, I need a help from you. I am working on a project. Title: “Wireless weather station using gsm module”. The project is to log the sensors data to data file on a computer or sd card. And if sd card is used, when i dialed the gsm module SIM number, the sensors data should appear (that is, should be downloaded on to my pc) on my pc. And if any book relating to this project, plz let me know. I was searching online and i came across this name, Avinash Gupta. I don’t know if you are the right person. Anyway, just help me. I am working with National Space Research and Development Agency (NASRDA), Nigeria. I am not saying you should do it for free but just let me know how much it will cost me. I usually use PICmicros and Mikroc. Thanks!
@Tebe-ebi Justice Timiyo Binmo,
This is a time consuming and large project.
It’s cool to see such problem solved.
Kindly send your contact
+2348063370311
i have a full knowledge of Embedded System. I have design Automatic Weather station with 3 different interfaces.
Sdcard, Embedded server, GPRS.
Kindly contact me for details
hello sir,
i want to program atmega8 with variable frequency and variable duty cycle so plz help me to solve dis i have tried using different registers for 8bit timers and 16bit timers too bt i didnt gt both the function at a time. so plz help me…
its very good.
i used your subject. thanks .
Sir i need circiut diagram for this project.. canu u please post circuit diagram??
sir i need this project component, how i can get?
what do i have to do if i have to change a few things in the hex file.
Also the sensors are not downloading the sms i send And hence the code is not working properly.
delete sms of the SIM card by putting it in a cell phone. SIM card has only 32 or so SMS space that are already full.
sir will you please help me for the same project by using ATmega32
Could not load C Source Code