Professional Documents
Culture Documents
Antisleep Alarm
Antisleep Alarm
Chapter: 1 Introduction
While actually giving in to our body’s natural wants such as sleep, we’re keeping the
balance beam in an upright and neutral position — generally a good thing to do. But
life comes and calls quite often, many times forcing us to put hunger, drowsiness, and
other basic human needs on the back burner in order to seal the deal and get the job
done.
So here’s the scenario, you’re sitting in your car getting ready for a big meeting that if
completed will net your company nice little multi-billion dollar deal. You’re supposed
to be going over your notes and preparing yourself for this staple achievement. But
instead, you find yourself doing the whole bobble head thing, getting dangerously to
the steering wheel with each and every bob. If only there were something to keep you
awake…
This circuit saves both time and electricity for students. It helps to prevent them from
dozing off while studying, by sounding a beep at a fixed time interval, say, 30
minutes.
If the student is awake during the beep, he can reset the circuit to beep in the next 30
minutes. If the timer is not reset during this time, it means the student is in deep sleep
or not in the room, and the circuit switches off the light and fan in the room, thus
preventing the wastage of electricity.
Students: Maybe they forgot the exam was tomorrow, maybe they were out
partying, or maybe they just waited until the last minute. In any case, college students
always have the need to burn the midnight oil. The problem is that it is extremely easy
to fall asleep in the midst of studying and before you know it, morning has come and
the exam is already over or you still haven't learned the material. If you don't want
that to happen, then keep this reliable anti sleep alarm at your side.
This circuit saves both time and electricity for students. It helps to prevent them from
dozing off while studying, by sounding a beep at a fixed time interval, say, 30
minutes.
If the student is awake during the beep, he can reset the circuit to beep in the next 30
minutes. If the timer is not reset during this time, it means the student is in deep sleep
or not in the room, and the circuit switches off the light and fan in the room, thus
preventing the wastage of electricity
2.1 Circuitry
The circuit is built around Schmitt trigger NAND gate IC CD4093 (IC1), timer IC
CD4020 (IC2), transistors BC547, relay RL1 and buzzer. The Schmitt-trigger NAND
gate (IC1) is configured as an astable multivibrator to generate clock for the timer
(IC2). The time period can be calculated as T=1.38×R×C. If R=R1+VR1=15 kilo-
ohms and C=C2=10 μF, you’ll get ‘T’ as 0.21 second. Timer IC CD4020 (IC2) is a
14-stage ripple counter.
Around half an hour after the reset of IC1, transistors T1, T2 and T3 drive the buzzer
to sound an intermediate beep. If IC2 is not reset through S1 at that time, around one
minute later the output of gate N4 goes high and transistor T4 conducts. As the output
of gate N4 is connected to the clock input (pin 10) of IC2 through diode D3, further
counting stops and relay RL1 energies to deactivate all the appliances. This state
changes only when IC1 is reset by pressing switch S1.
Chapter: 3 Relay
Srinivas Institute of Technology Page 4
AntiSleep Alarm for Student
3.1 Introduction
3.2 Working
A type of relay that can handle the high power required to directly drive an electric
motor is called a contractor. Solid-state relays control power circuits with no moving
Chapter: 4 Transistors
Srinivas Institute of Technology Page 6
AntiSleep Alarm for Student
4.1 Introduction
The transistor is the fundamental building block of modern electronic devices, and is
ubiquitous in modern electronic systems. Following its release in the early 1950s the
transistor revolutionized the field of electronics, and paved the way for smaller and
cheaper radios, calculators, and computers, amongst other things.
carriers that diffuse toward the collector, and so BJTs are classified as minority-
carrier devices.
4.2 Working
NPN BJT with forward-biased E–B junction and reverse-biased B–C junction
An NPN transistor can be considered as two diodes with a shared anode. In typical
operation, the base-emitter junction is forward biased and the base–collector junction
is reverse biased. In an NPN transistor, for example, when a positive voltage is
applied to the base–emitter junction, the equilibrium between thermally generated
carriers and the repelling electric field of the depletion region becomes unbalanced,
allowing thermally excited electrons to inject into the base region. These electrons
wander (or "diffuse") through the base from the region of high concentration near the
emitter towards the region of low concentration near the collector. The electrons in
the base are called minority carriers because the base is doped p-type which would
make holes the majority carrier in the base.
To minimize the percentage of carriers that recombine before reaching the collector–
base junction, the transistor's base region must be thin enough that carriers can diffuse
across it in much less time than the semiconductor's minority carrier lifetime. In
particular, the thickness of the base must be much less than the diffusion length of the
electrons. The collector–base junction is reverse-biased, and so little electron injection
occurs from the collector to the base, but electrons that diffuse through the base
towards the collector are swept into the collector by the electric field in the depletion
region of the collector–base junction. The thin shared base and asymmetric collector–
emitter doping is what differentiates a bipolar transistor from two separate and
oppositely biased diodes connected in series.
Chapter: 5 Diode
Srinivas Institute of Technology Page 9
AntiSleep Alarm for Student
The most common function of a diode is to allow an electric current to pass in one
direction (called the diode's forward bias direction) while blocking current in the
opposite direction (the reverse direction). Thus, the diode can be thought of as an
electronic version of a check valve. This unidirectional behavior is called rectification
and is used to convert alternating current to direct current and to extract modulation
from radio signals in radio receivers.
However, diodes can have more complicated behavior than this simple on-off action.
This is due to their complex non-linear electrical characteristics, which can be tailored
by varying the construction of their P-N junction. These are exploited in special
purpose diodes that perform many different functions. For example, specialized
diodes are used to regulate voltage (Zener diodes), to electronically tune radio and TV
receivers (varactor diodes), to generate radio frequency oscillations (tunnel diodes),
and to produce light (light emitting diodes). Tunnel diodes exhibit negative resistance,
which makes them useful in some types of circuits.
Chapter: 6 Switches
Chapter: 7 Resistor
V = IR
Resistors can be integrated into hybrid and printed circuits, as well as integrated
circuits. Size, and position of leads (or terminals), are relevant to equipment
designers; resistors must be physically large enough not to overheat when dissipating
their power
Chapter: 8 Capacitor
The effect is greatest when there is a narrow separation between large areas of
conductor, hence capacitor conductors are often called "plates", referring to an early
means of construction. In practice the dielectric between the plates passes a small
amount of leakage current and also has an electric field strength limit, resulting in a
breakdown voltage, while the conductors and leads introduce an undesired inductance
and resistance.
The capacitor is a reasonably general model for electric fields within electric circuits.
An ideal capacitor is wholly characterized by a constant capacitance C, defined as the
ratio of charge ±Q on each conductor to the voltage V between them:
Sometimes charge build-up affects the capacitor mechanically, causing its capacitance
to vary. In this case, capacitance is defined in terms of incremental changes:
There are two main advantages of ICs over discrete circuits: cost and performance.
Cost is low because the chips, with all their components, are printed as a unit by
photolithography and not constructed as one transistor at a time. Furthermore, much
less material is used to construct a circuit as a packaged IC die than as a discrete
circuit. Performance is high since the components switch quickly and consume little
power (compared to their discrete counterparts) because the components are small and
close together. As of 2006, chip areas range from a few square millimeters to around
350 mm2, with up to 1 million transistors per mm2
Chapter: 10 Conclusion
Srinivas Institute of Technology Page 16
AntiSleep Alarm for Student
This circuit saves both time and electricity for students. It helps to prevent them from
dozing off while studying, by sounding a beep at a fixed time interval, say, 30
minutes.
If the student is awake during the beep, he can reset the circuit to beep in the next 30
minutes. If the timer is not reset during this time, it means the student is in deep sleep
or not in the room, and the circuit switches off the light and fan in the room, thus
preventing the wastage of electricity.