Professional Documents
Culture Documents
ABSTRACT
practice. Manufacturer has received a lot of attention recently for very good
economic reasons.
recess are operated manually. After every class, one employee is engaged
bell.
INTRODUCTION
This Project takes over the task of ringing of the bell in colleges. It
replaces the Manual Switching of the Bell in the College. It has an Inbuilt
Real Time Clock (PCF 8583) which track over the Real Time. When this
time equals to the bell ringing time, then the relay for the bell is switched
ONN.
The Bell Ringing time can be edited at any Time, so that it can be
used at Normal Class Timings as well as Exam Times. The Real Time Clock
used to control all the Functions, it get the time through the keypad and store
it in its Memory. And when the Real time and Bell time get equal then the
LITERATURE REVIEW
electromagnet.
Principle
coil. The coil becomes an electromagnet, attracting the metal strip. This
moves the clanger to hit the bell/gong, but also breaks the circuit. The coil is
no longer a magnet, so the clanger moves back. The circuit is thus restored.
AC electric bells do not have interrupting contacts and their coils are
the frequency of voltage that they are powered by. Lack of contacts makes
Some electric bells have two cups which generate different tones.
When the hammer goes in one direction, it hits one cup, when it moves
back, it hits another cup. The sound of such two-tone electric bells is more
pleasant.
Applications
Two early applications of the electric bell were the telephone and
doorbell. Early telephones used electric bells to indicate that there was an
the external door of a dwelling or business. Though still in use, the electric
bell mechanisms in both telephones and doorbells now compete with non-
When the doorbell button is depressed, the plunger is drawn into the
solenoid and strikes a gong; a shading coil on the solenoid prevents the
plunger from vibrating at the same frequency as the power supply. When the
button is released, a spring retracts the plunger which then strikes a second
wired to the back door and only strikes one gong, allowing front or rear door
callers to be identified.
Component List
Transistor BC547
Relay 12v
LCD
Crystal 32.876
Keypad
Transformer 09 750mA
LED
Resistor 2.2K, 1K
• The 28-pin devices have three I/O ports, while the 40/44-pin devices
have five
• The 28-pin devices have five A/D input channels, while the 40/44-pin
Figure 1-1 and Figure 1-2, respectively. The pinouts for these device
families are listed in Table 1-2 and Table 1-3. Additional information may be
downloaded from the Microchip web site. The Reference Manual should be
Peripheral Features:
postscaler
C™(Master/Slave)
• Parallel Slave Port (PSP) – 8 bits wide with external RD, WR and CS
Block Diagram
Pin Diagram
GENERAL DESCRIPTION
data are transferred serially via the two-line bidirectional I2C-bus. The
written or read data byte. Address pin A0 is used for programming the
The built-in 32.768 kHz oscillator circuit and the first 8 bytes of the
RAM are used for the clock/calendar and counter functions. The next 8 bytes
FEATURES
• 24 or 12 hour format
• Slave address:
– READ: A1 or A3
– WRITE: A0 or A2.
Block Diagram
FUNCTIONAL DESCRIPTION
power-on reset circuit. The first 16 bytes of the RAM (memory addresses 00
The memory addresses 01 to 07 are used as counters for the clock function.
month (four year calendar) and weekday are stored in a BCD format. The
timer register stores up to 99 days. The event counter mode is used to count
pulses applied to the oscillator input (OSCO left open-circuit). The event
contents of all counters are strobed into capture latches at the beginning of a
read cycle. Therefore, faulty reading of the count during a carry condition is
By setting the alarm enable bit of the control/status register the alarm
register a dated alarm, a daily alarm, a weekday alarm or a timer alarm may
be programmed. In the clock modes, the timer register (address 07) may be
register is set. A timer alarm event will set the alarm flag and an overflow
condition of the timer will set the timer flag. The open drain interrupt output
is switched on (active LOW) when the alarm or timer flag is set (enabled).
Control/status register
free access for reading and writing via the I2C-bus. All functions and
Pinning
General Description
HiFi and other solid state electronic equipment Although designed primarily
will allow over 10A load current if adequate heat sinking is provided Current
limiting is included to limit the peak output current to a safe value Safe area
dissipation If internal power dissipation becomes too high for the heat
sinking provided the thermal shutdown circuit takes over preventing the IC
from overheating.
not necessary to bypass the output although this does improve transient
response Input bypassing is needed only if the regulator is located far from
For output voltage other than 5V, 12V and 15V the LM117 series
Features
the second circuit (the secondary). This effect is called mutual induction.
flow in the secondary winding of the transformer and transfer energy from
the primary circuit to the load. In an ideal transformer, the induced voltage
in the secondary winding (VS) is a fraction of the primary voltage (VP) and
primary turns:
grids. All operate with the same basic principles, although the range of
designs is wide. While new technologies have eliminated the need for
Resistors 2.2K, 1K
proportion to the current, that is, in accordance with Ohm's law: V = IR. The
resistance R is equal to the voltage drop V across the resistor divided by the
resistive wire, and various compounds and films, and they can be integrated
into hybrid and printed circuits. Size, and position of leads are relevant to
circuits.
various quantities, most of which have names, and articles, of their own: the
metal oxide varistors drop to a very low resistance when a high voltage is
can vary by a factor of 1012 with mechanical pressure applied; and so on.
Transistor BC 547
Because the controlled (output) power can be much larger than the
systems. Some transistors are packaged individually but most are found in
integrated circuits.
small signal applied between one pair of its terminals to control a much
transistor can control its output in proportion to the input signal; this is
called an "amplifier". Or, the transistor can be used to turn current on or off
The two types of transistors have slight differences in how they are
and emitter. A small current at base terminal can control or switch a much
transistor, the terminals are labelled gate, source, and drain, and a voltage at
circuit. Charge will flow between emitter and collector terminals depending
on the current in the base. Since internally the base and emitter connections
and emitter while the base current exists. The size of this voltage depends on
dielectric. This field can be used to store energy, to resonate with a signal, or
electrical circuits, but any two conductors linked by an electric field also
indicates that more charge may be stored at a given voltage. In practice, the
dielectric between the plates passes a small amount of leakage current. The
series resistance), and the dielectric has an electric field strength limit
systems.
Theory of operation
contained and isolated, with no net electric charge and no influence from an
external electric field. The conductors thus contain equal and opposite
charges on their facing surfaces, and the dielectric contains an electric field.
The capacitor is a reasonably general model for electric fields within electric
circuits.
between them:
of incremental changes:
charge on each conductor causes a voltage of one volt across the device.
Crystal 32.876
extending in all three spatial dimensions. The scientific study of crystals and
The word crystal is derived from the ancient Greek word (krustallos),
which had the same meaning, but according to the ancient understanding of
the fundamental one and this one must be trapped by a LC pass–band filter.
device shaped into a thin, flat panel made up of any number of color or
monochrome pixels filled with liquid crystals and arrayed in front of a light
relieving the CPU of the task of refreshing LCD. In contrast the LED
numbers, symbols and some limited graphics. Interface is achieved via a bi-
summary
Government Polytechnic, Amravati 30
Scheduling of College Bell using Microcontroller
Interfacing of LCD
LED
light, but modern LEDs are available across the visible, ultraviolet and infra
forward biased (switched on), electrons are able to recombine with holes and
scence and the color of the light is determined by the energy gap of the
semiconductor. The LED is usually small in area (less than 1 mm2) with
reflection.
smaller size and faster switching. However, they are relatively expensive and
require more precise current and heat management than traditional light
sources.
such as indicators and automotive lighting. The compact size of LEDs has
allowed new text and video displays and sensors to be developed, while their
Construction of LED
Types of LEDs
cylindrical package (red, fifth from the left) is the most common, estimated
often the same as the actual color of light emitted, but not always. For
instance, purple plastic is often used for infrared LEDs, and most blue
devices have clear housings. There are also LEDs in SMT packages, such as
U1
+12vu LM7805C/TO220
2 1 3
+12vu IN OUT
4
GND
D1 R1
+
BRIDGE 4.7k
2
1 3 1
J1
+ C1
1 D2
470uF/16V
2
-
3 LED
4
2
CON4
So1 VCC
1 VCC
TEMP 2
R2
100E 1 RRST
2 VCC
2 So1 1k
3
1
R5 15E J6
C2 CON3 U2 1 2 12
+
11
32
1
So1 VCC 11
1uF 19 10
PSP0/RD0 LCD_11 LCD_14
20 9
+VE
+VE
PSP1/RD1 LCD_12 LCD_13
21 8
MCLR_
J3 PSP2/RD2 LCD_13 LCD_12
22 VCC 7
PSP3/RD3 LCD_14 LCD_11
1 27 6
PSP4/RD4 E E
2 2 28 R3 1.5K 5
RA0/AN0 PSP5/RD5 RS D3 LED
3 3 29 1 2 4
4 4 RA1/AN1 PSP6/RD6 30 RS
RA2/AN2/VREF- PSP7/RD7 D4 J5 3
5 5 1 2 LED CONT
RA3/AN3/VREF+ 2
6 6 1 VCC 1
RA4/TOCK1 R4 1.5K
J2 7 7 15 2
8 8 RA5/AN4/SS T1OS0/T1CK1/RC0 16 3
RE0/AN5/RD T1OS1/CCP2/RC1 CON12
1 9 9 17 4
PC_RXD 10 10 RE1/AN6/WR CCP1/RC2 18 5
2 J7
PC_TXD 11 RE2/AN7/CS SCK/SCL/RC3 23 6
3 1
12 SDL/SDA/RC4 24 7 VCC
SD0/RC5 2
25 8 CONT
TX/CK/RC6 TXD 3
CON3 CON12 26
RX/DT/RC7 RXD VCC
PIC16F877 J4
CON3
CON8
1
33 2
INT/RB0 34 3
VCC RB1 35 4
4MHz RB2
13 36 5
OSC1/CLKIN PGM/RB3 37 6
RB4 38 7
2
Q2 X1 RB5 39 8
BC557 C3 PGCLK/RB6
R6 40 9
33pF 14 PGDA/RB7 10
2 1 2
TXD 1 OSC2/CLKOUT
C4
10K 33pF
GND
GND
CON10
PC_RXD 1
1
12
31
R9
10K VCC
2
C6 2
D5
R7
1N4148 100uF 10K
1 RXD
R10
1 2 Q1
PC_TXD BC547
10K 2
R8
10K
WORKING
The main working of the project is based on real time clock ie PCF
protocols. In this protocol there are only two lines connected to the
microcontroller ie SCL (Serial Clock) and SDA (Serial Data). The start and
For the initialization of RTC, send the control word to the RTC bit by
bit serially. In start we edit the actual time in the RTC register. And then
scheduling register is used for schedule. In this RTC there are several
registers (eg. Hrs, min, sec, day, year, month). The alarm register is same as
this register. When we schedule the alarm register, it equals with the main
LCD 16x2 is used for editing time, scheduling and actual time
displaying. This LCD have 16 pins. First pin is used for ground, second is
for Vcc. Third is used for contrast control. Forth is for RS bit. Fifth is for
read/write bar, so we have connected fifth pin directly to ground. Sixth pin is
used for enabling data/command. Pin 7-14 is used for data/command bus. 15
and 16 pin is used for back LED. If RS bit is in high condition then LCD
treat as data and if RS bit is low LCD treat it as a command byte. Firstly, to
according the our application. Next command should be sent for location
selection in which we can display the data to that location. But the
Keyboard is used for editing the time which is directly connected with
For ONN/OFF the AC bell, the relay is used. Relay requires 12v. The
driving capability of the microcontroller and voltages is less than 12v relay
so we use the transistor for the driving of relay. When the microcontroller
pin gets high the relay becomes ONN and bell starts ringing. When pin of
microntroller gets low, the relay becomes OFF to stop the bell.
The power supply of the whole circuit is 5v and 12v for relay. For this
PCB DESIGN
INTRODUCTION
electronic circuit depends upon the layout and design of PCB. The PCB
The soldered point should be small enough so that any stray between these
points should not exist. Also high package density of components can
minimum stray. Also the track of the PCB, soldering points and components
mounting should be very correct and that will be of great help to success the
project.
layout, we used the PCB layout manufacturing by the Vega company with a
help of computerized equipment. We can not use readymade PCB for our
LAYOUT PLANNING:
board, before one can proceed further for the artwork preparation. This
LAYOUT SCALE:
Depending upon the accuracy required artwork produced
should be at 1:1 or 2:1 scale. Accordingly the size of the artwork will be
equal to four times or sixteen times of that actual PCB. The layout is best
LAYOUT SKETCH:
The end produced of the layout design is the pencil sketched
interconnection line (patterns) the layout should also include the information
on.
Bottom Layer
Top Layer
ARTWORK:
Preparation of artwork is considered as first step in preparation
polyester foil and tracing paper may be used. Basic methods of preparing
artwork are:
Mass soldering.
SOLDERING:
Soldering is a process used for jointing metal parts. It is necessary to
wetting of this surface with molten solder and cooling time for solidification
Mass soldering:
Dip soldering:
Wave soldering:
PRINTING OF PCB
The drawing so prepared has to imposed over the glass epoxy. Take a
PCB terminated sheet and cut the of required size of PCB by using hacksaw
place the glass epoxy plate sheet on a table, keeping the glass epoxy side on
rub away the dirt, grease and oxide wish a sand paper. Now keep carban
paper of the same size on PCB taking glass epoxy surface on the top carban
paper. Since the tracing paper is transparent you can now reproduce carbon
print over the PCB. After tracing the PCB layout now paint the tracks wish
the help of oil paint and brush, keep plate in open to dry. After the paint on a
copper side has dried, check the drawing carefully, excess paint should be
ETCHING OF PCB
In a tray, take water and mix a few tea spoons of ferric chloride
powder and few drop of HCL. Immerse/dip the PCB in this solution keep the
Reaction - 2FeC13+2Cu=2CuC12+Fe2Cl
Observe the changing color of copper surface. Take out the PCB from
dissolved in this solution wash the PCB wish water. After washing PCB,
remove the paint with a soft piece of cloth or cotton. Now the plate is what
nents. Drill the board by using hand drill or machine drill. Before inserting
mounting.
Now the next process is soldering. In this process, the leads of compo-
nents are joined/ soldered with the copper tracks of PCB. For this tussible
has 37% of lead and 63 % of zinc and is used because of its excellent drying
action. Its melting point is very low. It gives mechanically strong point for
inorganic solvent.
ADVANTAGES
2) The components used for the assembling of this circuit are very cheap
and are easily available in the market. Hence the initial cost of setting
4) Easy to install.
CONCLUSION
schools are carried out. The main disadvantage of this is one person is to be
keep alert for this. At the same time during that time he could not be engage
in another task.
will be operated automatically and the ringing of bell will start by its own
This circuit is simple to prepare and easy to install. We can say that it
REFERENCES
Books:
1. “Intel’s MCS 51 Data Book ”, Intel Inc.
Websites:
www.datasheet4u.com
www.wikipedia.org
www.google.com
www.sciencetoday.com
www.crutchfield.com
CONTENTS
1. ABSTRACT.....................................................................................................................1
2. INTRODUCTION............................................................................................................2
3. LITERATURE REVIEW..................................................................................................3
4. COMPONENT LIST & DESCRIPTION ........................................................................6
5. Circuit Diagram & WORKING......................................................................................35
6. WORKING.....................................................................................................................36
7. ADVANTAGES..............................................................................................................46
8. CONCLUSION...............................................................................................................47
9. REFERENCES...............................................................................................................48
10. CONTENTS...................................................................................................................49