Name : Ahmad Syahmi Bin Samsudin
ID : 51216112119
Microcontroller and Interfacing (BEB33204)
LO2-BO2
Part A :
Proposal
a. System operation
Indoor light dimmer is one of development of a
microcontroller-based system. For this project Keil
uVision 4 has been selected as the software to write and to compile the C code.
The C coding will assembly in the Proteus software to test the schematic
diagram of the circuit. As this project has been selected, the input and output
of indoor light dimmer hardware in the system is not too complicated to
interface with the main system.
The main system used in this project is the starter board, silicon labs toolstick850-B-SK MCU and the system input and output system been selected are digital I/O system,
ADC system, Pulse Width Modulation (PWM) technique and HV system.
Digital system I/O in this project is dimmer as input
to control output (brightness LED lights). ADC system is to control transducer
(variable resistor) where the transducer is an analog device. HV system applied
because the whole system indoor light dimmer uses high voltage exceeding 5 volts
where IC 8051 MCU can accommodate 5 volts only. PWM is an important technique
in this dimmer light system for the pulse duty cycle where it can be controlled
either in ascending or descending order to control the brightness or dimness of
the light.
The whole system starting from the transducer as input
interfacing with IC 8051 MCU. Then PWM will control the brightness of the LED
light and gloom.
b. System block diagram
c. Input/output requirements
1. Input requirement
a. Digital I/O system – LED and transducer
b. Analog system – Transducer (variable
resistor)
2. Output requirement
a. HV system – 5 to 12 Volts supply to whole
system
b. Pulse Width Modulation technique – control
the dimmer light
d. List of components
1. Silicon Lab Toolstick850-B-SK starter board (main component)
2. Variable resistor (transducer)
3. LED (output)
4. LM555 (PWM IC)
5. ADC0804 IC(analog IC)
6. ULN2003A/ULN2004A IC (AC/HV system)
7. Capacitors (22pF, 10uF, 4.7uF)
8. Resistors (100Ω, 8.2kΩ, 330Ω)
9. Pushbutton switch
10. Heat sink
11. Strip board
12. Turn-pins IC socket
13. Crystal 11.0592MHz
14. 9V batteries snap
