Quote:
Originally Posted by jwallace15
However, the UNO may work for you. 33 has an uno controlling their LED's.
|
The LED's are
Shift Brite's from SparkFun.
They are essentially 32-bit shift registers with 10-bit per color 3 color PWM controls (and 2 extra bits). So we chain them together and use 3 Arduino pins for all of the LED's. We have the software setup for a 4x32bit chain, and there are 8 LED's, so the second half of the string is a 1-cycle old mirror of the first half of the string.
The cRio uses 3x digital lines (relay 6,7,8 forward channel) to send a 3-bit command word to the Arduino. The lines are driven via a shift register in the DSC, and are high side driven, so we have pulldown resistors added also. I believe the arduino uses the 6v power supply on the digital sidecar but I could be wrong.
The cRio runs a state machine to get the command word (0-7) and outputs it on the 3 bit output. The Ardiuno turns the command word back into a number. The color of each of the 4 LEDs is defined for each mode, there is no further logic in the arduino now, although mode 0 used to fade between colors during disabled mode.