User Tools

Site Tools


2018_leds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

2018_leds [2018/03/01 23:27] – created tell2018_leds [2018/03/01 23:35] (current) tell
Line 11: Line 11:
   * negative for red LEDs   * negative for red LEDs
   * negative for green LEDs   * negative for green LEDs
 +
 +To power them we hook up their common + terminal to +12v power, and then we need to connect zero, one, two, or three of the negative wires to -12v depending on what color we want.
  
 What we like about these: What we like about these:
Line 22: Line 24:
 ====== The driver board ====== ====== The driver board ======
  
 +we found this COTS driver: https://www.amazon.com/gp/product/B01MRQFYJN
  
 +Its features:
 +  * four low-side mosfet switches (we only need three, one each Red, Green, and Blue)
 +  * screw terminals for power input and each of the four outputs
 +  * four RoboRIO-compatible three-pin headers for control input.  Each one has the customary -,+,Signal pins just like pwm and DIO cables.
  
 ====== Hookup to RoboRIO ====== ====== Hookup to RoboRIO ======
  
 +We found COTS 3-pin female-to-female cables that fit and worked fine.  I think they may have come with the SPARK motor controllers.  If we hadn't found these, we would have made up cables.
 +
 +They're hooked up as:
 +
 +  * Red: DIO 7
 +  * Green: DIO 8
 +  * Blue: DIO 9
 +
 +Each color turns on when the DIO is set to output and is outputting a "1".
  
 ====== Software ====== ====== Software ======
  
 +Amr, this one's for you.
  
2018_leds.1519964822.txt.gz · Last modified: 2018/03/01 23:27 by tell