Shop OBEX P1 Docs P2 Docs Learn Events
"Reverse" power flow in Arlo Power Supply — Parallax Forums

"Reverse" power flow in Arlo Power Supply

ChrisL8ChrisL8 Posts: 129
edited 2015-04-16 09:04 in Robotics
When I turn off the Arlo Power Supply, the 5 volt lines on the power supply continue to receive power.

It appears to me that the Activity Board is supplying power from the USB connection, through it's power "in" connection and that is making it out to the 5 volt line.

This seems dangerous to me. Is it really safe to run anything and everything on my 5 volt line from my computer's USB port via the ActivityBoard?

Is there a way to prevent this, either by modifying the Activity Board or the Arlo Power Supply?

I think someone else mentioned this before, but I couldn't find it or an answer.

Thank you.

Comments

  • David CarrierDavid Carrier Posts: 294
    edited 2015-04-13 12:39
    ChrisL8,

    The five-volt regulator in the Propeller Activity Board will let power from the board's internal five-volt power rail leak out through the barrel jack connector, which in your case is connected to the Power Distribution Board.

    The connection between USB power and the five-volt rail on the Propeller Activity Board is heavily protected, so if there is a short or too much power draw, the Propeller Activity Board will disconnect the five-volt power rail from USB power, before it draws more current than the USB port has allotted it.

    If you would like to completely prevent the Propeller Activity Board from drawing any USB power, under any conditions, you can either connect it through a non-powered USB hub, or you can change a few EEPROM settings within the FT231X USB-to-serial converter. If you'd like to do the latter, let me know and I'll write up the instructions.

    — David Carrier
    Parallax Inc.
  • ChrisL8ChrisL8 Posts: 129
    edited 2015-04-13 13:49
    The connection between USB power and the five-volt rail on the Propeller Activity Board is heavily protected, so if there is a short or too much power draw, the Propeller Activity Board will disconnect the five-volt power rail from USB power, before it draws more current than the USB port has allotted it.

    That is very good to know!
    If you would like to completely prevent the Propeller Activity Board from drawing any USB power, under any conditions, you can either connect it through a non-powered USB hub, or you can change a few EEPROM settings within the FT231X USB-to-serial converter. If you'd like to do the latter, let me know and I'll write up the instructions.

    Yes, I would like to know, please send me the instructions. Thank you!
  • Duane DegnDuane Degn Posts: 10,588
    edited 2015-04-13 14:31
    I added a switch between the PAB and the Arlo Power Distribution Board. I turn the switch off before connecting the PAB to a USB cable.

    As I mentioned here, when the Arlo Power Distribution Board is off but connected to the PAB, my USB current meter said the PAB drew 650mA of current. I'm sure most of this current was being pulled from the Arlo Power Distribution Board.

    I personally think the Arlo Power Distribution Board's design should be changed to prevent this. If someone were to leave their robot connected to a PC for an extended period, the continuous 650mA current may be enough to damage the PC. I know I personally leave Propeller boards connected to my PC via USB for days at a time.
  • David CarrierDavid Carrier Posts: 294
    edited 2015-04-13 15:49
    ChrisL8
    Here are the instructions to change the Propeller Activity Board USB powering settings using a Windows computer:
    1. Download, extract, install, and open the FT_PROG utility from: http://www.ftdichip.com/Support/Utilities/FT_Prog_v3.0.56.245.zip.
    2. Connect the Propeller Activity Board.
    3. Press 'F5' or select 'Devices' then 'Scan and Parse'.
    4. The device should show up in the 'Device Tree' pane. If it does not, repeat the previous step.
    5. Expand the 'FT EEPROM' and 'Hardware Specific' branches
    6. Select the 'CBUS Signals' branch
    7. To disable powering from USB chargers, change C0 from 'BCD_Charger#' to 'Tristate'
    8. To disable powering from a computer's USB port, change C1 from 'PWREN#' to 'Tristate'
    9. Press 'Ctrl+P' or select 'Devices' then 'Program'
    10. Click on the 'Program' button.

    If you disable powering from a computer's USB port, you will have to power the board separately while programming the Propeller microcontroller. To bring the board back to its original settings, Do the same, but set C0 to 'BCD_Charger#' and C1 to 'PWREN#'.

    — David Carrier
    Parallax Inc.
  • WhitWhit Posts: 4,191
    edited 2015-04-14 07:05
    This information is a great resource and should be with Arlo resources in a sticky.

    Thanks David and Duane and thanks for the great question ChrisL8!
  • ChrisL8ChrisL8 Posts: 129
    edited 2015-04-14 13:02
    Thank you very much David! This solved my issue completely. Now when I turn off the Arlo Power Supply, everything actually shuts off! Wonderful! :)
  • Matt GillilandMatt Gilliland Posts: 1,406
    edited 2015-04-16 08:34
    WTG David!

    We're in the middle of developing a "Building a full-blown Arlo Tutorial" for the Learn site. I shall include this in it as well.

    Hey Duane, have you tried this yet?
    -MattG
  • Duane DegnDuane Degn Posts: 10,588
    edited 2015-04-16 09:04
    Hey Duane, have you tried this yet?

    Turning off the USB power?

    No. I added a switch between the APDB and the PAB. I like being able to power the PAB from USB while I'm programming the board.

    I had to think a bit why I wanted the USB power but I finally came up with the reason. While I'm working on the program at the bench, I often have the robot's battery on the charger (I'm using an ELEV-8 LiPo) so it's convenient to power the PAB from USB.

    The present arrangement (of using a switch between PAB and APDB) doesn't bother me but I'm concerned about others who may not be aware the APDB can be pulling a lot of current from the USB via the PAB. I had one of those USB meters erco told us about on my USB port so I saw the 650mA draw. I doubt many other users of the APDB have a meter on their USB port.

    As I think about this a bit more, I'm not sure the APDB should be changed but I think there should be some sort of warning about the power flow issue included in the documentation.
Sign In or Register to comment.