Many powerbanks automatically turn off after a few seconds, when the current becomes too low.
To prevent from turning off, use this PCB parallel to the power supply.
It pulls about 250 mA every 10 seconds for 3 seconds. You can change this times in the code.
Only for use with 5V!
Only for use with 5V! The maximum current through the PCB is 5 A.
## Compiling
...
...
@@ -14,19 +14,7 @@ Install avr-gcc and type a simple "make" to compile.
## Programming
You can program the ATtiny with every AVR compatible ISP-programmer. To save space, there is no programming connector on the board. You have to solder wires on the ATtiny:
Pin 8 - VCC
Pin 4 - GND
Pin 6 - MISO
Pin 5 - MOSI
Pin 7 - SCK
Pin 1 - Reset
You can program the ATtiny with every AVR compatible ISP-programmer. To save space, there is no programming connector on the board. You have to solder wires on the bottom side.
Install avrdude. Edit the programmer options in the Makefile, then type "make install" to flash.