Close

Automatic shutdown

A project log for The B-button v2.0

A media player with skipping songs kept in mind. Actually, that's its main feature.

casplantjecasplantje 05/04/2016 at 13:190 Comments

I've added a wire and 2 resistors(10k and 22k) to get ~3.3v from the battery controller's power input so the raspberry pi can sense when the power supply is disconnected and automatically shut down.

I've added automatic shutdown to the button daemon and set a delay of 60s so it won't shut down in case of temporary power failure(or when you need to move the device to a different power socket).

Discussions