SMS To Moving Message Display With An 8051: Technology Workshop Craft Home Food Play Outside Costumes
SMS To Moving Message Display With An 8051: Technology Workshop Craft Home Food Play Outside Costumes
Table of Contents
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
http://www.instructables.com/id/SMS-to-Moving-Message-Display-With-an-8051/
Author:Muzammal Baig
Computer Engineer, Electronics Professional
This can be quite useful e.g. installed at backside of a classroom the principal can commnicate with the teacher without disturbing the class. I know you are quite
intelligent and will find even better uses.
The photo (that I created using MS paint) is just a representative of the final look of the thing because I did not take any photos or videos of the project at the time I built
it.
Because the message enters the the controller (AT89C52) using the built in asynchronous serial port so it can come from any source off course including the SIM300Z.
First of all the design is to be entered in some schematic capture program. Although I directly built this one (i.e. without any schematiccapture) I usually use ORCAD10
capture for the purpose and have especially made a schematic for this instructable.
1. Two large vero / strip boards for the assymbly of the circuit
2. An AT89C52 (infact any µ-controller with enough IO lines and a serial port) as the main computer
3. One serial EPROM AT93C46B to hold the number from which we recieve the SMS
4. One SIM300Z or copmatible TTL GSM Modem.
5. A programmer for the AT89C52
6. 7 Nos. ULN2803 buffer IC to drive the rows and columns of the display.
7. 6 Nos of (2SA683) PNP transistors to drive the rows
8. 8 Nos 5 × 7 (cathode column) or 5 nos 8 × 8 LED matrix displays giving us the 40 columns.
9. One 7805 regulator for the µController
10. I gave the GSM modem its own battery so a regular mobile phone battery will be needed too.
11. Soldering equipment
12. A PC with a serial or USB port (to configure the MODEM)
13. The list goes on ............ ;-)
It should be downloadable at this step. But this being my first instructable, I don't know whether PDF files can or cannot be attached. So i have uploaded it to the
filehosting website too and here is the link. The Schematic in PDF format
Still just in case the link does not work here is the address: http://www.filehosting.org/file/details/616354/SCHEMATIC1%20_%20PAGE1.pdf
copying and pasting it in the address bar of your browser should do the trick.
File Downloads
http://www.instructables.com/id/SMS-to-Moving-Message-Display-With-an-8051/
Step 2: The Program
Well I made the choice of the AT89C52 because of its cheap price and the fact that it has a built in RS232 compatible UART. The GSM modem here used (the SIM300Z)
communicates through a standard serial port.
My Algorithm required a master number to send the SMSs so that unauthenticated use of the display can somewhat be proteced.
The program has been written in the C51 language using a KEIL µVision2 IDE.
I have delibrately not included the hex / bin file beacuse then where is the fun? Besides hex files can't be modified.
All the files are maximum documented inside so open them and try to make some sense out of the embedded comments.
File Downloads
Connect the modem to PC. using a USB to TTL or Serial to TTL gadget commonly available for arduino.
Power it up.
Send at least the following AT commands to it using a terminal software. (I use Hyperterminal)
1. [AT+IPR=9600] set the communication baud rate to 9600bps to match with our µC.
2. [AT+CMGF=1] for setting the message format to text (default is binary)
3. [AT+CNMI=1,1,0,0] for making it send all recieved SMS directly to the serial port (by default it stores them and only alerts)
4. [ATE0] Sets serial port echo to OFF(default is ON) so it disturbs us only when a message or call comes in.
5. [AT&W] Write down this configuration pemanently.
There is huge amounts of information on the WEB about the AT commands. Do not hesitate in learning.
Build the hex or bin file using the three provided .C files (you'll need a keil IDE or similar software tool)
Check and double check power connections of the board. (Wrong connections can damage any thing)
Plug in the microcontroller keep the DEFAULTS jumper inserted and Power up.
A moving Message saying "WAITING A MESSAGE FROM "NEW PHONE NUM " should appear.
Try sending some text messages of your own. If the modem was properly configured the messages will show on the display.
to set a master number type a message like $+923211234567 make sure the number is 13 digit long including the + sign. if your country uses a different length you will
need to modify the code (thats why i gave you the code). once a master number has been properly set messages coming only from it will go on display and all others will
be discarded.
Anyhow you may never like to set a master and any one knowing the number in the GSM modem may be allowed to send a message. This can be achieved using the
DEFAULTS jumper.
http://www.instructables.com/id/SMS-to-Moving-Message-Display-With-an-8051/
Related Instructables
ARDUINO AS A
How to Interface 8051
16X2 LCD with Making
PROGRAMMER RFID Based Electronic code Getting started Prop Bomb
8051 - CHEAPEST Home Security with a 8051 Count Down
Microcontroller? lock using 8051
PROGRAMMER System Using Microcontroller micro-controller Timer - Project
by Electronics IN THE WORLD 8051 by by Yoruk Geek #1 by
by ashoksharma
Hub by TAPAN respiduino ProjectGeek
MOJIDRA
Advertisements
Comments
1 comments Add Comment
http://www.instructables.com/id/SMS-to-Moving-Message-Display-With-an-8051/