Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Info - Configuring Voron toolhead lights

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    77
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SpeedyDadundefined
      SpeedyDad
      last edited by

      This thread is to help others that want to do the same thing I did.

      All my machines have been run by Duet mainboards so I figured my Vorons should be too. Yes, I could get Klipper working on them but I am already familiar with Reprap. I wanted the three LEDs in the toolhead to work as follows. Upper LED will be print status light and the two lower ones would be on white for part light. Doing this through M150 is tricky because of the way M150 works. After many hours of fiddling, I finally have it working.

      I added the following to the end of my Start G-Code:
      M150 R255 U255 B255 S20
      M150 S2
      M150 U255 P255 S1 F0

      This turns on all the lights white. It then turns off the first two LEDs in the chain and then turns them back on as green. For some reason, yes, you have to turn off two LEDs, but then only need to turn on one LED. It took me a while to come to this realization. I tried just turning off just one but it always left one white LED on, washing out the main status color. It didn't seem to care if I used S1 or S2 when turning the green LED on. BTW Reprap doesn't support the Wxxx option for white. You have to mix.

      My pause.g starts with:
      M150 S20
      M150 R255 U255 P255 S1 F0

      The M150 S20 (can be a smaller number but I just left that in there from the example) turns off all the lights. Yes, you have to include the S20. Just sending M150 alone doesn't really work. Then it turns on yellow.

      My resume.g simply ends with the same thing that is in the Start G-Code:
      M150 R255 U255 B255 S20
      M150 S2
      M150 U255 P255 S1 F0

      That turns the white part lights back on and the green status LED.

      My stop.g ends with M150 S20. Turns off all lights.

      This all may seem like an odd way to do all this but it was the only way I could get this all to work. I've looked at many examples of other people's options but none ever seemed to work with the three Voron lights.

      Hope this helps someone.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @SpeedyDad
        last edited by droftarts

        @SpeedyDad can you post what hardware you’re using, firmware version, and the LED M950 command from config.g?

        RRF supports RGB and RGBW Neopixel LEDs, but you need to set the M950 T parameter. The default is RGB, and I suspect you have RGBW LEDs, and M150 W is supported from RRF 3.3 and later. This may explain why you have to send an odd M150 commands.
        Also see https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_Neopixel_DotStar

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        SpeedyDadundefined 1 Reply Last reply Reply Quote 0
        • SpeedyDadundefined
          SpeedyDad @droftarts
          last edited by

          @droftarts Thans. I'll have a look.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA