Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 10:32:51 10:32


Login with username, password and session length


Pages: [1]
Print
Author Topic: SMS Box  (Read 8365 times)
0 Members and 1 Guest are viewing this topic.
zokij
Senior Member
****
Offline Offline

Posts: 346

Thank You
-Given: 269
-Receive: 679


Nice time :)


« on: May 25, 2008, 08:53:19 08:53 »

SMS Box


What is it for?

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!

Technical

The SMS Box! handles SMS messages in pdu-mode so you don't need to worry about *many* things. You can talk to it over its «4-wire bus» and can be used for:

   1. Receiving sms messages (PDU -> TEXT conversion!)
   2. Sending sms messages (TEXT mode)
   3. Dialling a telephone number
   4. Hang-up a call
   5. Query call status
   6. Receive CLIP string
   7. Report a RING to microcontroller project (interrupt your uC program)
   8. Answer a call
   9. Set phone's date and time – not implemented yet
  10. Get phone's date and time – not implemented yet
  11. Check prepaid credit balance

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.

Two jumpers in the schematics are for: baud-rate selection (9600bps or 19200bps) - Siemens phones mostly use 19200 while Ericssons use 9600bps, the other jumper is for enabling the RING with CLIP reporting to your microcontroller project (if you need to be notified when the gsm phone is ringing so that you can see who's calling).

The device has been developed and tested on Siemens M35 phone. Other Siemens phones require testing and should/must work. The same thing is for the Ericsson phones. The phones that can be used are ones that have «AT modem» inside, UART port and work on 19200 or 9600bps (almost all phones).


Picture doesn't need any explanation. SMS Box! is grey box in the middle.

Primitive commands (communicating with the box)

Commands you can send to the SMS Box!:
([0] is representing a null-byte, all commands are case-sensitive ASCII characters)


For detailed explanation of commands and their return values and the rest of this paragraph, please see PDF file.

Communication protocol, the 4-wire bus

Not so much thought has been given to this 4-wire synchronous bus.

Looking from the SMS Box!'s side, we have:

   1. Data line – bidirectional (input - output)
   2. Clock line – unidirectional (input - your microcontroller project is clocking-out/in the data from/to the SMS Box!)
   3. IRQ line – unidirectional (input – this is interrupt for SMS Box!)
   4. HEY line – unidirectional (output – this is where IRQ is generated to your microcontroller project)

All communication lines are pulled-up to Vcc with PIC16F877A's internal pull-up resistors, so, active line = low (GND).


SMS Box!'s 4-wire communication assembler routines (send and receive) are in PDF file as well.

Jumper selection

On SMS Box! you will find two jumpers:

   1. Ring reporting selection (jumper in position=Off, jumper removed=On)
   2. Baud rate selection (jumper in position=9600bps, jumper removed=19200bps)

Video : SMS Box sending a message from easyPIC3 board

Project files:

http://rapidshare.com/files/117440293/011.rar <- dead link

new reupload:
Filename:     011.rar
Size:    1.10 Mb
Date:    2008-07-17 05:13:08
4 mirrors this time Smiley
http://rapidshare.com/files/130246387/011.rar.html
http://depositfiles.com/en/files/6615285
http://w13.easy-share.com/1700929117.html
http://www.filefactory.com/file/0961e5/n/011_rar
pass: sonsivri
nice time Smiley
« Last Edit: July 17, 2008, 12:50:45 00:50 by zokij » Logged
localcrack
Active Member
***
 Muted
Offline Offline

Posts: 173

Thank You
-Given: 64
-Receive: 21



« Reply #1 on: July 07, 2008, 09:07:34 21:07 »

please re upload it
Logged
zokij
Senior Member
****
Offline Offline

Posts: 346

Thank You
-Given: 269
-Receive: 679


Nice time :)


« Reply #2 on: July 09, 2008, 08:10:23 20:10 »

please re upload it

If you can wait I will in Saturday night ...
Logged
softjad
Junior Member
**
Offline Offline

Posts: 51

Thank You
-Given: 12
-Receive: 95


« Reply #3 on: July 10, 2008, 11:25:05 11:25 »

   
Someone has this project in  C code?
Thanks
Logged

zokij
Senior Member
****
Offline Offline

Posts: 346

Thank You
-Given: 269
-Receive: 679


Nice time :)


« Reply #4 on: July 17, 2008, 12:52:17 00:52 »

 Wink as I promise at your req  Roll Eyes
new reupload:
Filename:     011.rar
Size:    1.10 Mb
Date:    2008-07-17 05:13:08
4 mirrors this time Smiley
http://rapidshare.com/files/130246387/011.rar.html
http://depositfiles.com/en/files/6615285
http://w13.easy-share.com/1700929117.html
http://www.filefactory.com/file/0961e5/n/011_rar
pass: sonsivri
nice time Smiley
Logged
manish12
Active Member
***
Offline Offline

Posts: 163

Thank You
-Given: 44
-Receive: 39


« Reply #5 on: February 26, 2009, 01:09:59 13:09 »

does any one test it , if so what is the name of phone used , i read the doc , there are c35 s25 nokia 6250 , but with which one exactly ?
Logged
iphone
Active Member
***
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #6 on: January 16, 2011, 05:31:26 17:31 »

Wink as I promise at your req  Roll Eyes
new reupload:
Filename:     011.rar
Size:    1.10 Mb
Date:    2008-07-17 05:13:08
4 mirrors this time Smiley
http://rapidshare.com/files/130246387/011.rar.html
http://depositfiles.com/en/files/6615285
http://w13.easy-share.com/1700929117.html
http://www.filefactory.com/file/0961e5/n/011_rar
pass: sonsivri
nice time Smiley

Hi zokij, can you please re-upload!

Tqvm.
Logged
pirvcb
Active Member
***
Offline Offline

Posts: 105

Thank You
-Given: 147
-Receive: 245



« Reply #7 on: January 16, 2011, 08:24:41 20:24 »

@ iphone
rapidshare link is still working. if you need another host drop me a note....
Logged
oldseadog
Guest
« Reply #8 on: September 01, 2011, 11:06:08 11:06 »

i joined sonsivri very recently. saw this thread just now. links are dead - naturally, they r all very old.
could u plz reupload ?  thanx in advance.
Logged
koky
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 149
-Receive: 157


WWW
« Reply #9 on: September 01, 2011, 12:44:32 12:44 »

only for few days

http://dl.dropbox.com/u/1334266/SMS%20Box.zip

please advise me when you have downloaded the file
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC