enerlogic Energy Smart Office Control System GROUP 4 0606038 Orchi Hassan 0606039 Tanvir Ahmed 0606044 Lutful Kabir 0606051 Syed Shakib Sarwar 0606057 Tanjib Atique
Project Description Development of a microcontroller based feedback control system for automatic operation control of basic electrical appliance for an industry, commercial or residential building. The system controls the appliances based on the desired room condition, outside condition, number of people in the room and available power.
DESIGN FEATURES Automatic Temperature Control Light Control Function according to available Voltage Level Occupancy Sensing Fire/ Over Heat Alarm
DESIGN APPROACH
HARDWARE and SOFTWARE Used Purpose 1 MikroC Pro for AVR Microcontroller code 2 Extreme Burner AVR Code burning 3 ISIS 7 Professional Simulation 4 ARES 7 professional PCB Layout Component Name Specifications 1 MicroController AtMega32L 5V supply, 40Pins 2 Oscillator Crystal External -8MHz 3 Temperature Sensor DS18B20 -55oC-128oC 4 Transformer Center Tapped Xf 220V-12V/24V 5 Motor Driver IC L293D - Motor DC Gear Motor 12V 6 LDR 100Ω-2MΩ 7 LED 5V LED Red,Green,White 8 Potentiometer 470KΩ,100KΩ,33KΩ,10KΩ 9 FAN DC Fan 10 MOSFET IRF 640 11 LCD 2Line Display 12 Resistor Various Values 13 Capacitor
DESIGN PROCEDURE : Step One : Placement Of Components Temperature Sensor Light Sensor Occupancy Sensor Window Sensor Transformer Motor Motor Driver IC LCD Display
1. Temperature Sensor Logic Heater Window Fan AC ALARM T<32oC On Off 32oCT<34oC 34oC<T<38oC 38oC<T<48oC 48oCT<50oC Tin>50oC
2. Light Sensor
3. Door and Window Sensor
4. Transformer Center Tapped : 220V-12/12-24V
5. Motor 12 V Dc Gear Motor
6. Motor Driver IC : L293D
7. LCD Display LINE DISPLAY Inside Temperature Ti Line 1 Outside Temperature To Line 2 No Of People Inside(1 Char-When enters/leaves) % Power Appliance Condition
Step 2 : Circuit Simulation and Design
Step 3 : PCB Design PORT SERVES AS PIN Name PIN No Connected To PORT A All Input PA0/ADC0 40 ADC (Power Level Detection) PA1/ADC1 39 Temperature(OUT) Sensor PA2/ADC2 38 Temperature(IN) Sensor PA3/ADC3 37 Light Sensor PA4/ADC4 36 Window Sensor PORT B All Output PB0 1 Motor Driver(In1-2)-For Motor PB1 2 Motor Driver(In2-7)-For Motor PB3 4 AC PB4 5 Heater PB5 6 Motor Driver(In3-2)-For Fan1 PB6 7 Motor Driver(In4-7)-For Fan2 PB7 8 Fire Alert PORT C LCD Connections PC3 – PC7 24-29 2Line LCD Display PORT D Occupancy Check By Interrupt (INT) PD2/INT0 16 Person In PD2/INT1 17 Person Out
3D Design of PCB
Complete PCB Circuit
DESIGN CONSIDERATIONS LASER Sensor Instead of IR Sensor
PWM (Pulse Width Modulation) DC Gear Motor Instead of DC Motor Transformer PWM (Pulse Width Modulation)
SYSTEM COST Total price of the system would be : 1620/= Component Price (Tk) Microcontroller AtMega32L 600/= MOSFET IRF 640 (4x30/=) 120/= Potentiometer (1X4/= + 3X4/= + 2X5/=) 30/= Crystal Oscillator 8MHz 8/= Capacitor (22p, 2.2m) = 2x3/= + 10/= 16/= LCD 2Line LCD Display 180/= Motor Driver IC (L293D) 80/= LASER (3X30/=) 90/= Temperature Sensor DS18B20 (2X150/=) 300/= LDR 4x4/= PCB Print 250/= Others Diode,Resistors,Rail,Base etc 100/= Total price of the system would be : 1620/= Component Price(Tk.) Motor DC Gear Motor 400/= Fan (20/=+40/=) 60/= Transformer Center-tapped 220V-12V 140/= Building the Room Wood,plastic,others Total Project Cost : 2990/=
SYSTEM OPERATION TEST As it was not possible for us to implement the control system in an actual office room we made a test room ourselves (as shown in the picture). (3 pictures) The program was made such that normal room temperature would serve as colder temperature when the heater would turn on and temperature was increased by a holding a soldering iron near the sensor. The occupancy check was done by placing our hands in front of the sensors to indicate people going in and out.
As it was not possible for us to implement the control system in an actual office room we made a test room ourselves (as shown in the picture). (3 pictures) The program was made such that normal room temperature would serve as colder temperature when the heater would turn on and temperature was increased by a holding a soldering iron near the sensor. The occupancy check was done by placing our hands in front of the sensors to indicate people going in and out.
The ADVANTAGES Automation Temperature Control Power Saving Eco-Friendly Versatile No Human Required Fire Detection In System Programming Low cost and Simple Appropriate for BUET
Possible Additions to the System Complete Fire Protection System Security System Presence Sensing Illumination Common Digital Clock Salary Calculation Decision Making Temperature Log
Thank You!