Have you ever wanted to integrate Arduino with your household appliances, but you didn't want to go through the trouble of using a relay? This method allows you to control any appliance that uses IR remote control!
STEP 1Build the receiver circuit first. DAT pin connects to 3. VCC connects to 5V and GND connects to GND.
STEP 2Upload the receiver code into the Arduino. The code can be found at the bottom of the page.
STEP 3Point your fan's remote at the receiver. Press the ON button. The data from the signal will be captured and recorded on the Serial Monitor. Copy the data down with Ctrl C.
STEP 4Switch out the receiver code with the transmitter code. Remember to keep the data you copied on hand. Then swap the receiver to a transmitter in the circuit. The wiring is the same. Paste your data into the code (in place of the line that says YOUR_DATA_HERE).
STEP 5Upload the new code into the Arduino and point it at the fan. You can now turn the fan on and off! You can clone other IR remotes with this method as well!
Comments
Please log in or sign up to comment.