This device can be used to remotely control the speed of an AC fan and to switch it on or off. The remote control is a cheap NEC Format remote, usually supplied with small DVD players. Three buttons are used to command the circuit. The UP key increase the fan’s speed while the DOWN key decrease it. The ENTER key is used to switch on or off the fan. The unit provides 10 way speed control from 0 to 9. The current speed is displayed in a seven segment display. The yellow LED on the PCB indicates the power status of the load. If the load is switched off using the R/C then the LED will also be switched off.
In the Video below you can check out the project in action.
The main parts of the circuit is labeled below.
- The seven segment display used to show the current speed level.
- The TSOP1738 sensor is used to pick up commands from remote control.
- The Yellow LED indicates the power status of the load.
- OUT – Here the AC load is connected in series. Tested on 220v 50Hz AC line.
- IN – Power supply from a 12-0-12 transformer is applied here.
- MCU – ATmega8 AVR 8 bit Microcontroller.
- SWITCH – Manual Switch used to operate the unit without the remote control.
Fig.: Atmel AVR Based Remote Controlled Fan Regulator.
Fig.: Remote Controlled Fan Regulator Wiring Diagram.
Fig.: Transformer with plug.
Construction of Remote Controlled Fan Regulator.
You can make the circuit as per the schematic on any general purpose PCB. To ease your job we are giving the PCB Layouts too, so that you can make the PCB at your home using the Etching Method. You may also have the PCBs made from any fabrication house too. To further easy the job and save your money we have already made the PCBs from a good fabrication house and they are available for purchase at very low cost.
Start assembly process by first soldering the jumper1. Then you can mount the resistors. After that solder the diodes, remember to properly orient the diodes. They are polar and don’t work if installed other way round. Then solder the IC U4 and U2, this time too take care of the orientation. The small round circle on the IC package marks the PIN number 1.
Fig.: Proper IC Installation.
After that you can solder the ceramic disk capacitors, the 16MHz crystal, 7805, Triac, TSOP Sensor, Display. Finally Connect the 12-0-12 Transformer and apply power. The display should show ’0′. Then you can press the up/down key in remote control to adjust the speed. The display should change accordingly. This ensures that the circuit is running properly.
Its time to connect a real AC load. Connect a 220V 100W incandescent lamp (NO CFL Please). As shown in the above wiring diagram. Replace the fan with bulb because its easier to test.
|Never Touch any part of the circuit when AC load is connected. It can give you a fatal shock !!!|
Now you can can use the remote control to increase/decrease the lamp’s brightness using the remote control. You can also switch it on and off using the ENTER key.
If the unit does not respond to the remote control signals then look for the following.
- AVR ATmega8′s Fuse BIT is programmed to
- HIGH=0xC9 LOW=0xFF
Fig.: This Hobby Remote Control Works Great!
Hobby Remote Control (NEC) is available from our online store.
Part list for Remote Controlled Fan Regulator.
|01||330 ohm resistor (9 Nos)||R2-R9, R14|
|02||4k7 Resistor (2 Nos)||R1,R11|
|04||39 ohm Resistor||R13|
|06||22pF Ceramic Disk Capacitor (2 Nos)||C1,C2|
|07||0.1uF Ceramic Disk Capacitor 250V(1 Nos)||C3|
|08||0.1uF Ceramic Disk Capacitor (2 Nos)||C5,C6|
|09||470uF 50v Electrolytic Capacitor||C4|
|10||16 MHz Crystal Half Size||X1|
|11||1N4007 Diode (6 Nos)||D2,D3,D4,D5,D6,D7|
|12||LED 5mm Any Colour||D1|
|13||MCT2E Opto Coupler||U4|
|14||MOC3021 Opto Triac Driver||U2|
|15||ATmega8-16PU General purpose 8 bit MCU||U1|
|17||7805 Voltage Regulator||U5|
|18||Common Anode Display||DISP11|
|19||TSOP1738 IR Sensor||X2|
|20||220V AC to 12-0-12 Center Tapped Transformer 500mA minimum.|
|21||Hobby Remote Control (NEC)|
Fig.: Schematic (Click To Enlarge/Print).
PCB For Remote Controlled Fan Regulator.
PCBs can be purchased from PCB section of our online shop.
Fig.: Remote Controlled Fan Regulator PCB.
Note: Other files that are part of the eXtreme NEC decoder must also be added to the project. They can be downloaded from links given below.
Buy complete kit including PCB, Parts, Programmed MCU, Transformer and Matching IR Remote Control Unit.
eXtreme Electronics highly recommends EasyEDA for circuit and PCB design.