SO PLEASE DONT TRY THIS :)
THANKS TO EVERYONE WHO COMMENTED, I LEARNED A LOT
I am not an engineer, just an experimenter and hacker and prototyper etc, so, thanks to people who know a lot more than I do, I learned that this is not safe to use
Have you ever wondered how you can use a remote control to dim your own lights, to control a window fan, or to regulate the heater?
Here's a simple circuit using Arduino that makes this possible!
It uses ONLY two electrical components.
This is recommended for someone who has some experience with Arduino and electronics.
As with anything that uses AC wall power, this could be dangerous if done hastily.
Done carefully, it could also be really simple and fun.
NOTE: This can only be used to dim a unit that runs off of a transformer-based power supply, ie something that doesn't run off of 120 V, but 12, 24, or 48 Volts.
Step 1: MATERIALS
Solder iron, wire strippers, breadboard or perf board, wires, 9V battery, IRF730 transistor, bridge rectifier, Arduino, infrared detector (like this one), SONY universal remote control (like this one)