Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

power supply LCD1

LM016L lcd
ARD1

heart beat sensor

VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
U1

E
1
AREF

1
2
3

4
5
6

7
8
9
10
11
12
13
14
13
PB5/SCK
12
27.0 PB4/MISO
RESET 11
~PB3/MOSI/OC2A
10
~ PB2/SS/OC1B
2 9
VOUT ~ PB1/OC1A
8
PB0/ICP1/CLKO

ATMEGA328P-PU
1121

DIGITAL (~PWM)
ANALOG IN 7
PD7/AIN1
3 LM35 6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3 ~ PD3/INT1
PC3/ADC3 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

ARDUINO UNO R3

arduino
temperature
1 U2 senosr

27.0 ground
VOUT
2
RF
RXD
VT52, VT100, ANSI
3 LM35
TXD

RTS
Xmodem, Ymodem, Zmodem
CTS

Ambulance unit : Figure -1

The vehicle unit installed in the vehicle senses the accident and sends the location of the accident to the
main server. The main server finds the nearest ambulance to the accident spot and also the shortest path
between the ambulance, acci-dent spot and the nearest hospital. The server then sends this path to the
ambulance. Also using this information the server controls all the nodes in the path of ambulance and
make it ON, which ensures that the ambulance reaches the hospital without delay. The architecture of this
system is shown in the fig 1.
ARD1 LCD1
power supply LM016L
lcd
U2
vibration sensor
1

27.0 AREF

VDD
VSS

VEE
13

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
PB5/SCK

E
2 12
VOUT PB4/MISO
RESET 11
~PB3/MOSI/OC2A

1
2
3

4
5
6

7
8
9
10
11
12
13
14
10
~ PB2/SS/OC1B
9
3
~ PB1/OC1A
LM35 8
PB0/ICP1/CLKO

ATMEGA328P-PU
1121

DIGITAL (~PWM)
7

ANALOG IN
PD7/AIN1
6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3 ~ PD3/INT1
PC3/ADC3 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

ARDUINO UNO R3

U1
RXD
gps
6 VT52, VT100, ANSI
SCK
5
SDA TXD
24AA00
RTS
mems sensor CTS
Xmodem, Ymodem, Zmodem

ground

gsm
RXD
VT52, VT100, ANSI
TXD

RTS
Xmodem, Ymodem, Zmodem
CTS

Above figure: vehicle unit figure -2

According to our system, every vehicle should have a vehicle unit. The vehicle unit consists of a vibration
sensor, controller, siren, a user interface, GPS system and a GSM module. The vibration sensor used in
the vehicle will continuously sense for any large scale vibration in the vehicle . The sensed data is given
to the controller.

The controller compares it with a threshold value which is an empirical value (for an accident) and if it
equals or exceeds that, then the controller automatically switches on a siren inside the vehicle. A
programmed timer is also triggered. In case of a minor accident, the passenger probably would not need
the service of the ambulance, and can there-fore switch off the siren before the timer counts to zero, by
resetting the entire vehicle unit through the user interface, which is connected to the controller. Or else,
if he is unconscious or fatally wounded and needs an ambulance, then the siren is left ON and when the
timer counts to zero, it would trigger both the GSM MODULE and the GPS SYSTEM inside the vehicle.
The GPS SYSTEM finds out the current position of the vehicle (latitude and the longitude) which is the
location of the accident spot and gives that data to the GSM MODULE. The GSM MODULE sends this
data to the MAIN SERVER whose GSM number is already there in the module as an emergency number.
The vehicle unit is shown in the fig 2.
EAST TRAFFIC LIGHTS

ARD1

NORTH TRAFFIC LIGHTS


AREF
13
PB5/SCK
12
PB4/MISO
RESET 11
~PB3/MOSI/OC2A
10
~ PB2/SS/OC1B
9
~ PB1/OC1A
8
PB0/ICP1/CLKO

ATMEGA328P-PU
1121

DIGITAL (~PWM)
SOUTH TRAFFIC LIGHTS 7

ANALOG IN
PD7/AIN1
6
A0
PC0/ADC0
~ PD6/AIN0
5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
A3
A4
PC2/ADC2
PC3/ADC3
~ PD3/INT1
PD2/INT0
3
2 RF SIGNAL
PC4/ADC4/SDA 1
A5 TX PD1/TXD RXD
PC5/ADC5/SCL 0 VT52, VT100, ANSI
RX PD0/RXD
TXD
ARDUINO UNO R3
RTS
Xmodem, Ymodem, Zmodem
CTS

WEST TRAFFIC LIGHTS

ABOVE FIGURE : TRAFFIC SIGNAL

The signal section receives the signal from ambulance section. As soon as the ambulance is detected by
the traffic signal, the signal comes to green automatically and the other signals turn red. It helps
ambulance to reach hospital without any traffic problem.
Server above figure:

The main server is the central brain of our project. It communicates as well as controls every part of the
system . The server objectives can be mainly classified into:

• FINDING THE NEAREST AMBULANCE TO THE ACCIDENT SPOT

• SENDING CO-ORDINATES TO THE AMBULANCE

• CONTROLLING THE NODES IN THE SHORTEST PATH

You might also like