Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 38 of 38

Thread: confused again. Cutting VIN from VUSB - Teensy 3.0

  1. #26
    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:



    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:


  2. #27
    Junior Member
    Join Date
    Feb 2014
    Posts
    6
    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?

  3. #28
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    920
    FYI, this would solve the problem too.

  4. #29
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,785
    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).

  5. #30
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    920
    Michael,

    Since you are the first customer I hope it works as advertised! Please let me know if you have any trouble.

  6. #31
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,785
    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.

  7. #32
    Junior Member
    Join Date
    Jan 2015
    Posts
    3
    Trying to understand why the cut has to be done between those two pads.....
    Click image for larger version. 

Name:	teensyPads1.jpg 
Views:	220 
Size:	48.6 KB 
ID:	3434
    I may be wrong but I would suggest to cut as indicated on the following schematic view:
    Click image for larger version. 

Name:	teensyPads2.jpg 
Views:	311 
Size:	77.0 KB 
ID:	3435

    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.
    Click image for larger version. 

Name:	teensyPads3.jpg 
Views:	192 
Size:	175.5 KB 
ID:	3436

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

    Just my 2 cents bright idea.

  8. #33
    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??

  9. #34
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,834
    First pic in preceding POST #26 shows where to cut the trace on the bottom of the Teensy. It is also shown on the reverse of the Teensy card.

  10. #35
    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?

  11. #36
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,834
    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.

  12. #37
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,325
    Quote Originally Posted by Reefhermit View Post
    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.

  13. #38
    All is good . . . Old age, bad eyes and too much pot��

    Just kidding on the last one!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •