- on Microcontrollers
- Published in issue 7/2008 on page 53
The Gentle Touch
Consumer appliances these days hardly ever have a proper mains switch. Instead, appliances are turned on and off at the touch of a button on the remote control, just like any other function. This circuit shows how a device (as long as it does not draw too high a current) can be switched on and off using a pushbutton. The approach requires that a microcontroller is already available in the circuit, and a spare input port pin and a spare output port pin are required, along with a little software.