Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[51] GSM Based Temprature Monotring system

Status
Not open for further replies.

phrbob93

Member level 1
Joined
Mar 28, 2014
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
Jalandhar, punjab
Activity points
343
as u see in the topic i am doing this project.. using AT89s52 MCU
i am doing the code segment of temperature sensing and gsm sms sending.. and they both works properly independently .. but i am having problem in combining those in a same code.. please help
i am using LM35 and gsm900A
i am attaching both independent working code and the combined code.. please tell me where i am wrong..
 

Attachments

  • gsm_header file.txt
    1.8 KB · Views: 6
  • CONBINED.txt
    3.9 KB · Views: 6
  • TEMP.txt
    3.3 KB · Views: 6
  • GSM_SMS.txt
    1.7 KB · Views: 6

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
Are you using Keil ? What MCU are you using and which ADC device are you using ? In gsm_send() function you have to increase delays to atleast 500 ms between AT commands. Please zip and port the complete Keil project files. If you can use mikroC PRO 8051 Compiler (demo version) then I will write a code for you to read temperature using ADC and send the temperature data (string) through GSM as SMS.

- - - Updated - - -

Here I am attaching mikroC PRO 8051 project and Proteus 8.2 SP2 format file. There is bug either in mikroC UART library or in Proteus like if baudrate in code is 9600 bps and in Proteus also 9600 bps then you get garbage data. If in code baudrate is made 4800 bps then it works fine. I have compiled code with 4800 bps baudrate so that it works with Proteus. If it doesn't work in hardware then change baudrate to 9600 bps in code and compile using demo version of mikroC PRO 8051 COmpiler. The code will work fine and it will send temperature value as SMS.

117766d1432379777-adc0804-gsm-sim-ss.png
 

Attachments

  • ADC0804 + GSM.rar
    109.5 KB · Views: 6
  • adc0804 + gsm sim ss.png
    adc0804 + gsm sim ss.png
    61 KB · Views: 17
  • ADC0804 + GSM rev1.rar
    109.4 KB · Views: 12

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top