This project is a save shutdown for the Adafruit Power Boost 1000c. You can use this circuit to delay the power-off, after the user switched the device off. You can detect that and execute a shutdown on e.g. your Raspberry Pi. The available time depends on the RC-time-constant (current values 1MOhm, 22uF -> 1MOhm * 22uF = 22s). You can try other values with the (lt-)spice simulation in simualtion/
, depending on your needs. Even though I'm an electrical engineer im not a master in circuit design, which means that there might be a better way to do this (potentially with less electrical components). If you have any suggestions create a pull request or open an issue.
The circuit was created with Fritzing (https://fritzing.org/). Download and install it, to edit the files and generate gerber files. If you just use a breadboard, you will be fine with the following preview.
The shutdown delay is approx. 22s, which matches the RC time contant of (1MOhm * 22uF =) 22s.
The shutdown delay is approx. 12s with the RC time contant of (1MOhm * 22uF =) 22s. The blue waveform is the second terminal of the switch, the yellow is the 5V output of the Adafruit Power Boost 1000c.
The arrow colors math the waveform colors from the oscilloscope. The red wire is connected to Bat+, black to Bat-. The 1MOhm resistor on the left side of the right picture is used to detect the button switch (here for oscilloscope, but can also be used for e.g. Raspberry Pi GPIO).
PowerBoost 1000C Fritzing Component:
- https://github.com/adafruit/Fritzing-Library
- It is included in
lib/
. The folder also includes theirLICENSE.txt
.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.