This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:blox:connect-ws2812 [2024/08/08 18:30] admin |
docs:blox:connect-ws2812 [2024/08/15 12:51] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== 2.2 Connecting BLOX to WS2812 Addressable RGB LEDs ===== | + | ====== 2.2 Connecting BLOX to WS2812 Addressable RGB 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! | 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! | ||
Line 10: | Line 10: | ||
---- | ---- | ||
- | ==== 2.2.1 Wiring ==== | + | ===== 2.2.1 Wiring |
| **BLOX Terminal** | **Device** | | | **BLOX Terminal** | **Device** | | ||
Line 18: | Line 18: | ||
| {{: | | {{: | ||
- | |||
- | ---- | ||
- | |||
- | ==== 2.2.2 Configuration ==== | ||
- | |||
- | === 2.2.2.1 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+' | ||
- | |||
- | 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: | ||
- | |||
- | * 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 | ||
- | |||
- | ---- | ||
- | |||
- | === 2.2.2.2 LogiBLOX === | ||
- | |||
- | You can set the Onboard LED colors manually | ||
- | |||
- | {{: | ||
- | |||
- | You can also use the LEDs in the Apply Analog Sensor Value block for dynamic changes to Color shift, Brightness or Saturation: | ||
- | |||
- | {{: | ||
---- | ---- |