DEVICES CONTROLLING THROUGH PC
Transcript of DEVICES CONTROLLING THROUGH PC
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
1/28
DEVICES CONTROLLING
THROUGH PC
C.SRIDIVYA
(07N71A0411)
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
2/28
OBJECTIVE OF PROJECT
The main objective of the project is
to describe a new economical solution
to home operating devices using pc.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
3/28
NEED OF PROJECT
Drastic increase in the usage of
computers.
Now a days more time is spent on
computers so it became necessary to
design a device for controlling
switches from computer.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
4/28
NEED FOR
EMBEDDED SYSTEMS
Flexibility
Ease of programming
Cost EffectiveTime complexity
Scenario Independent
Reliability
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
5/28
EMBEDDED
SYSTEMS
Embedded system is a combination of
hardware and software.
Embedded system is a specialized
system that is a part of larger system
or machine.
Embedded systems are electronic
devices that incorporate
microprocessors within their
implementations.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
6/28
REQUIRMENTS
AT89S52
Micro controller
P.C
Relays
ULN 2003
A.C devices
Tool : keil microvision
Platform : windows
Language:Embedded c
HARDWARE COMPONENTS SIMULATION
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
7/28
BLOCK DIAGRAM
A
T8
9
S
5
2
RS232PC
RELAY
RELAY BULB
MOTOR
KEY BOARD
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
8/28
SCHEMATIC DIAGRAM
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
9/28
POWER SUPPLY
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
10/28
TRANSFORMER
Output Waveform of transformer
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
11/28
RECTIFIER
Output of the Rectifier
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
12/28
SMOOTHING
Fig Smoothing action of capacitor
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
13/28
REGULATOR
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
14/28
Transformer + Rectifier + Smoothing + Regulator:
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
15/28
Of all the 8-bit micro controller available in the market
the main answer would be:
It has 8kb on chip flash memory which is just sufficient for our
application. The on-chip flash ROM allows the program
memory to be reprogrammed in system or by conventionalnon-volatile memory programmer.
Moreover ATMEL is the leader in flash technology in todays
market place and then using AT89S52 is the optimal solution.
SPECIFIC FEATURES:
Systems using these may be earlier to implement due to large
number of internal features
These are also faster and more reliable.
WHYAT 89S52 ?
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
16/28
AT89S52 MICRO CONTROLLER
FEATURES
4.0V TO 5.5V Operating Range
Fully Static Operation :0 Hz to
33Mhz 32 Programmable i/o lines
256*8 bit internal Ram
Three 16 bit timers/counters
low-power idle and power-downmodes
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
17/28
MICRO CONTROLLER PIN DIAGRAM
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
18/28
SERIAL COMMUNICATION
Computer transfers data in 2 ways :
parallelserial
Serial data communication uses 2 methods:
synchronous
Asynchronous
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
19/28
RS-232
. A "Space" (logic 0) will be
between +3 and +25 Volts.
2. A "Mark" (Logic 1) will be
between -3 and -25 Volts.
3. The region between +3and -3 volts is undefined.
4. An open circuit voltage
should never exceed 25
volts. (In Reference to GND)
5. A short circuit currentshould not exceed 500mA.
The driver should be able to
handle this without any
damage.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
20/28
MAX 232
Operates With Single 5-V Power
Supply
Lin Bi CMOS Process TechnologyTwo Drivers and Two Receivers
30-V Input Levels
Low Supply Current . . . 8 mA Typical
Meets or Exceeds TIA/EIA-232-F and
ITU
Recommendation V.28
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
21/28
MAX 232 CIRCUIT
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
22/28
ULN DC MOTOR DRIVER
PIN DIAGRAM OF ULN-2003
Seven darlington per package
Output current 500ma per
driver
Output voltage 50v
Transient protected outputs
FEATURES OF ULN-2003
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
23/28
RELAY
Relay is an electrically operated switch.
Relays switch connections are usually contains
COM
NC
NO
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
24/28
ADVANTAGES OF RELAYS
Relays can switch AC and DC.
Relays can switch high voltages.
Relays are better choice for switching large
currents.
Relays can switch many contacts at once.
Relays can be used to implement boolean logic
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
25/28
KEIL VISION
Vision3 is an IDE (Integrated Development Environment) that helps you
write, compile, and debug embedded programs. It encapsulates the following
components:
A project manager.A make facility.
Tool configuration.
Editor.
A powerful debugger.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
26/28
PROBLEMS WITH EXISTING SWITCH
SYSTEM
Electrocution
Time wastage
Friction
Bad switch control
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
27/28
CONCLUSION
The DEVICES CONTROLLING THROUGH PChas been achieved successfully usingmicrocontroller unit.
This work is recommended to be used in industries,
large firms manufacturing industries e.t.c. This is toprovide easy and safe use of the electrical devices.
We used PC BASED DEVICE CONTROLLING to achieve various device controlling like motor,bulb. For this fixed numbering is programmed by
using the microcontroller. And the program hasbeen successfully tested and verified for severalspecified loads.
-
7/30/2019 DEVICES CONTROLLING THROUGH PC
28/28
THANK YOU