![]() |
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
|
Re: LED Lights for the Robot (what do you use??!?!)
Team 118 used lights on their bot, Apex, last year. I don't know if they were LEDs, but they did have multiple colored strings/arrangements. It should be fine.
|
Re: LED Lights for the Robot (what do you use??!?!)
Is it legal to hardwire LED lights on to the Power Distribution Board?
|
Re: LED Lights for the Robot (what do you use??!?!)
We use these bad boys on a spike!
|
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
|
Re: LED Lights for the Robot (what do you use??!?!)
Thank Alan. :)
|
Re: LED Lights for the Robot (what do you use??!?!)
My team bought them from AndyMark here: http://www.andymark.com/product-p/am-2645.htm
You can buy them as a kit or seperate, but it does require an Arduino (comes with the kit) |
Re: LED Lights for the Robot (what do you use??!?!)
I got the strips directly from a Chinese factory, GREELED, which always keeping in developing new interesting products. Such as their newest developed 60 LED/M LPD8806 RGB Strip and 96 LED/M WS2812B Digital Strip. They also supply technique help in warm hearted.
|
Re: LED Lights for the Robot (what do you use??!?!)
We used these on our robot and driver station panel: http://www.amazon.com/LEMONBEST-SMD-...ords=led+strip
You can see a little bit of them working in our reveal video: https://www.youtube.com/watch?v=U4ALN_3AoyU It's been brought up that these cheep LED strands use IR, so the are hard to control via the Rio, but we ended up taking the control box and manually wiring in three PWM lines directly to the FETs inside. This lets us use the 5V PWM output to control the intensity of each color individually, and the 12V line just comes from the PDB. I'm working on a write up that I hope to post soon on how to do this, and our team will probably make a custom PCB in the future for it that we'll share with the community. |
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
|
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
Rather, the digital outputs support true PWM, and let you define the frequency and duty cycle. Look at the digital outputs API. |
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
|
Re: LED Lights for the Robot (what do you use??!?!)
Quote:
|
Re: LED Lights for the Robot (what do you use??!?!)
For the last 2 years, we have used those 12v single-color LED strips you can order on Amazon. Simple, but effective. This coming year, we hope to use individually-addressable RGBLED strips that we purchased from andymark recently. We have developed a basic little custom circuit that we use for the lights on the robot. All it is is a terminal block connected to the PDB through a switch. This way, we can turn off all the lights if needed, and their connections don't take up valuable space on the PDB.
(protip: those adhesive backs on the light strips don't work, packing tape works great though ;) ) |
Re: LED Lights for the Robot (what do you use??!?!)
Similar to other teams, our robot this year we used the Sparkfun addressable RGBs (uses WS2812 LED drivers internally to the strip).
https://www.sparkfun.com/products/12026 You only have to plug in 5V, GND and the 1-wire interface which we drove using an Arduino and the Adafruit WS2812 libraries (details in the Sparkfun hookup guide). The power was supplied by a 5V/10A regulator very similar to the one supplied for the router (no 5V source on the robot is capable of supplying this much current). Additionally, we used an LED diffuser film to spread out the light source. This helped us give the effect that the arms were filled with light, where there was only a strip of RGB LEDs running through the top side of each arm. https://www.inventables.com/technolo...diffuser-films The Arduino allowed us to program light patterns that were triggered by the cRIO's digital outputs when the robot performed various actions (e.g. feeding, shooting, cocking the catapult). For instance, when the feeder motor was running, the robot would pull a zero on a cRIO digital output which fed into a digital input on the Arduino. Every 10ms, the Arduino firmware checked the digital inputs for changes and would modify the light pattern accordingly. This may get a bit detailed for those not familiar with embedded programming, but the key to making these animations work fluidly and seamlessly (and respond to asynchronous input) was to program the Arduino an interrupt-driven model. The simplest way to get patterns to display is to shift in the colors to each LED (24 in our case) and then to delay() for the number of milliseconds until the next color pattern needed to be shifted. In Arduino speak, these delay() statements literally force the processor to sit and wait for a number of milliseconds and not do anything (this is an eternity for a processor). In the interrupt-driven model, these delay() statements are replaced by conditional checks on variables (sometimes called flags) which are set by interrupts based on events (in our case, a 10ms timer interrupt since there weren't enough IRQ-capable pins). Every 10ms, the timer would interrupt the processor, check all of the inputs for any updates from the cRIO and it would increment a timer variable that counted the number of 10ms interrupts that passed. This variable could be checked by the main program to determine how many seconds had elapsed and whether or not it was time for the next pattern to be pushed to the LEDs. In our reveal video, we hadn't yet finished coding all of the patterns, but you can see what the diffuser material looks like up close: http://www.youtube.com/watch?v=tEhQnKbRz-0 You can see the patterns when we drive/load/shoot pretty well in this video: http://www.youtube.com/watch?v=iOK7eQOLqag#t=300 |
| All times are GMT -5. The time now is 00:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi