Status Lights: Datron vs Sienci and other questions #29
Replies: 2 comments 5 replies
-
|
Quick update. I think I was confused by the Datron vs Sienci documentation. The following M codes seem to work with the Datron style plugin: I have not verified if the outputs are working. So the more extensive options (number of pixel config, M356 Px Qx Mcodes) are only part of the Sienci plugin. The Datron Style plugin only supports RGB (separate LEDs, not WS2812). As such it doesn't need num pixels. The Sienci plugin supports WS2812 (NEOPixels?). I'd like to get the Sienci plug in working. By the way, when I am done with this I will write up a "how to" on this topic. Phil |
Beta Was this translation helpful? Give feedback.
-
|
There are two options for driving LED's depending on the board configuration, either via 3 outputs for a single RGB LED (or 3 LED's/lamps) or via serially driven LED's (WS2812). The former does not need the $536 and $537 (for a second strip) settings for length so are disabled if the RGB plugin is enabled. $665 is not a LED related setting, it is a sienciHAL setting? Serially driven LED's have tight timing requirements, they can be controlled via SPI, PWM, UART or bitbanged GPIO. Bitbanging requires all interrupts to be disabled while data is sent, for longish strips this means that they should not be set during motion. IMO this mode should not be used nor supported, currently the only driver that does is the STM32F4xx and I will not add this option to other drivers. This leaves SPI, PWM or UART control as the only viable options, which limits usable pins and requires rather complex code - especially if DMA transfer is to be used. I prefer DMA. Currently only UART mode transfer is available for the iMXRT1062 driver, and for a limited set of pins for a single strip.
It does if the board supports LED strips. IIRC currently only the Sienci SLBs and RP23U5XBB does.
It supports strips when available. Note that the strip length settings requires the RGB strips plugin. I have not moved this to the core yet, may to so later. The RGB LED strip control plugin can be used independently or together with the status lights plugins, if with the status lights plugins the main use may be to control the intensity. Default intensity can be be set a startup by adding $N0 or $N1 command(s). Edit: fixed link. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Trying to use status lights on several boards (teensy and rp2350). The following is from my RP23U5XBB (RP2350B based board). I had similar issues on the Tennsy board (T41U5XBB). Basically, I am not able to make it work.
First off, the Sienci plugin appears to be a fork of the Datron plugin. Web Builder does not seem to actually include the Sienci plugin.
When I select the Datron plugin, it gets included:
[PLUGIN:Indicator Lights v2.1]and $pins shows:
However, I see no configuration setting (in Settings:Grbl) for the number of LEDs($665?). Sending $665=4 gets an error.
The plugin seems to respond to M356 but doesn't work how I think it should work. Perhaps I am confused, please help me deconfuse...
GSender does not show the LED configuration options, BTW.
For completeness, here is the full bootup output from grblHAL
Beta Was this translation helpful? Give feedback.
All reactions