Shop OBEX P1 Docs P2 Docs Learn Events
Portable USB powered Prop test board — Parallax Forums

Portable USB powered Prop test board

BradCBradC Posts: 2,601
edited 2008-11-22 05:20 in Propeller 1
Someone on IRC at some point asked me about my portable prop thingo I carry with me when I travel, so having excavated my camera from the depths of my desk I thought while I remembered I'd post a picture of it.

It certainly violates most of the USB specs. It causes the odd overcurrent error when plugged in. It has a USB HID bootloader built into it, and an undocumented feature of bst on Linux and Windows is it will automatically detect and download to the board over the USB port if you manually reset into the bootloader first. Once I've got it properly working on OSX I'll release the USB bootloader code and get it cranking.

It's got three leds, a 16x2 display with the backlight driven from a port pin and transistor (to allow brightness control using a cog timer), a DS1307 with 10,000uF cap providing between 2-3 hours backup and a newly added SD socket (for some stuff OBC has been asking for). It allows me to do proper development and testing at 38,000 feet without having to worry about my prop-plug or other power sources.

@rokicki your fsrw code is a stroke of brilliance (I've only just seen it work the first time an hour ago)

@Mike Green your various basic variations (particularly those that allow save and load to SD) are just fantastic. They allow very easy testing of the various bits and pieces of the hodge-podge hardware I've been playing with.

Cheers lads!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
2816 x 2112 - 902K

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-11-21 21:59
    Nice development board.

    Ever have any issues boarding the plane with this?
    (The Protoboard was featured as a bomb on TV recently.)


    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Getting started with a Propeller Protoboard?
    Check out: Introduction to the Proboard & Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • blittledblittled Posts: 681
    edited 2008-11-22 04:14
    I've been thinking of making a USB powered prototype board myself. I will use Sparkfun's Koala board that actually uses the usb to charge a lithium battery so you only need your laptop to charge it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    What electronics need - MORE POWER!!!!!!!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-11-22 04:20
    I've got one of Bean's USB boards, very cool stuff, but my laptop doesn't give it enough power.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Getting started with a Propeller Protoboard?
    Check out: Introduction to the Proboard & Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2008-11-22 04:21
    Using the USB to charge a Li-Ion battery or similar may be the way to go. Using the straight USB power for a propeller project may really limit what you can do because of the current.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, uOLED-IOC, eProto for SunSPOT, BitScope
    www.tdswieter.com
  • Cluso99Cluso99 Posts: 18,069
    edited 2008-11-22 04:44
    @Brad: Just a thought - your 10,000uF maybe causing an occasional violation on the USB power - perhaps a resistor in series may limit inrush current? Love the idea tho' smile.gif
  • BradCBradC Posts: 2,601
    edited 2008-11-22 05:20
    Cluso99 said...
    @Brad: Just a thought - your 10,000uF maybe causing an occasional violation on the USB power - perhaps a resistor in series may limit inrush current? Love the idea tho' smile.gif

    It's actually got one in addition to the cap being powered in series with a green 3mm led (to indicate charge current and drop the peak voltage somewhat). It takes about a minute and a half to charge that cap. It's the servo power cap that causes the USB overcurrent spike.

    @Tim, you have half an amp! How much current do you need?!? Even with all the leds turned on, 8 cogs running, the LCD backlight and an SD card operating the thing only gets to about 250mA. I try and conserve power as it eats a considerable portion of my laptop battery budget when its all lit up.

    @OBC, No problems with planes. The USB cable is 2.5M long and wraps up neatly into a little spool. The whole lot pops into a lunch box about the size of the board with the lid held on with PVC tape. As there is no organic material mass, most screeners recognise it as a bundle of electronics. The times I have been asked I just said it was a prototype USB security device and was waved on through.

    I did forget it has a Dallas DS18S20 on it also.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
Sign In or Register to comment.