Hey @Gordon and @allObjects,
I just tried this out on a breadboard, and while it does work, my LEDs (multiplexed 7 segments) are very dim when powered by the coin cell only. Without the diode between the coin cell and the microcontroller the LEDs are nice and bright. I have 5 other LEDs each wired to an IO pin and they are slightly dimmer too. When powered by USB though they all light up perfectly.
I bought 1N4007 diodes, the shop didn't have any schottky diodes. Will the LEDs be fine if I use a schottky diode? Thanks.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey @Gordon and @allObjects,
I just tried this out on a breadboard, and while it does work, my LEDs (multiplexed 7 segments) are very dim when powered by the coin cell only. Without the diode between the coin cell and the microcontroller the LEDs are nice and bright. I have 5 other LEDs each wired to an IO pin and they are slightly dimmer too. When powered by USB though they all light up perfectly.
I bought 1N4007 diodes, the shop didn't have any schottky diodes. Will the LEDs be fine if I use a schottky diode? Thanks.