Hi,
I've encountered a problem with the current iteration of my design, whereby the 5V LDO I'm using to drive a 7-segment display is dissipating too much heat and shutting down. I need ideas how to quickly correct the problem hopefully only by a slight modification to the PCB and not a complete redesign if possible.
I build a motorcycle gear display circuit that uses a Digistump Digispark Pro Arduino as a core component. It can drive a variety of LED-based gear displays including a single digit 7-segment display. In a previous iteration of the design, I used an outboard MCP1703-5002E LDO in a SOT223 package mounted on the PCB to provide the +5V rail used to drive the display. Voltage into the regulator was the 10V - 13.5V from the motorcycle electrics and the solution worked well. Any heat generated by the voltage drop across the LDO dissipated adequately through the PCB.
In a fit to add an additional display option, I replaced the outboard LDO with a current mirror, with the intention of using the inboard LD1117-5V LDO in an SO89 package integrated on the Digispark to drive the 7-segment display. This output is advertised to provide 5V with up to 500mA current. The 7-segment draws a maximum of 158mA worse case so I believed I had enough headroom to safely replace my regulator. To be clear, the reason I didn't keep the regulator was because I am imposing a limitation on board size of 5cm X 5cm and thus PCB real estate is limited.
Full Schematic of modified design for referenceTypical beginner move I ordered new PCBs without fully testing my new design. I'm finding that the LDO heats up and can thermally shutdown with the Digispark Vin at 12V. If I reduce the supply into the PCB to 9V, the LDO can handle the heat generated and the circuit works. I have been trying to come up with a way to reduce Vin to the Digispark or find another means to drive the 7-segment display without major surgery on the PCB. I've thought about a way to drop the voltage to the Digispark by using a resistor in series with Vin but feel that won't be the best solution. I've considered cutting the supply line to the 7-segment and soldering in an MCP1703 on the board's backside, feeding its output to the switch. Don't know yet how doable that is.
Can anyone advise me as to whether they can see a better quick fix? That, or tell me I have to go back to the drawing board. Thanks.