Go to Post And Dave, although I know you have connections, please don't slow the earth's rotation to get more time on the caption contest. ;) - Billfred [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 09-02-2012, 18:54
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Arduino LED strip control legality?

Good Day everyone. Our team has recently purchased a few meters of RGB LED tape and were wondering what the best legal way to drive them was(note that these are for decoration only). I have had quite a bit of experience with arduinos and could easily drive them with the aid of a few mosfets. The idea would be to power the arduino and the strips off a 12v Power distribution channel, and have it be completely independent from the crio. This would be the ideal solution as it would allow us true pwm control for smooth fading and a wide variety of colors. Also the lights would be on whenever the bot had power. From everything I have read this should be legal as it is all just for decoration, am I wrong? If I am wrong what method would you recommend? I read this board that the pwm outputs on the sidecar are not true pwm so they could not be used, is that correct? If neither of those avenues are allowed then should we just use a couple of spikes, that must be allowed, correct? If your team has any past experience your thoughts would be greatly appreciated. Thanks.
  #2   Spotlight this post!  
Unread 09-02-2012, 19:10
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Arduino LED strip control legality?

Quote:
Originally Posted by tekman1001 View Post
The idea would be to power the arduino and the strips off a 12v Power distribution channel, and have it be completely independent from the crio. This would be the ideal solution as it would allow us true pwm control for smooth fading and a wide variety of colors. Also the lights would be on whenever the bot had power. From everything I have read this should be legal as it is all just for decoration, am I wrong?
No, it's not legal. See [R52] and the blue box for [R65].

You'd have to have the cRIO telling the lights to turn on and off.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #3   Spotlight this post!  
Unread 09-02-2012, 19:52
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Re: Arduino LED strip control legality?

I had read those rules but was under the opinion that when they spoke of "controlled" it was referring to the motors and devices that physically move. therefore one could use another "controller". For instance you could use another "controller" to filter sensor output before entering the crio. The Q&A specifically calls them a "co-prossesor". If we were to wire a digital I/O or I2C bus as sort of an enable disable relay system from the crio -> arduino and code it so the lights were off when disabled. Would that be a legal solution?

Last edited by tekman1001 : 09-02-2012 at 19:56.
  #4   Spotlight this post!  
Unread 09-02-2012, 20:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,599
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Arduino LED strip control legality?

Quote:
Originally Posted by EricH View Post
No, it's not legal. See [R52] and the blue box for [R65].

You'd have to have the cRIO telling the lights to turn on and off.
I don't beleive that those rules apply to a non-functional decoration in the way that you think. The arduino is a custom circuit, and the LEDs are a custom circuit. This is explicitly allowed by [R65A]. If the arduino also connected to a jaguar, that would be illegal.

Quote:
Originally Posted by tekman1001 View Post
I had read those rules but was under the opinion that when they spoke of "controlled" it was referring to the motors and devices that physically move.
I agree with your interpretation.
  #5   Spotlight this post!  
Unread 10-02-2012, 10:30
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Arduino LED strip control legality?

FWIW, on the Power Diagrams provided by FIRST, Sensors, Fans and Custom Circuits are all shown to be directly connected to the PD Board.
__________________
  #6   Spotlight this post!  
Unread 10-02-2012, 12:29
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Arduino LED strip control legality?

You could quite easily have the cRio control the Arduino. Just use a few of the DIO signals to tell the Arduino which lighting pattern it should be displaying. Then just let the Arduino do the work controlling the PWM to the LEDs.
Panning rainbow when disabled or just in "Demo" mode. RED or BLUE when you want to indicate your Alliance color. Flashing green when locked on target.
The options are endless.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #7   Spotlight this post!  
Unread 10-02-2012, 18:03
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Re: Arduino LED strip control legality?

Quote:
Originally Posted by billbo911 View Post
You could quite easily have the cRio control the Arduino. Just use a few of the DIO signals to tell the Arduino which lighting pattern it should be displaying. Then just let the Arduino do the work controlling the PWM to the LEDs.
Panning rainbow when disabled or just in "Demo" mode. RED or BLUE when you want to indicate your Alliance color. Flashing green when locked on target.
The options are endless.
Thats one of the ideas we had, but I wanted to make sure that the basic isolated system was legal as a fallback incase we need the IO for other tasks. Also we were going to take a look at I2C going from c++ to arduino, so if anyone has an experience with that your thoughts would be appreciated. I have done some basic arduino -> arduino I2C stuff but have not had a chance to look at the Crrio C++ interpretation.
  #8   Spotlight this post!  
Unread 10-02-2012, 23:36
JoshSmith JoshSmith is offline
LED Junkie
FRC #0111 (WildStang)
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2009
Location: Arlington Heights
Posts: 16
JoshSmith is an unknown quantity at this point
Re: Arduino LED strip control legality?

As far as I am aware, using an Arduino to control the LED strips is still legal under the current rules. This was how we did it last year. The cRIO would send commands over two wires (I believe) we had hooked up to the Arduino. This did not use I2C though. We now have I2C communications working between the Arduino and the cRIO (with the Arduino acting as slave of course). Complete info on this very soon (tomorrow I think?).
  #9   Spotlight this post!  
Unread 11-02-2012, 15:36
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Re: Arduino LED strip control legality?

Quote:
Originally Posted by JoshSmith View Post
As far as I am aware, using an Arduino to control the LED strips is still legal under the current rules. This was how we did it last year. The cRIO would send commands over two wires (I believe) we had hooked up to the Arduino. This did not use I2C though. We now have I2C communications working between the Arduino and the cRIO (with the Arduino acting as slave of course). Complete info on this very soon (tomorrow I think?).
That would be amazing! Thank you very much for your help!
  #10   Spotlight this post!  
Unread 21-02-2012, 17:34
Chingzilla Chingzilla is offline
Registered User
FRC #1695
 
Join Date: Feb 2012
Location: Helena
Posts: 1
Chingzilla is an unknown quantity at this point
Re: Arduino LED strip control legality?

@JoshSmith
Posting your code would be great. I am currently fighting how to talk to the Arduino. I am not receiving any sends or requests from the cRIO side (using the Java VM). I have tested an Arduino-to-Arduino I2C that works fine, but I can't seem to get anything from the digital-sidekick.
  #11   Spotlight this post!  
Unread 29-02-2012, 20:51
tekman1001 tekman1001 is offline
Registered User
FRC #2342
 
Join Date: Jan 2009
Location: New Hampshire
Posts: 11
tekman1001 is an unknown quantity at this point
Re: Arduino LED strip control legality?

Quote:
Originally Posted by Chingzilla View Post
@JoshSmith
Posting your code would be great. I am currently fighting how to talk to the Arduino. I am not receiving any sends or requests from the cRIO side (using the Java VM). I have tested an Arduino-to-Arduino I2C that works fine, but I can't seem to get anything from the digital-sidekick.
We decided to scrap the crio -> arduino coms due to both complexity and rules. As now that the lights don't provide communication, just look pretty, they should be considered decorations. Sorry I can't help.
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:53.

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