As I was saying earlier I had almost finished my DIY projector - Microcontroller based FAN & LAMP controller.
May be helpfull in giving peace of mind , by monitoring any hotspots getting developed and helping to stop some
catastrophic situation of FAN failure , overheat etc...
My collegue helped me in writing the required code. Code tested in the PROTEUS Simulator - yet to test in reality.
MICROCONTROLLER BASED LAMP & FAN CONTROLLER:USES SINGLE CHIP SOLUTION USING PIC 16F877A Microchip's microcontroller.
1. Has a sensor (sensor1) (in the form of LM35 placed near or on the lcd PANEL) connected to the PIC16F877 which will monitor the LCD panel temperature and accordingy switch on/off the power to the 12V DC fan using the mosfet - Mosfet is selected to avoid annoying relay switching sound during operation.
2. Has a sensor (sensor2) (in the form of LM35 placed near or on the hot component of the lcd Control board) connected to the PIC16F877 which will monitor the LCD Controller hot component temperature and accordingy switch on/off the power to the 12V DC fan using the mosfet - Mosfet is selected to avoid annoying relay switching sound during operation.
Thsi fan has to be positioned on the top of the hot component identified after running the LCD controller for sometime.
3.Warn Buzzer and Warn LED will beep and flash (alarm) of any of the temperature of LCD panel or the LCD controller (the hot component) will go beyond set limit -this a second limit assuming the cooling system
fails.
4. And also after some time out period if the alarm continues ,the LAMP relay will switch offthe power (and also stop
counting lamp hours until power cycled).
5. Will show all the sensor temperature , lamp hours , setting menu etc..
on a 16x2 LCD module.
6.Has inbuilt "Lamp hours" time counter,counts and keeps the number of hours the lamp was on (wire this circuit parrallel to
the LAMP, so when ever this circuit is powered on the 'lamp hours' counter accumulates.
Thsi data is stored in the internal EEPROM hence non-volatile.
7. Has a LDR (Light dependent Resistor) circuit which will monitor the light output (will not measure)and because of the
voltage dip the lamp switches off then it will cut the lamp power and waiting for a cooling time before it switches on the
lamp again. As I understand hot-re-strickeing is bad for lamp.
8. Has onboard ICSP (in circuit serial programmer header ) for handling firmware changes.
9. Has 4 navigation buttons for setting the parameters.
10.All the required external connections like lamp relay, switches, buzzer, LEDs,sensors etc.. are
connected using SIL/DIL connectors - this will be flexible for people to utilize this design
for their own needs.
11. Has HEARTBEAT LED blinking to show the controller is watching the temperature status of the sensor
- gives peace of mind from a distance.
3D rendering of my FAN & LAMP controller PCB - size is 93mm x 80mm small size
Click to view attachmentNow I have finished the PCB routing , and going to give it to PCB house for making this 2 sided PCB.
Expected to get the PCB in 3~4 days time , then I will stuffit and make it up and see does the code runs properly.
I am sure it might need fine tuning a lot.
Lets see once the PCB comes and I assemble........