For development, I want to power the Teensy with the USB cable I use to program it.
When installed in the system, though, it is to be powered by external 5V.
And, in some cases, I'd like to both keep the USB plugged in, and power it externally, for diagnostics in-system.
And, sometimes, but not during the entire power cycle, there will be an on-board Raspberry Pi that communicates to the Teensy using USB. This is actually the main configuration -- Teensy is always-on, RPi is sometimes-on, RPI -> Teensy uses USB for communication.
My brilliant idea is to find a low-drop diode (Schottky most likely) that fits on the USB-VCC jumper pads, and solder it in there after cutting the jumper.
This would still power the Teensy (with a 0.25V drop on the 5V rail) from USB, but would not back-power USB from Teensy when the RPi is off.
Two questions:
1) Is there something wrong with this idea?
2) What's a good SMD diode that fits on those pads? It doesn't need to support more than whatever the Teensy draws (100 mA is fine?); I will never USB power the Teensy when anything else is drawing from the 5V rail.
I'm most importantly looking for the right footprint! Some diodes I find are 0.6x0.3mm (which is really small!) and 1.0x0.5mm (which seems like a better fit) -- then they suddenly jump to 4mm, which seems too big.
Isn't there something that's 1.6mmx0.8mm? That seems like it'd fit just right!
Also, wouldn't it be cool if the Teensy added such a diode in parallel with the jumper already, so that when the jumper is cut, it already works?
When installed in the system, though, it is to be powered by external 5V.
And, in some cases, I'd like to both keep the USB plugged in, and power it externally, for diagnostics in-system.
And, sometimes, but not during the entire power cycle, there will be an on-board Raspberry Pi that communicates to the Teensy using USB. This is actually the main configuration -- Teensy is always-on, RPi is sometimes-on, RPI -> Teensy uses USB for communication.
My brilliant idea is to find a low-drop diode (Schottky most likely) that fits on the USB-VCC jumper pads, and solder it in there after cutting the jumper.
This would still power the Teensy (with a 0.25V drop on the 5V rail) from USB, but would not back-power USB from Teensy when the RPi is off.
Two questions:
1) Is there something wrong with this idea?
2) What's a good SMD diode that fits on those pads? It doesn't need to support more than whatever the Teensy draws (100 mA is fine?); I will never USB power the Teensy when anything else is drawing from the 5V rail.
I'm most importantly looking for the right footprint! Some diodes I find are 0.6x0.3mm (which is really small!) and 1.0x0.5mm (which seems like a better fit) -- then they suddenly jump to 4mm, which seems too big.
Isn't there something that's 1.6mmx0.8mm? That seems like it'd fit just right!
Also, wouldn't it be cool if the Teensy added such a diode in parallel with the jumper already, so that when the jumper is cut, it already works?
Last edited: