Hard but soft power switch for Arduino

Posted on Feb 4, 2014

The power controller module used in the system takes input directly from a momentary switch and uses that to toggle a relay that passes mains power to the system’s transformers. The controller circuit operates at 12V and as I understand was chosen to allow a wider variety of fancy lower voltage buttons and power LEDs to be used. Getting the Arduino to act as a momentary switch (via transistors or relays) works fine for powering the unit down once settings have been saved. However, the actual physical power switch needs to work directly with the controller when the system is off, but talk only to the Arduino when the system is on. To do this, we decided to hook the power button up through a DPDT relay that is switched directly by the 5 volt supply.

Hard but soft power switch for Arduino
Click here to download the full size of the above Circuit.

This way, the button is connected to the power controller when the system is off (ie. no 5 volt power is present) and then once the system is on, the button is connected to the inputs on the Arduino. Since the relay physically switches the button between circuits, it doesn’t really matter that one circuit operates at 12 volts and the other at 5. In my schematic, I assume that the input pin on the Arduino has the internal pull up resistor activated. I also assume that the relay can be driven directly by the Arduino, which often isn’t the case. You will likely need to use a transistor to drive the relay. Note that thus far the circuit is untested and should be used at your own risk.

Leave Comment

characters left:

New Circuits



Popular Circuits

Adjustable Regulator
18 LED sequencer timer
Audio Power Amplifier Circuit
ATmega16 Line Follower Robot circuit diagram
make this 1kva 1000 watts pure sine
Im trying to repair a Samsung SCR-3000 DVR COMBO for my security
5V Regulated Power SupplyCircuit
Adjustable from 3 to 9V 100mA power supply circuit
Wideband high-frequency amplifier
Intelligent fire alarm telephone alarm circuit - finger circuit