View Single Post
  #9   Spotlight this post!  
Unread 16-06-2013, 04:30
bumblebee3339's Avatar
bumblebee3339 bumblebee3339 is offline
Team's main account
FRC #3339 (BumbleBee)
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Israel
Posts: 34
bumblebee3339 is an unknown quantity at this point
Quote:
Originally Posted by otherguy View Post
I didn't actually buy my strip from adafruit. As long as the strip you buy uses the LPD8806 as the LED driver, the arduino library should work.



We used an Arduino uno r3 clone from deal extreme, simply because it was on sale for $15. The specific one we got is no longer in stock. Most arduino models should work though. The comments in the example code referring how to wire up the strand to the arduino list quite a few:
Code:
// You can optionally use hardware SPI for faster writes, just leave out
// the data and clock pin parameters.  But this does limit use to very
// specific pins on the Arduino.  For "classic" Arduinos (Uno, Duemilanove,
// etc.), data = pin 11, clock = pin 13.  For Arduino Mega, data = pin 51,
// clock = pin 52.  For 32u4 Breakout Board+ and Teensy, data = pin B2,
// clock = pin B1.  For Leonardo, this can ONLY be done on the ICSP pins.
//LPD8806 strip = LPD8806(nLEDs);
As far as doing vision processing on an arduino goes... I wouldn't plan on it. They aren't well suited for the computations required to quickly process images. Not if you're using an IP camera at least. You could probably get something working with a camera that does some of the processing for you, like the CMUcam. Although it didn't make it on to the robot, we had very good results using openCV on the original beaglebone this year. I believe other teams have gotten rasberrypi's to work as well, although I can't really speak to how well that worked out.
I decided to focus on one color LEDs first (non-addressable), I found that I can power a 12V LED strip with a spike. How fast can I blink the LEDs with a spike, I've read it's limited.

And is there a way to dim the strip via PWM? Should the strip be 5V for PWM control?
Thanks
Reply With Quote