User Tools

Site Tools


2022_leds

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2022_leds [2023/02/07 22:37] – [LED States] tell2022_leds [2023/02/07 23:10] (current) – [LED Wiring] tell
Line 52: Line 52:
 and we use a seperate scrap of a PWM cable for data.  The center red wire of the PWM cable and we use a seperate scrap of a PWM cable for data.  The center red wire of the PWM cable
 is not used, only black (ground) and white (data). is not used, only black (ground) and white (data).
 +
 +Here's a sketch of which wires go where:
 +
 +{{ :ws2812-led-wiring-sketch.jpg?direct&200 |}}
 +
 +and here's a picture of one assembled:
  
 {{ ::ws2812-led-wiring.jpg?direct&400 |}} {{ ::ws2812-led-wiring.jpg?direct&400 |}}
 +
 +
 + ===== Mutiple strips of LEDs =====
 +
 +There are at least two ways to do multiple strips of LEDs:
 +
 +1.  chain them together.  solder to the data-out pin of the first strip, and wire that to the data-in pin of another strip.  Every 20 LEDs or so, connect another +5v wire directly to the 5v power supply.
 +
 +2.  Wire them in parallel, feeding the same data to both strips.  This is what we did. The two strips are on different sides of the robot, so it the status can be seen from both sides.  Wiring them together makes the two sides always look the same, without any special software. 
 +
 +We used a [[https://www.andymark.com/products/3-wire-pwm-y-cable-8-in|PWM Y-adaptor]] to connect both strips to the same RoboRIO PWM output.
 +
 + ===== Where does the +5v power come from =====
 +
 +We used the +5v output of a VRM.  Its good for 2 amps, which is enough for about 1 meter of a typical 60-LED-per-meter strip.  If we needed more LEDs, we'd have to use a different 12v to 5v "buck" converter.
 +
  
  ===== LED Test Board =====  ===== LED Test Board =====
2022_leds.1675827461.txt.gz · Last modified: 2023/02/07 22:37 by tell