Hackable Raspberry Pi Power Switch with Remote Control
Give Raspberry Pi a consumer electronics experience - programmable Pi power switch controlled by a single button or Infrared remote.
So we decided to build our own.
Using as a Raspberry Pi Switch
Having an on board removable attiny85 mcu, the switch is both Smart and Hackable! Out of the box, the Pi Switch has the following features:
- Single button on/off or Infrared remote operation
- LED light to indicate power status
- Blinks twice when Switch receives power
- Turn On when Pi is on
- Blinks when waiting for PI to turn off
- Turn Off when Pi is off
- Use standard microUSB and USB female socket
Here's the operation sequence:
1. Press once to turn On
2. Press again to trigger shutdown of the Pi's Linus OS. The script is supplied.
3. Switch will monitor the Pi and wait for the Pi to be fully shutdown (halt state)
4. Once halt state is detected, cut the power to the Pi.
Using as a Attiny85 Arduino Development Board
Being Hackable, the firmware can be modified so that the switch can be used as a development board with these functions:
- One output to trigger relay
- One output to LED
- One analog input to detect voltage between 0-5v
- One input for push button
- One input for infrared receiver which I have the code to distinguish all the buttons in the remote included
- One output to trigger an external digital input (pull down)