confused again. Cutting VIN from VUSB - Teensy 3.0

Status
Not open for further replies.
Sorry for bumping this old thread but it has quite a high ranking in the search for the issue of using USB with an external power source. I wanted to document the approach I frequently use in case it is useful for others.

First I cut to seperate VIN and USB as shown by Russ:

teensycut.jpg


I then add a connection to the VUSB via, if it's for a breadboard project I'll add a pin like so:



(If it's for something more permanent, I'll attach my connection directly to the via or neighboring pad)

Then if I want to power it via USB I can just jump from VUSB to VIN:



If I want to power the teensy from an external source, I can just connect its VIN and ground pins to the appropriate source:

 
Does anyone have a surface mount diode part number that will solder directly onto the pads that connect VIN and VUSB?
Does anyone know what that footprint is?
 
If you are putting the Teensy in a breadboard/perfboard, you could always not use a pin on the AGND pin, and put one on VIN pin. Then you can use a simple wire to connect the two pins on the breadboard (or diode). The lipo shield mentioned above by onehorse should also work (mine is being delivered today).
 
Michael,

Since you are the first customer I hope it works as advertised! Please let me know if you have any trouble.
 
onehorse: ok, but I might not get to it until next week. Note, since I do things via breadboard/perfboard, I would be mounting it on top of the Teensy and not below it like the board is designed for. This means the LED might not be visible when mounted on the top, and I might need longer pins to mount the JST connector.
 
Trying to understand why the cut has to be done between those two pads.....
teensyPads1.jpg
I may be wrong but I would suggest to cut as indicated on the following schematic view:
teensyPads2.jpg

which is here on the board, between the two legs of the diodes ? Unless Paul has a better idea as I don't have a PCB picture without components on it to see clearly where to cut.
teensyPads3.jpg

In that manner whatever is connected to VIN or VUSB the highest voltage would be fed to VREGIN

Just my 2 cents bright idea.
 
Still confused after all this time . . . . I cut the trace as described above, reconnect the USB and the Teensy 3.2 continues to run and power the graphics display.

I did not connect an external power source (in my case a battery)!

What am I missing??
 
As I mentioned in my post I cut the trace per instructions. What I don't understand is why the Teensy is still powered. I don't want to connect the battery until I understand this. Is the Teensy still powered after this trace is cut and the USB Is plugged in without any connection to the Vin?
 
opps - wasn't sure which description of trace cutting you used - the post #32 is a bit off.

Unpowered - Do a continuity/resistence check across the two 'resolder' pads you cut between. If that is not open - you need to cut better. If cut the USB should not power the Teensy - and only talk to the Teensy with proper external power.

If cut through and connected to USB - you should see VIN on one pad and not the other against GND.
 
As I mentioned in my post I cut the trace per instructions. What I don't understand is why the Teensy is still powered.

I don't understand why either. Unless you've got some other power source connected somehow, or some strange setup none of us can anticipate, the only plausible explanation is the pads aren't really cut apart.


I don't want to connect the battery until I understand this.

I don't want you to connect that battery either. Something is definitely not right here. Batteries usually can deliver a *lot* of current if things are connected wrong.


Is the Teensy still powered after this trace is cut and the USB Is plugged in without any connection to the Vin?

Ok, I'm having trouble parsing this sentence.

I think you're asking what should happen, but it's pharased as a question about what's actually happening with your circuitry, which of course we're not able to see. We're working blind here over the internet, from only what you write. So clear language matters....

So, if your Teensy has a USB cable plugged in, and if there's no other power sources, only the Teensy and stuff like displays that consume but do not source power, then nothing should be able to get any voltage.

Look, there's only 4 wires in the USB cable. When VUSB is cut, that leaves only ground and the 2 data wires. On your PC side, those 2 data wires are tri-state with 15K resistors to ground when the USB port is inactive (waiting for a USB device). So all 3 wires are at zero volts. PCs detect when a USB device is connected due to a 1.5K resistors (which is inside the chip) connecting to 3.3V. When the PC sees the resulting 3.0 volts (due to the resistor divider of 1.5K and 15K), it begins trying to communicate. But before either data wire has voltage, the whole thing with all 3 wires just sits at ground. There's no voltage. Hopefully this long-winded description helps you understand how impossible it should be for your Teensy to get any voltage, to be able to run in any way, if the VUSB-VIN pads really are cut apart.

The only plausible explanations are the pads really aren't cut apart, or you've got something else supplying power to the Teensy, or something is connected *very* badly in ways I can't anticipate working blind like this over the internet, from only the words you've written.
 
Hi, hope this thread is not too old to re-bump. I had a similar problem where I cut the trace and somehow it still gets powered by the USB. I probed infinite resistance between the two pads I cut (and I also went over it a few more times with the knife just to be sure), but it still gets power from the USB. I've also "successfully" cut the trace before for so I'm not sure what happened here. I'm using a Teensy 3.2, Oshpark edition.

teensy32b_mod.jpg

What is the difference between 1 and 2? I think I cut 1. Was that incorrect? I wasn't sure which pad is what. My searches keep turning up https://www.pjrc.com/teensy/external_power.html which gives instructions for a different Teensy.

Is there any way to buy the Teensys with the trace cut? We're working on a project where we'll have a lot of them and I don't want to have to personally cut a hundred traces, especially since I couldn't seem to do it properly :rolleyes: And just to check- as an alternative to soldering diodes to the pads, I can use that VUSB pin right there and put a diode on my host PCB between VUSB and Vin, and another between battery (or in my case, regulator) and Vin?
 

The "C" pad is half of the giant & never-used 100 uF capacitor, which is shown in light gray on the schematic.

Ages ago, back in 2012 when Teensy 3.0 was designed, I thought we might someday wish to add a huge 100 uF capacitor for USB host mode. Back then, 100 uF usually came only in tantalum & aluminum electrolytic. Teensy 3.1 & 3.2 continued this design, even though we never actually used that capacitor.

Finally, Teensy 3.6 added support for USB host and has a 100 uF capacitor. In recent years, 100 uF has become affordable and commonly available in ceramic. On that board, we also have a current limiter chip, which allows the 100 uF cap to used without causing too much trouble for USB device mode. A 100 uF capacitor should not be used without that chip.

But the Teensy 3.2 board still has an unused place to solder a (larger tantalum type) capacitor. That's what the "C" pad is.
 
ah hah. yes, this was exactly the info I was looking for, and now I see the other pad for the 100 uF. Also glad that my problem had such a simple explanation.

Thanks everyone!
 
for other dummies

teensy.jpg

Between the ancient picture of a prior generation teensy with a schottky diode surface soldered, my inadequate ability to read circuit diagrams and general stupidity, I have struggled with fat fingers to solder the diode needed to jump the cut trace for a LONG time. Looking more carefully at the implications of post #26 above it finally struck me that Paul had, in fact, made it EASY.

I'm sure all the smart people have known this for years, but for people like me, I thought the picture (which I think is relevant to all the more recent teensies) might be worthwhile.

The other thing I'd say, again obvious to all the smart people, is that if you load the blink sketch you can check that you've cut the trace and that you've bypassed the cut with the schottky diode.
 
...

The other thing I'd say, again obvious to all the smart people, is that if you load the blink sketch you can check that you've cut the trace and that you've bypassed the cut with the schottky diode.

Always good to test load a sketch first - simple blink - maybe adding a simple Serial.print on blinking to see it is fully connected.

Question: with the diode pin in 5V ... how would it get powered?
 
Status
Not open for further replies.
Back
Top