140 likes | 155 Views
بسم الله الرحمن الرحيم. An_najah National University Faculty of Engineering Computer Engineering Department Graduation Project In Control of Lighting Systems. Lighting System. Supervised By: Eng.Ashraf Armoush Prepared By: Samer Mustafa Alsaid Mohanned Tahseen Salameh.
E N D
بسم الله الرحمن الرحيم An_najah National University Faculty of Engineering Computer Engineering Department Graduation Project In Control of Lighting Systems
Lighting System Supervised By: Eng.Ashraf Armoush Prepared By: Samer Mustafa Alsaid Mohanned Tahseen Salameh
Introduction • Lighting System Control consists of a control system through a computer, and also by using PIC controller, and lights to control with it. • In our project we take a building of eight floors as an example. • We represent each floor as a LED, And we control the light of each floor separately from others
Objectives • Showing an automatic programmable way for lighting the floors in a building . • An expected floors in the building will switch off and switch on in a given time. • Energy saving…to save electrical power from being wasted.
Hardware Specification • PIC16F877 • LCD • LEDs, for specifying the floors • SP232ACP • Oscillator • Buttons • Capacitors, Resistors • Regulator
Software used • PIC C Compiler( To write the program to receive data and time from the PC Program and control through it in the hardware and LEDs). • Visual C++ programming (MFC)(To write the program required to send data and time to the PIC)
Schematic Diagram • Thisdiagram in the previous page specify the connections with the PICin every pin which make the hardware understood. • The PIC connects with eight LEDs and the LCD to make a relation between lighting the floors and showing the results in the LCD ( number of floors that switched on or off and the current time every minute.
The LEDs are connected with the PIC that are work in a programmable way in lighting the floors as a systematic method • The LCD will show the current time, and the number of the floors which lighted or switched off to give complete information about the building lighting in every minute
The Mechanism of the work • We insert the start time, stop time for each LED in the PC program • We Open the serial port • We transmit these data through the serial port • We close the port
Cont. • The PIC receives these data • Storing these data in the EEPROM of the PIC • We apply the functions in the PIC program on these data • The output will show in the LEDs that are on after a given time, or off in a given time
PIC Working • The work of the PIC is receiving data from the PC , and stores it in EEPROM with applying some functions on these data to switch on and switch off some LEDs, and displaying the time ,when floors lighted, and when floors switched off that will be shown in the LCD.
Finally………… • Thanks for all: Project Supervisor Eng. Asharaf Armoush And so Dr. Loai Malhees Dr. Raed Alqadi