docs:blox:connect-ws2812

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:blox:connect-ws2812 [2024/08/05 18:25]
admin
docs:blox:connect-ws2812 [2024/08/15 12:51] (current)
admin
Line 1: Line 1:
-===== 3.Connecting BLOX to WS2812 Addressable RGB LEDs =====+====== 2.Connecting BLOX to WS2812 Addressable RGB LEDs ======
  
-OpenBuilds BLOX supports external LED strings, matrixes and rings containing WS2812 based addressable LEDs+OpenBuilds BLOX supports external LED strings, matrixes and rings containing WS2812 based addressable LEDs. It comes with 2x LEDs onboard ready to use as well!
  
   * Max Current: 2A   * Max Current: 2A
Line 8: Line 8:
   * LED Address: 2+ (0,1=Onboard)   * LED Address: 2+ (0,1=Onboard)
  
 +----
  
-| {{:docs:blox:pasted:20240805-181112.png}} | {{:docs:blox:pasted:20240805-144954.png}} | {{:docs:blox:pasted:20240805-145010.png}} | +===== 2.2.1 Wiring =====
- +
-==== Configuration ==== +
- +
-=== grblHAL / CONTROL === +
- +
-Make sure to set $536=0-255 (WS2812B LED strip length) in grblHAL settings (CONTROL > Grbl Settings Tab > Scroll down to$536 WS2812B LED strip length > Set the value to 2+'number of LEDs on the attached strip/matrix/circle' and Save +
-That is because BLOX has two onboard LEDs. So if you add a 24-LED strip, you should set $536 = 2+24 thus $536=26 +
- +
-To change the LED colors, use the __M150__ command:  "M150 S0 [strip=0] I0 [index 0-Length of LED strip] P255 [brightness 0-255] R255 [red 0-255] U255 [green 0-255] B255 [blue 0-255] +
- +
-  * For example, setting the first of the two onboard LEDs BLUE: M150 I0 P255 R0 U0 B255  +
-  * For example, setting all LEDs to Green: M150 S0 U255 +
  
 +| **BLOX Terminal** | **Device** |
 +| GND | GND |
 +| 5V | 5V IN |
 +| LDO | DIN (LED Data In) |
  
 +| {{:docs:blox:pasted:20240805-181112.png}} | {{:docs:blox:pasted:20240805-144954.png}} | {{:docs:blox:pasted:20240805-145010.png}} |
  
 +----
docs/blox/connect-ws2812.1722882307.txt.gz · Last modified: 2024/08/05 18:25 by admin