Anti collision bus with sms alert and distance alarm
Project synopsis
On
Anti-collision Bus with SMS alert and distance alarm
Submiited to:
Submitted by:
Introduction
Anticollision bus alert and distance alarm is our major project. In project we are making sms alert after collsion so that any rescue team can help bus passengers . we will use sensor to detect collision and after collision our Intelligent Control panel will send SMS on saved Nos. for MCU89s52. We will use ultrasonic detection for distance alarm. Our ultrasonic panel will detect distance and will give signal to buzzer circuit.
when any problem increases above the peak level.We will use AT commands to send sms from mobile.
VARIOUS STEPS OF PROJECT:
- POWER SUPPLY +5V
- MICROCONTROLLER AT89S52
- MAX232 CIRCUIT
- GSM MODEM
- Ultrasonic Circuit
- Buzzer Circuit
Pin no 40 is connected to the positive supply. In this project we provide a 5 volt dc power supply. This power supply is truly regulated power supply. Pin no 20 is connected to the negative supply. Here we supply a negative voltage on this pin. Crystal is connected to the pin no 18 and 19 of the microcontroller. Crystal provide a clock signal to run the vehicle and process all the internal requirement of the circuit.. For the regulated power supply we use ic 7805 as a regulator to provide a fix 5 volt power supply.
We will use GSM modem sm300 at 9600 baud rate.
GSM modem
This GSM modem is a highly flexible plug and play quad band GSM modem for direct and easy
integration to RS232. Supports features like Voice, Data/Fax, SMS,GPRS and integrated TCP/IP
stack.
Specifications for Fax
· Group 3, class 1
Specifications for data
· GPRS class 10: max 85.6 kbps(downlink)
· PBCCH support
· Coding schemes CS 1,2,3,4
· CSD upto 14.4 kbps
· USSD
· Non transparent mode
· PPP-Stack
Features
· Quad Band GSM/GPRS
850/900/1800/1900 Mhz
· GPRS multi-slot class 10/8
· GPRS Mobile station class B
· Compliant to GSM Phase 2/2+
o Class 4 (2W@850/900Mhz)
o Class 1(1W@1800/1900Mhz)
· Control via AT commands(GSM 07.07,
07.05 and enhanced AT commands)
· Operation Temperature(-20 deg C to
+55 deg C)
Specifications for SMS
· Point-to-point MO and MT
· SMS cell broadcast
· Text and PDU mode
Power Supply
· Use AC – DC Power Adaptor with following ratings
· DC Voltage : 12V
· DC Current : 1A
· Polarity : Centre +ve & Outside –ve
· Current Consumption in normal operation 250mA, can rise up to 1Amp while transmission.
Interfaces
· RS-232 through D-TYPE 9 pin connector, Serial port baud rate adjustable 1200 to115200
bps (9600 default)
· Stereo connector for MIC & SPK
· Power supply through DC socket
· SMA antenna connector
· Push switch type SIM holder
· LED status of GSM / GPRS module
Getting Started
· Insert SIM card: Press the yellow pin to remove the tray from the SIM cardholder. After
properly fixing the SIM card in the tray, insert the tray in the slot provided.
· Connect Antenna: Screw the RF antenna on the RF cable output provided.
· If voice call is needed, connect the mic and speaker to stereo sockets.
· Connect RS232 Cable: (Cable provided for RS232 communication) Default baud rate is
9600 with 8-N-1, no hardware handshaking. Cable provided has pins 7 and 8 shorted that will
set to no hardware handshaking. In you need hardware handshaking the pins 7-8 can be
taken for signaling.
o Pin 2 is RS232 level TX out
o Pin 3 is RS232 level RX in
o Pin 5 is Ground
o Pin 7 RTS in (shorted to pin 8 in cable for no hardware handshaking)
o Pin 8 CTS out (shorted to pin 7 in cable for no hardware handshaking)
Connect the power Supply (9-12V) to the power jack. Polarity should be Center +ve and
outer –ve DC jack.
Network Led indicating various status of GSM module eg. Power on, network registration &
GPRS connectivity.
After the Modem registers the network, led will blink in step of 3 seconds. At this stage you
can start using Modem for your application.
Examples for send and receive SMS
For sending SMS in text Mode:
AT+CMGF=1 press enter
AT+CMGS=”mobile number” press enter
Once The AT commands is given’ >’ prompt will be displayed on the screen.
Type the message to sent via SMS. After this, press ctrl+Z to send the SMS.
If the SMS sending is successful, “ok” will be displayed along with the message number.
For reading SMS in the text mode:
AT+CMGF=1 Press enter
AT+CMGR= no.
Number (no.) is the message index number stored in the sim card. For new SMS, URC will be received
on the screen as +CMTI: SM ‘no’. Use this number in the AT+CMGR number to read the message.
BLOCK DIAGRAM
Serial InterfaceMAX 232 | |||
MCU 89s52 |
RS 232CONNECTOR |
CIRCUIT DIAGRAM
Component List
S.No. | Item | Quantity | Rate/Unit |
MCU 89C051 | 1 | 80 | |
GSM MODEM | 1 | 800 | |
IR sensor 5 mm. | 1 | 40 | |
Thermocouple | 1 | 40 | |
3.38 MHz. | 1 | 25 | |
Buzzer | 1 | 5 | |
Condenser MIC | 1 | 15 | |
Speaker 8 ohm | 1 | 30 | |
Relay 12v 100 ohm | 1 | 10 | |
Transformer 6v 500mA | 1 | 10 | |
Power lead | 1 | 20 | |
Push to On Sw | 4 | 1 | |
SOLDERING WIRE | 1 | 15 | |
SOLDERING IRON | 1 | 80 | |
FLUX | 1 | 45 | |
CONNECTING WIRE | 1 | 15 | |
RESISTENCES | 1 | .5 | |
CAPACITORS 1000µf | 1 | 2 | |
100uf,470uf | 2 | 3 | |
DIODES | 2 | 2 | |
LED | 1 | 1 | |
Crystal 12MHz | 1 | 25 | |
IC BASE | 1 | 30 | |
IC 7805 Volt. Reg | 1 | 15 | |
TRANSFORMER 9 V | 1 | 30 | |
RELAY 9V | 1 | 15 | |
MILER CAP | 1 | 15 | |
CRYSTAL 3.579545 | 1 | 20 | |
HOLDER | 1 | 10 | |
PLY BOARD | 1 | 150 | |
TAPE ROLL | 1 | 45 | |
Copper Clad Board | 1 | 150 |
Bibliography:
www.projects.info