ZakKemble / SmartPowerBankKeepAlive

Keep USB power banks alive when powering low-power projects with this pulsed constant current sink USB module.
https://blog.zakkemble.net/smart-power-bank-keep-alive/
24 stars 2 forks source link

Power Banks with QC3/4 or PD #1

Open DirtyEngineer opened 4 years ago

DirtyEngineer commented 4 years ago

Power Banks with QC3/4 or PD would potentially feed 9-20v into the Attiny if an appropriate device was connected and called for the increased voltage. Possible solution would be to add a 5-20v input regulator between vbus and the Attiny to protect it if this case was to occur.

ZakKemble commented 4 years ago

Oh good point! Though, for now I think I'll leave the regulator out since the kind of devices the module will be attached to are unlikely to be QC/PD compatible, but I'll add a warning incase someone tries it anyway.

ZakKemble commented 4 years ago

And I just thought, if the module needs to be able to handle 20V, then that's 2W of heat dissipation from the MOSFET if the current is set to 100mA. That's too much for the DMP1045U used at the moment (and maybe your fingers too), so it will need a much larger one. The MCP6L01 op-amp won't like 20V at its input either. It will need quite a few changes to make it safe with QC/PD.