Go to Post Coaxial swerve modules with a suspension and differential aren't normal. But on Winnovation they are. - Andrew Schreiber [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-04-2014, 13:51
mechinn's Avatar
mechinn mechinn is offline
Registered User
FRC #0869 (Power Cord 869)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2005
Location: Middlesex High School
Posts: 4
mechinn is just really nicemechinn is just really nicemechinn is just really nicemechinn is just really nice
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()
or our award winning countdown color rotation and blinking to let our drivers know how little time is left in the match without looking up from the robot based on the match time
Code:
DriverStation.getInstance().getMatchTime()
  #2   Spotlight this post!  
Unread 03-05-2014, 23:41
theawesome1730's Avatar
theawesome1730 theawesome1730 is offline
Registered User
FRC #1730 (Team Driven)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Lee's Summit, MO
Posts: 316
theawesome1730 will become famous soon enough
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
__________________



2015 GKC Engineering Inspiration
2015 Colorado Winners
  #3   Spotlight this post!  
Unread 04-05-2014, 12:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LEDs

Quote:
Originally Posted by Raymond07 View Post
...
What is it about LEDs that attracts this kind of post? Team Element is in California, not Minnesota.
  #4   Spotlight this post!  
Unread 04-05-2014, 14:31
Mark Sheridan's Avatar
Mark Sheridan Mark Sheridan is offline
Head Mentor
FRC #3476 (Code Orange)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2002
Location: Irvine, CA
Posts: 561
Mark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond reputeMark Sheridan has a reputation beyond repute
Re: LEDs

Quote:
Originally Posted by Alan Anderson View Post
What is it about LEDs that attracts this kind of post? Team Element is in California, not Minnesota.
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.
__________________
Team 3476| Mentor| 2014 - Current
Team 3309| Mentor| 2011 - 2016
Team 766 | Mentor| 2006 - 2011 | Alumnus | 2002-2005
  #5   Spotlight this post!  
Unread 04-05-2014, 21:02
kellymc kellymc is offline
Mentor
FRC #0766 (Bears)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: California
Posts: 61
kellymc is a splendid one to beholdkellymc is a splendid one to beholdkellymc is a splendid one to beholdkellymc is a splendid one to beholdkellymc is a splendid one to beholdkellymc is a splendid one to beholdkellymc is a splendid one to behold
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.
  #6   Spotlight this post!  
Unread 05-05-2014, 23:29
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
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
  #7   Spotlight this post!  
Unread 06-05-2014, 20:19
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: LEDs

Could you post a copy of your Arduino code as well? I'd like to implement this in LabView.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #8   Spotlight this post!  
Unread 23-05-2014, 15:35
DohertyBilly DohertyBilly is offline
Registered User
FRC #0111 (WildStang)
Team Role: Tactician
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Schaumburg, IL
Posts: 51
DohertyBilly is a glorious beacon of lightDohertyBilly is a glorious beacon of lightDohertyBilly is a glorious beacon of lightDohertyBilly is a glorious beacon of lightDohertyBilly is a glorious beacon of lightDohertyBilly is a glorious beacon of light
Re: LEDs

Quote:
Originally Posted by nathanwalters View Post
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
This year we actually changed the way we communicated with the LEDs. We changed the strip we used (from LPD8806 to Adafruit NeoPixel) and the NeoPixel library disabled interrupts over I2C. Long story short, we lost control a few times. Because of this, we used the 4 leftover digital I/O ports on the sidecar to just send a binary number to the arduino, which changed the pattern based on that.
__________________


  #9   Spotlight this post!  
Unread 23-05-2014, 19:43
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: LEDs

Quote:
Originally Posted by DohertyBilly View Post
Because of this, we used the 4 leftover digital I/O ports on the sidecar to just send a binary number to the arduino, which changed the pattern based on that.
We decided to do the same thing because we had a lot of leftover I/O pins (we use six of them for the LEDs). I was thinking about trying I2C but the cRIO would not cooperate in the limited amount of time I had, so it seemed more reliable just to use digital I/O.

Its good to know that the AdaFruit libraries disable I2C, because that could have caused lots of headaches.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
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 19:32.

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