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/05 18:29] admin |
docs:blox:connect-ws2812 [2024/08/15 12:51] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== 3.1 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 8: | Line 8: | ||
* LED Address: 2+ (0, | * LED Address: 2+ (0, | ||
+ | ---- | ||
- | | {{: | + | ===== 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+' | + | |
- | 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 | + | |
+ | | **BLOX Terminal** | **Device** | | ||
+ | | GND | GND | | ||
+ | | 5V | 5V IN | | ||
+ | | LDO | DIN (LED Data In) | | ||
+ | | {{: | ||
+ | ---- |