Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2016, 05:26:03 17:26


Login with username, password and session length


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

Posts: 330

Thank You
-Given: 196
-Receive: 617


Nice time :)


« on: May 25, 2008, 09:53:19 09: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, 01:50:45 01:50 by zokij » Logged
abc
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 22
-Receive: 3


« Reply #1 on: July 07, 2008, 07:10:56 07:10 »

plz reupload it
thanx
Logged
localcrack
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 62
-Receive: 20



« Reply #2 on: July 07, 2008, 10:07:34 22:07 »

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

Posts: 330

Thank You
-Given: 196
-Receive: 617


Nice time :)


« Reply #3 on: July 09, 2008, 09:10:23 21:10 »

please re upload it

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

Posts: 48

Thank You
-Given: 10
-Receive: 95


« Reply #4 on: July 10, 2008, 12:25:05 12:25 »

   
Someone has this project in  C code?
Thanks
Logged

zokij
Senior Member
****
Offline Offline

Posts: 330

Thank You
-Given: 196
-Receive: 617


Nice time :)


« Reply #5 on: July 17, 2008, 01:52:17 01: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
***
 Muted
Offline Offline

Posts: 164

Thank You
-Given: 44
-Receive: 39


« Reply #6 on: February 26, 2009, 02:09:59 14: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
***
 Muted
Offline Offline

Posts: 168

Thank You
-Given: 115
-Receive: 10


« Reply #7 on: January 16, 2011, 06:31:26 18: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
V.I.P
Junior Member
*****
Offline Offline

Posts: 77

Thank You
-Given: 120
-Receive: 213



« Reply #8 on: January 16, 2011, 09:24:41 21:24 »

@ iphone
rapidshare link is still working. if you need another host drop me a note....
Logged
oldseadog
Guest
« Reply #9 on: September 01, 2011, 12:06:08 12: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
***
 Warned
Offline Offline

Posts: 157

Thank You
-Given: 83
-Receive: 115


WWW
« Reply #10 on: September 01, 2011, 01:44:32 13: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