Thread: Robot Lighting
View Single Post
  #12   Spotlight this post!  
Unread 05-03-2012, 05:31 PM
SteveGarward's Avatar
SteveGarward SteveGarward is offline
Red 5, standing by...
AKA: 7 years already
FRC #0111 (WildStang), FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Gurnee, IL
Posts: 173
SteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud ofSteveGarward has much to be proud of
Re: Robot Lighting

We added our lighting very late this year at Championship due to making sure we had weight for it.

We used the addressable LED strip from Adafruit, as we did last year. This was controlled by an Arduino Uno R3, which was sent commands to change mode from our robot software through I2C. We were in danger of maxing out the available digital I/O ports early in the season, but had planned to use an Arduino anyway. I2C is available and keeps other robot-useful ports open, and has built in SPI support which is the fastest method of communicating with the LED strip.

Once we had the I2C figured out, it was easy after that.
__________________
FRC Team 111 - WildStang (Mentor, Drive Coach)
FTC Team 7458 - Full Force! (Mentor, Coach)
FRC Team 3132 - Australia's FIRST FRC Team! (Holy crazy first year, Batman!)