To create something that will be used on a daily
This project controls a fan from an infrared
universal remote. (The couch potato's dream
machine) One of
goals for this project was for a microcontroller to be running my code
a day, 7 days a week. Knowing that creates a great deal of
front panel contains an IR modulated receiver, a red T1 and
3/4 LED, and a manual start and stop button.
program a RCA universal remote, I follow the following
procedure: Hold down on the DVD button, type in 2062 on the
let go of the DVD button. When the universal remote is setup
pressing a "1" on the remote will turn the fan on for one hour (the
front panel LED will blink once), pressing a "2" on the remote will
turn the fan on for two hours (the front panel LED will blink twice),
etc. Oh, pressing the power button on the remote will turn on
indefinitely and pressing the power button again will turn the fan off.
1: This is an overall view of the system; the red rectangle
left of the screen is a 6-inch ruler.
processor is an AT90S2313 from Atmel.
It has 2K bytes of in system programmable flash, 128 bytes of SRAM and
bytes of EEPROM. The processor is running at 4 MHz in this
The front panel lexan text was created in AutoCAD 97 light.
was then printed out on stick backed paper and then
being cut to the size of the enclosures front panel, the wax paper was
off the back. A piece of developed film was applied to the
IR receiver fits to act as an IR filter. The
laminated-paper-developed film sandwich was then stuck to the sheet
the front of the project box.
The circuit board seen in Figure 2 was salvaged from a different
modified to work with this project. The 120VAC Transformer
from a clock radio. The Bridge Rectifier, fuse holder,
all began life in different appliances. (The fuse holder came
fence charger, I bet my uncles cows are happy about that!)
2: The lid is off of the project. The major
portions of the
project has been in use for about a year and a half now. An
version of the software would sometimes randomly turn off the
bug was found and software was updated. The current revision
software is 1.4. The
commented, so I’ll leave it to you to figure that out.
is all of the Fun stuff:
let me know
if you are building the project. I’d
happy to answer any questions or comments you have.
My email is firstname.lastname@example.org
(remove the “ee”’s
from the userid.
this code, schematic and information at your own risk.
I assume no responsibility for its use.
in mind that this project deals with
120V line power, if not handled properly, line voltage can cause injury
Last Modified: January
Return to Home page
style="font-family: "Times New Roman";">