Go to Post Stand up and cheer for yourselves and others. That is FIRST, don't change it. - Steve W [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-06-2015, 15:50
Delphine's Avatar
Delphine Delphine is offline
Registered User
FRC #0948 (Newport Robotics Group)
Team Role: Electrical
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Washington
Posts: 2
Delphine is an unknown quantity at this point
LED indicator lights

Our team wants to learn how to make LED indicator lights. Meaning that after the robot completes a certain task, the light would turn a specific color. Does anyone know what type of light we should use and then how we would wire it up? Any information would be a big help. Thanks
  #2   Spotlight this post!  
Unread 23-06-2015, 21:35
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 101
sparkytwd will become famous soon enough
Re: LED indicator lights

How big of a light do you want? The easiest thing to do is use digital pins with an RGB led, that'll give you 7 distinct colors. For easiest hookup, you'll want a common cathode LED, and you'll need ballast resistors.

For something brighter, you can go with a 3W rgb LED, and a constant current source. I favor this for my projects these days: https://www.sparkfun.com/products/11850 You should be able to use 3 PWM channels from the RoboRIO to drive that.

You'll want a diffuser of some type. I personally recommend white vinyl or "blank" figures: https://goo.gl/photos/5e298N1xNBeHXxFh6
  #3   Spotlight this post!  
Unread 23-06-2015, 21:41
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,685
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: LED indicator lights

We decided to use LEDs on the robot to communicate info back to the driver at one point this year. We had already installed some common anode 12V RGB strips that we controlled with a pair of spike relays. Especially if you're using java and the roboRIO, this post may help you out.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #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
  #5   Spotlight this post!  
Unread 27-06-2015, 17:47
sandunashan sandunashan is offline
Registered User
no team
 
Join Date: Jun 2015
Location: Lahore, Punjab Pakistan
Posts: 2
sandunashan is an unknown quantity at this point
Re: LED indicator lights

I'm speaking about the battery, hard drive usage, wireless on/off and power on/off LED status lights on my laptop. It is an Acer Aspire 5755g but most laptops have LED indicators. I was also wondering if they could be used to light bright/dim when playing music.
  #6   Spotlight this post!  
Unread 27-06-2015, 18:20
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,685
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: LED indicator lights

Quote:
Originally Posted by sandunashan View Post
I'm speaking about the battery, hard drive usage, wireless on/off and power on/off LED status lights on my laptop. It is an Acer Aspire 5755g but most laptops have LED indicators. I was also wondering if they could be used to light bright/dim when playing music.
Usually, indicator LEDs on consumer devices are controlled in firmware, or even hardware, and would not be available to the operating system. You would probably have to reprogram your laptop's boot ROM. Unless you're extremely thorough, once you did this you might never be able to trust any of your indicator lights again. Personally, I'd sooner drill a hole in my case and add additional LEDs that are controlled through a USB port. Even easier would be to build a USB dongle that fits inside a port.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #7   Spotlight this post!  
Unread 14-07-2015, 17:25
erbay erbay is offline
Registered User
no team
 
Join Date: Sep 2014
Location: Canada
Posts: 2
erbay is an unknown quantity at this point
Re: LED indicator lights

You could use a three pin two color LED. If your team created the program for the robot, and still have additional output pins for your programmable IC chip, you could just control the two color LED with it and change the light color when the program runs its full cycle or when the task is complete. Now depending on your programmable IC you could also use the RGB LED. Your output pin should then control the current going to the LED to change colors.

Regards,
C. Erbay
http://blog.7pcb.com
  #8   Spotlight this post!  
Unread 18-07-2015, 15:35
nlknauss's Avatar
nlknauss nlknauss is offline
STechnologyEM Teacher, Alumni
AKA: Nate Knauss
FRC #2729 (LC Storm Robotics Team)
Team Role: Teacher
 
Join Date: Feb 2003
Rookie Year: 2000
Location: New Jersey/Philadelphia
Posts: 339
nlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond reputenlknauss has a reputation beyond repute
Re: LED indicator lights

The students on my team created this legacy document on LEDs for future students. Feel free to check it out. I think they've also posted code to the Github.

http://stormroboticsnj.org/resources/software/
__________________

Nate Knauss
FRC 2729 Teacher-Drive Coach 2009-?, FTC 4390, FTC 7433

FRC 87 Student 2000-2002 and Mentor 2003-2006, FRC 1647 Mentor 2006-2008, FIRST Senior Mentor 2009-2013

"We can't change the cards we are dealt, just how we play the hand." -Randy Pausch

  #9   Spotlight this post!  
Unread 18-07-2015, 17:44
tickspe15's Avatar
tickspe15 tickspe15 is offline
Purdue University
AKA: Spencer Tickman
FRC #1747 (Harrison Boiler Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Issaquah, Washington
Posts: 253
tickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant futuretickspe15 has a brilliant future
Re: LED indicator lights

We started using outputs on the PCM for indicator led control this year. It was much easier, lighter, and cheaper than spikes or arduinos that we have used in the past.
__________________
Team 1318: 2011-2015
Team 1747: 2015-Present
NAR (VEX U): 2015-Present
  #10   Spotlight this post!  
Unread 19-07-2015, 11:58
evanperryg's Avatar
evanperryg evanperryg is offline
IT'S THE BUMP N' DUMP
AKA: Evan Grove
FRC #4536 (The Minutebots)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Minneapolis, MN
Posts: 657
evanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond repute
Re: LED indicator lights

We didn't do it on our competition bot this year (weight problems) but we were going to use three DIOs on the rRIO MXP port to act as a 3-bit binary input to an arduino. From there, the Arduino drove a pair of WS2801 RGBLED strips, like those AndyMark used to sell.
__________________
FRCDesigns Contributor | "There is only one corner of the universe you can be certain of improving, and that's your own self." -Aldous Huxley
2012-2016 | FRC Team 2338: Gear it Forward
2013
Wisconsin Regional Winner 2014 Midwest Regional Finalist 2015 Midwest Regional Chairman's Award, Finalist, Archimedes Division Champion, IRI Semifinalist 2016 Midwest Regional Chairman's Award, Finalist, Archimedes Division Gracious Professionalism Award, R2OC Winner
2015 | FTC Team 10266: Mach Speed
2015
Highland Park Qualifier Winner, Motivate Award
2017-???? | FRC Team 4536: The Minutebots

Thanks to the alliances and friends I've made along the way: 33 74 107 111 167 171 234 548 1023 1089 1323 1625 1675 1732 1756 2064 2077 2122 2202 2358 2451 2512 2826 3936 3996 4039 4085 4241 5006 5401 5568 5847 5934
Closed Thread


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