PDA

View Full Version : thermometer and humidity sms



elektoro2009
- 9th April 2008, 22:35
Hello friends.Please could you help me.
How can I send sms with sht11 and pic16f876.I want send sms alarm of
temperature and humidity with nokia 6210.If under or on regulated alarm of the
temperature or humidity ,nokia 6210 send sms me.
How can I make this circuit and pic software.
The sample with regulated alarm thermometer and humidity circuit is this on
address.http://www.imageturk.com/goster.php?...42236baae1.JPG
which mobil phone must I use.Can I use nokia 6210.
Thank you for your helping.Best regards.
Circuit explanation :
The alarm is open,ISI(temperature) ALT(under) and ISI(temperature) UST(on)
with NEM(humidity) ALT(under) and NEM(humidity) UST(on)
between outside.Two between alarm is closed.
Sample : If alarm 23 - 20 between,alarm is closed.If temperature 19 alarm open.
http://dosyayukle.info/index.php?p=download&hash=VpSY4G6mywpP
http://dosyayukle.info/index.php?p=d...h=VpSY4G6mywpP

elektoro2009
- 9th April 2008, 22:36
another sampe circuit :http://www.imageturk.com/goster.php?...1be2ef9e1e.JPG
How can I use this software for my regulated alarm thermometer circuit.
asm software here:http://dosyayukle.info/index.php?p=d...h=XXeuMX84TZtc
Thank you your helping.
Regards.

Raflex
- 10th April 2008, 00:30
Hello, the links doesn't work, use [code ] Link [/code ] (withous spaces) for any url

elektoro2009
- 11th April 2008, 00:54
Circuit asm code.

http://dosyayukle.info/index.php?p=download&link=1242889961&name=pic16f876.asm

http://dosyayukle.info/index.php?p=download&link=1219524014&name=pic16f876.asm

elektoro2009
- 11th April 2008, 01:14
circuit address.

http://img.fotoambar.com/img/5/ee15decb5a78ee50f995fe149fe6a2e5.jpg

elektoro2009
- 11th April 2008, 01:19
another sampe circuit :
http://www.imageturk.com/goster.php?res=b3dd66fdfd2f3749bdece.JPG
How can I use this software for my regulated alarm thermometer circuit.
asm software here:
http://dosyayukle.info/index.php?p=download&link=1305062103&name=pic16f876.asm
Thank you your helping.
Regards

elektoro2009
- 11th April 2008, 01:30
I maked this circuit,but complate not run.

http://www.wrankl.de/SMST4PIC/SMST4PIC.html
here asm and hex code:

http://www.wrankl.de/SMST4PIC/V6/SMST4PICV6B47.zip

elektoro2009
- 13th April 2008, 16:32
How can I unite this sample software
http://dosyayukle.info/index.php?p=download&hash=rzskbVI8qQeywith my software.Thank you.

'**************** SMS SEND SAMPLE ********************
'************************************************* *******************
SmsMesajTx : SerOut2 modem_tx,modem_baud,["AT+CMGF=1",13] ' Mesaj Formatı TXT için
Pause Bek100

SerOut2 modem_tx,modem_baud,["AT+CMGS=",34,"90532XXXXXXX",34,",145",13]

SerIn2 modem_rx,modem_baud,5000,msghata2,[wait(">")]


Pause Bek500

SmsData = "A" ' Gidecek Mesaj


For addr= 0 TO 159
SerOut2 modem_tx,modem_baud,[SmsData]
Next addr

Pause Bek500

SerOut2 modem_tx,modem_baud,[26] ' CTRL+Z

SerIn2 modem_rx,modem_baud,35000,msghata2,[wait("+CMGS")]

msghata2: SerOut2 modem_tx,modem_baud,["ATH",13]
Pause Bek500

Return
'************************************************* ***************

elektoro2009
- 14th April 2008, 23:21
How can I unite this sample software TERMONEMALRM-1.zip with my software.
Thank you.Best regards.

'**************** SMS SEND SAMPLE ********************
SmsMesajTx : SerOut2 modem_tx,modem_baud,["AT+CMGF=1",13] ' Mesaj Formatı TXT için
Pause Bek100

SerOut2 modem_tx,modem_baud,["AT+CMGS=",34,"90532XXXXXXX",34,",145",13]

SerIn2 modem_rx,modem_baud,5000,msghata2,[wait(">")]


Pause Bek500

SmsData = "A" ' Gidecek Mesaj


For addr= 0 TO 159
SerOut2 modem_tx,modem_baud,[SmsData]
Next addr

Pause Bek500

SerOut2 modem_tx,modem_baud,[26] ' CTRL+Z

SerIn2 modem_rx,modem_baud,35000,msghata2,[wait("+CMGS")]

msghata2: SerOut2 modem_tx,modem_baud,["ATH",13]
Pause Bek500

Return
'************************************************* ***************

elektoro2009
- 14th April 2008, 23:27
circuit is here.

Ioannis
- 15th April 2008, 09:12
Hi! I would suggest to select the Mobile terminal device of your choice first and study the specs and AT commands that accompany it. Most of the AT commands are common but each terminal might have its own special ones.

Also I would strongly recommend to use the UART module of the PIC's and also use bidirectional communication to check that the device has replied with OK after succesful command.

For example:

send AT+cr+lf

device replies OK+cr+lf

After you establish a good command of the device you are going to use then trie to send SMS. It is a difficult task for the begginer.

Ioannis

elektoro2009
- 18th April 2008, 00:43
Do yuo know sample temparature and humidity sms send circuit.
Could you write sample address.
I know this address: http://www.wrankl.de/SMST4PIC/SMST4PIC.html
I maked this circuit,but complate not run.Don't sms.
Thank you.Regards.

Ioannis
- 18th April 2008, 08:03
Hi! Please read my post again. What you are trying to do is a complicated project. Not for the novice. If you insist on doing it, then do it with small steps, one task at a time.

1. Select your mobile device. READ CAREFULLY the Data Sheet and get acquainted with it.

2. Use only the USART of your PIC (you need of course level translation like a MAX232).

3. Try to communicate with your mobile device with simple commands like AT and wait for the answer OK.

4. Then try more complicated tasks like sending SMS.

Also note that some commands like deleting SMS might take some time until they respond with OK. Not all commands execute immediatly!

Ioannis

skimask
- 18th April 2008, 13:36
If you insist on doing it, then do it with small steps, one task at a time.
I'm probably guessing here, but....

Step 1.1 - Make blinky LED

Ioannis
- 18th April 2008, 17:11
It is a good idea if he has not blink a LED up to this moment, but I did not meant so small steps!

On the other hand, a good schematic, a BOM and the full program, debuged, is most welcome.

Ioannis

skimask
- 18th April 2008, 17:19
It is a good idea if he has not blink a LED up to this moment, but I did not meant so small steps!
On the other hand, a good schematic, a BOM and the full program, debuged, is most welcome.
Ioannis
Ok, how about this:
Step 1.5 - make blinky LED? :D

Look at all the posts... He's all about 'sample software' and 'sample schematics'. Sounds to me like it's all about 'samples' and not designing and creating.

Ioannis
- 19th April 2008, 12:00
...
Sounds to me like it's all about 'samples' and not designing and creating.

OK, then: http://www.samples.com/

Ioannis