Smart Bus: Seat Counter

You might also like

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

SMART BUS

ABSTRACT
The purpose of the project is to help the long distant bus travelers Smart bus consist of
two major units
1.
2.

Counting the number of seat available


Wireless controlled door open and close

Seat counter
Seat counter will display the number of seats available inside the bus and it will be displayed at
the entrance of the bus
Wireless controlled door open and close
Wireless controlled dc motor is used for opening and closing of doors. which will allow the
passengers to exit the bus.
Long distant travelers face so many problems like rush, over load Our project SMART BUS
overcomes these problems. The SMART BUS consists of two major parts vacant seat display,
wireless door control using dc motor.
The number of seats available will be displayed at the entry door of the bus. So that, who are
waiting for the bus can easily identify whether the seats are fully occupied or not. Two infrared
sensors are used to sense the incoming and outgoing of people and hence to calculate the
vacancies.

BLOCK DIAGRAM

IR
SENSOR

LOGIC

(ENTRY)
IR
SENSOR

CIRCUIT

DISPLAY
DRIVER

(EXIT)
IR RECIVER
IR
TRANSMITT
OR

SEVEN
SEGMENT
DISPLAY

CONTROL CIRCUIT

DC
MOTOR

Circuit and working


1.vacant seat counter part
Fig. 1 shows circuit of the difference counter, built around four ICs, for use between
entrance and exit doors. Switch S1, which is an SPDT switch, together with gates N1
and N2 of CD4011 (IC4) generates a pulse for incrementing counter CD40192 (IC1).
CD40192 is a BCD pre-settable up/down (bidirectional) counter. The counter moves
up or down with the positive clock edges applied to its corresponding pin 5 (clock
up) or pin 4 (clock down).
When you press S1, its pole comes in contact with its terminal 3, which is connected
to pin 5 of IC4. When you release S1, its pole returns to its original position at
terminal 1. Thus, for every action of pressing and releasing switch S1, there is an
increment in display DIS1 till 9. Pressing switch S3 momentarily resets the counter
to 0. Switch S2 is also an SPDT switch that works exactly like switch S1, but it is
used for decrementing the count in DIS1. Switch S2, together with gates N3 and N4
of IC4 generates a pulse for decrementing the counter in IC1.
The counter can be expanded to display more digits through the output pins 12 and
13 of IC1, if needed. High-level signal on pin 14 (reset) clears all internal triggers.
That is, when switch S3 is pressed momentarily, IC1 is reset. Also, resetting occurs
through capacitor C7 whenever power is switched on.
The outputs of IC1 are decoded by CD4511 (IC2), which has internal 4-bit latch,
decoder and output drivers. The internal latch is always enabled because pin 5 (LE)
is connected to ground permanently. The outputs of IC2 drive common-cathode 7segment display LTS543 (DIS1). Since pin configurations may be different for the
other displays, always check their datasheets before use. Resistors R5 through R11
are usually in the range of 120 to 470 ohms, depending on the type of DIS1. Here,
we have used 330-ohm resistors. Power supply of the circuit is built around linear
regulator 7805 (IC3). The input voltage is applied to connector CON1 and can be AC
or DC in the range 9-15V.
2. wire less control of door
First part is the IR trnsmittor and IR reciver .The there 4 input pins for this l293d, pin 2,7 on
the left and pin 15 ,10 on the right as shown on the pin diagram. Left input pins will regulate
the rotation of motor connected across left side and right input for motor on the right hand
side. The motors are rotated on the basis of the inputs provided across the input pins as
LOGIC 0 or LOGIC 1.In simple you need to provide Logic 0 or 1 across the input pins for
rotating the motor.
Lets consider a Motor connected on left side output pins (pin 3,6). For rotating the motor in
clockwise direction the input pins has to be provided with Logic 1 and Logic 0.
Pin 2 = Logic 1 and Pin 7 = Logic 0 | Clockwise Direction

Pin 2 = Logic 0 and Pin 7 = Logic 1 | Anticlockwise Direction


Pin 2 = Logic 0 and Pin 7 = Logic 0 | Idle [No rotation] [Hi-Impedance state]
Pin 2 = Logic 1 and Pin 7 = Logic 1 | Idle [No rotation]

MINI PROJECT

ABSTRACT

Submitted by,
BATCH NO :4
Amal v.Nath
Ammu G

You might also like