Peernix.com
Articles, projects, notes and resources

RF Remote Mains

After completing the previous project, which could locally or remotely control DC power through the use of PWM, I started to think about methods to control AC, or mains power. This, of course, presents a new set of challenges. First of all, the single transistor used to switch DC previously cannot be used. Second, we cannot use the simple and compact linear regulator we used to provide low voltage for logical operations.

RF remote mains circuit design

These are the two main challenges faced when attempting to create a remote alternating current switch. There are, of course, easy ways around these challenges. To switch AC on and off, we can use a mechanical relay. Using this method, we cannot achieve power manipulation like in the case of PWM with DC switching. This could be achieved with phase-angle control using a thyristor or the like, but for this project, simple on and off control will be sufficient.

Relay switching circuit

To drop the line AC voltage for use in logical circuit operations, a small switch-mode power supply with an output voltage of perhaps 5V could be used. However, this would be unnecessarily complex and costly for this application. A capacitive dropper circuit can be used instead, which has a smaller footprint and is both less expensive and less complex. The circuit will, however, be mains-referenced, which isn't an issue here, as the circuit will be contained in an isolated enclosure.

The final decision to make was how to remotely control the circuit. An infrared receiver was used in the last circuit, but because this circuit needs to be isolated, and because these types of switches are connected to mains power cords that are hidden from view, it was decided that radio frequency would be used. A 433MHz module was selected, as there was some familiarity with its use in previous projects.

RF remote control project

The circuit board was designed to fit inside an enclosure that previously housed a similar device, which was missing its remote control. Using this enclosure also provided adequate isolation protection from mains voltages without any additional design effort. An RF remote control was also designed, powered by a coin-cell battery. The ATtiny85 microcontroller was used in both circuits for the logical operations.