https://docs.duet3d.com/
Help

Revision to Neopixel and DotStar LEDs

David Crocker

* For NeoPixel strips, connect the data input line to the DS_DO pin of the Duet.
-The maximum supported number of Neopixel LEDs in a strip is 60.
+In firmware versions prior to 3.3 the maximum supported number of Neopixel LEDs in a strip is 60 RGB LEDs. Firmware 3.3 supports up to 80 RGBW LEDs or 106 RGB LEDs. The firmware limit for DotStar LEDs is several thousand.
-'''Caution!''' LED strips can draw a considerable amount of power, usually up to 60mA per LED. If you are powering the LED strip from the Duet, make sure that the Duet is able to supply sufficient current (maximum 3A total external load on +5V). In particular, if you are powering a Raspberry Pi or other single board computer from the Duet, then the Duet will not be able to power a LED strip as well.
+'''Caution!''' LED strips can draw a considerable amount of power, usually up to 60mA per LED (for RGBW Neopixel LEDs, up to 80mA per LED). If you are powering the LED strip from the Duet, make sure that the Duet is able to supply sufficient current (maximum 3A total external load on +5V). In particular, if you are powering a Raspberry Pi or other single board computer from the Duet, then the Duet will not be able to power a LED strip as well.
== Connecting NeoPixel strips to Duet 3 Mini ==
You will need to supply external 5V power to the adjacent 5V_IN connector, unless you connected the 5V line of your LED strip directly to an external 5V supply. The 5V regulator on the Duet 3 Mini is rated at 1A total and cannot be used to power LED strips.
-The maximum supported number of Neopixel LEDs in a strip is 60.
+In firmware versions prior to 3.3 the maximum supported number of Neopixel LEDs in a strip is 60 RGB LEDs. Firmware 3.3 supports up to 80 RGBW LEDs or 106 RGB LEDs. The firmware limit for DotStar LEDs is several thousand.
== Configuring and controlling LED strips ==
-The [[Gcode#Section_M150_Set_LED_colours|M150 command]] is used both to configure and control LED strips. The X and Q parameters configure them and the remaining parameters set the colours. If the X and Q parameters are not provided, the last values of those parameters specified will be used again, or default parameters if they have never been specified. You do not normally need to specify the Q parameter, but you must specify the X parameter at least once unless the default is acceptable. On the Duet 3 MB6HC, the default is X0 (DotStar) in firmware 3.1.1 and earlier, and X1 in firmware 3.2 and later. On the Duet 3 Mini the default is alwaysX1 (Neopixel).
+The [[Gcode#Section_M150_Set_LED_colours|M150 command]] is used both to configure and control LED strips. The X and Q parameters configure them and the remaining parameters set the colours. If the X and Q parameters are not provided, the last values of those parameters specified will be used again, or default parameters if they have never been specified. You do not normally need to specify the Q parameter, but you must specify the X parameter at least once unless the default is acceptable. On the Duet 3 MB6HC, the default is X0 (DotStar) in firmware 3.1.1 and earlier, and X1 in firmware 3.2 and later. On the Duet 3 Mini the default is always X1 (RGB Neopixel).

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes