M4a1x/TPS5430

Add V_out status LED

M4a1x opened this issue · 2 comments

M4a1x commented

It would be nice to have a status LED at the output with a low current (thinking of ~2mA) that shows if the output is working. Since the regulator maintains a constant 1.221V in stead-state operation, this could be used to control the current through an LED as described here:
https://electronics.stackexchange.com/questions/87713/driving-a-led-from-a-wide-ranging-input-voltage
and
https://electronics.stackexchange.com/questions/293062/how-to-achieve-constant-current-for-led-when-voltage-is-variable-in-mcu

M4a1x commented

After some consideration, this could work down to even 1.8V output if I use the input rail to power the LED and control the base of the transistor with the sense/feedback pin

M4a1x commented

After simulating my idea I implemented that in e024ccc
I hope this works :)
Closing. Making a new issue if it's not working.