Go to Post ...FIRST was created to change that world for the better. To presume that FIRST is simply here for your enjoyment is to demote it to nothing more than an expensive game... - RogerR [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 23-06-2015, 22:10
Beaker's Avatar
Beaker Beaker is offline
624 Programming Alum
AKA: Justin K.
no team (No Team)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 61
Beaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to behold
Re: LED indicator lights

We use 2 Adafruit NeoPixel light strips connected to an Arduino Mega to signal robot state and other values during the match. (We finally got them on for TRI, and it works great!)

- You have to solder a PWM cable or some type of wire to the end of the strip without wires because the other wires are actually on the opposite side of signal input. I use a scrap PWM cable that has a single male end so that I can plug it into the Arduino later.

- We connect the 12V side of one of those old radio voltage converters to the PDP and connect the 5V side to the light strip's Vin and Ground wires, which were soldered earlier. You could probably do this with a new VRM, but I'm just used to the older model.

- Connect the light strip's signal to a pin on the Arduino.

- The Arduino Mega reads values from the RoboRIO's DIO ports and our navX's Analog Outputs.

- For the programming side of things, make sure to install the Neopixel Library and the Arduino IDE. For more information on that stuff, you should look at the NeoPixel UberGuide and Arduino's website.

Also, we have a page of code releases here. Our light code from last year is in the LabVIEW code release. It uses I2C, but converting to analog/digital reading shouldn't be too difficult.


I know that this requires a lot of work, but it looks really cool when you get it working. I hope this helps!
__________________
Team 624 (Student) 2013-2016
BBQ FIRST Creator
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi