|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
LEDs
After the last competition, I've seen that LEDs are certainly allowed on the robot; many teams had them on their arms/shooters as well as couple teams with under-robot lighting. There were a few teams that *appeared* to be using programmable LEDs; does anyone have any idea how the teams may have programmed these? I know the LED strings come with timers, but I'm almost positive those can't be used on the robot.
Speaking of LEDs, does anyone have any suggestions for a decent LED (maybe multicolor?) string product, preferably one that their team is using /has used? |
|
#2
|
|||
|
|||
|
Re: LEDs
Last season we had some programmable LEDs driven almost the exact same way 111 did as described in this post: http://forums.adafruit.com/viewtopic.php?f=47&t=22417
Programmable LED strip driven by an arduino. We used some unused DIO pins to send commands to the arduino. |
|
#3
|
||||
|
||||
|
Re: LEDs
My team typically just uses single color led strings - you can get them (or programmable RGB ones) super cheap on ebay so long as you don't mind waiting a month for shipping.
If you use the search function and search "LEDs" you will get a ton of results back. Probably more efficient for you, that way you don't have to wait for responses and you can more easily find what suits your needs the best. |
|
#4
|
||||
|
||||
|
Re: LEDs
Quote:
Shameless plug for the system my team built this year: http://hackcasual.io/blingboard |
|
#5
|
||||
|
||||
|
Re: LEDs
Take a look at
http://www.chiefdelphi.com/forums/sh...highlight=3574 Full Text Scrolling with Ardunio |
|
#6
|
||||
|
||||
|
Re: LEDs
We use an arduino to control our programmable RGB LED's we purchased from Adafruit, which you can easily get from ebay or amazon. Though you do need to add the 12v to 5vdc converter to run them.
For most of our LED needs we use a few sets we purchased from Costco. they can be strung together so you can make the set as long or short as you need. All we had to do is cut the power adapter cable and wire it directly to the PD board. They are 12vdc so nothing is needed to use them. They have an IR control for the colors and intensity. Just make sure you put in a way to cover the IR receiver so you cannot have "control" while it is on the field. We used a few pieces of Velcro. Holds it in place and just a quick removal to change to colors or turn on the disco light show. If you have any question on how to implement any of the mentioned systems send me a PM and I happy to help. Aloha |
|
#7
|
|||
|
|||
|
Re: LEDs
Quote:
AndyMark's LED strip is controlled with SPI -- the controller (Arduino) sends a 3-byte message with an RGB value, and each subsequent message shifts data down the daisy-chain. By updating the entire chain 30+ times per second you can create complex patterns or animations. |
|
#8
|
||||
|
||||
|
Re: LEDs
869 used a combination of an Arduino and Adafruit NeoPixel LED strips (http://www.adafruit.com/products/1460)
We used various combinations of digital outputs from the digital sidecar to send signals to the Arduino and had it do different things depending on what the robot was doing such as having blue/red depending on what the FMS told us our color was with Code:
DriverStation.getInstance().getAlliance() Code:
DriverStation.getInstance().getMatchTime() |
|
#9
|
||||
|
||||
|
Re: LEDs
You may or may not have seen the LEDs we used on our robot this past season, so I don't know if what I'm talking about makes much sense out of context. We ordered a bunch of yellow LEDs being our team color and all and wired them up each separately so that each section of 3 was addressable. We arranged them in a pattern we liked on the robot and cut and soldered wire to the correct length to reach our micro controller. We used an 8052 based board that our electronics mentor made to control them. We had digital inputs in from the sidecar so that the cRIO had some input to the system. We also used an analogue pressure transducer to give a readout of our pneumatics pressure to give us visual feedback as to what we were sitting at. If I can, I will find a video of the system in action
|
|
#10
|
|||||
|
|||||
|
Re: LEDs
What is it about LEDs that attracts this kind of post? Team Element is in California, not Minnesota.
|
|
#11
|
||||
|
||||
|
Re: LEDs
Well seems like we have LED vendors spamming the forums and apparently when I search specific model numbers especially the one that starts with "ws2" and ends with "812" CD is on the front page of searches for discussions.
|
|
#12
|
|||
|
|||
|
Re: LEDs
We had a strip of LEDs on our pickup arm, they were wired to an arduino and a maxbotix ultrasonic sensor. We programmed the arduino to light up the LEDs in different colors depending on how far the robot was from the wall to give the drive team a visual indication of when to shoot.
|
|
#13
|
|||
|
|||
|
Re: LEDs
Most people have covered the whole NeoPixel/Arduino design pattern, so I'll skip over that. One thing that hasn't been mentioned that my team (111) did is robot-Arduino communication. We had an I2C link between the robot and the Arduino. Whenever we wanted to update the LEDs on an event, say, the start of a match, raising our arms, or shooting, we'd send a command/payload byte combination to the Arduino which would then update the LEDs. The relevant Java class of our 2013 code is here: https://github.com/wildstang111/2013...ems/WsLED.java
|
|
#14
|
|||
|
|||
|
Re: LEDs
Could you post a copy of your Arduino code as well? I'd like to implement this in LabView.
|
|
#15
|
|||
|
|||
|
Re: LEDs
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|