View Single Post
  #3   Spotlight this post!  
Unread 17-07-2013, 09:48
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: 656
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: Legality of Arduino Programming

We're setting one up for IRI. It controls a (hand-made) strip of LEDs mounted along our shooter. It does patterns inspired by the lights on 111's and 118's bots. As far as I can tell, this is the most common use for the Arduino in FRC- lights.

There are a wide variety of ways to add custom lights to the bot using arduino. We're just directly connecting each LED to a DIO on the arduino. This is the simplest way(code-wise) to do it, but not the most effective, especially with an UNO or similar. If you want to do this, the best way to go would be to get a Mega2560, MegaADK, or a Due, as they have many more digital/PWM outputs available. However, if you are new to the world of Arduino, other options like multiplexers and I2C can be pretty intimidating.

If you see a team with a lot of lights doing patterns, or multi-colored lights, they likely use I2C. I talked to a mentor from 111 at Midwest about how they did their lights, and he informed me that they use I2C from the arduino to control a strip of RGB LEDs. I do not know how 118 does their lights but I would guess they do it in a similar way.

Best of luck, and if you have any questions about arduino, feel free to PM me!
__________________
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

Last edited by evanperryg : 17-07-2013 at 09:55.
Reply With Quote