Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   LEDs (http://www.chiefdelphi.com/forums/showthread.php?t=128389)

Ben Wolsieffer 23-05-2014 19:43

Re: LEDs
 
Quote:

Originally Posted by DohertyBilly (Post 1387112)
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.

evanperryg 29-05-2014 10:20

Re: LEDs
 
Any type of LEDs, technically, are legal. It's up to your team how far you want to go with it. Yes, LEDs are fun (I should know) Yes, they will make you more noticeable on the field, and they make your robot more exciting for the general public. However, you have to know the ins and outs of lights before you start working with them.
  1. Power consumption: You have to calculate how much power your lights will draw. Too many lights can cause your batteries to drain quickly, resulting in reduced performance in-match. Before going wild with lights like my team did last year, we made certain that all those lights would be within our power budget. It's usually pretty easy to calculate the consumption of your lights, since many manufacturers specify the current draw of their strips by the meter.
  2. Control: If you want to do RGBLEDs, you have to know how they are controlled. There are two typed of RGB strips, classified as analog and digital. Analog strips can only show one color, across the whole strip. This type is the cheapest, and often comes with an IR controller. You can't use this controller on the robot, you'd have to design one that runs through the robot control system. Digital strips can do patterns and the like, but they are significantly more complicated to control. They typically are controlled with an arduino or RP, and can require custom code libraries.
  3. Gameplay: If your lights are too disruptive or too bright, you might get penalties as a result of your lights. You don't want your lights blinding the drivers, as there is a rule about this, and if they are "disruptive" in any way, some pickier referees might call you out.


All times are GMT -5. The time now is 05:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi