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

    7 Colour RGB Lighting Setup

    Scheduled Pinned Locked Moved
    Example setups and prints
    2
    5
    564
    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.
    • Spargoundefined
      Spargo
      last edited by Spargo

      Hi all,

      As part of my printers I needed some lighting to be controlled by the Duet board itself (Mine is a Duet 2 WiFi 1.04). I've set up some 2N7000 transistors to be controlled on the gate by some unused heater pins on the expansion header.

      The Gcode is below along with a picture of the specific pins I used to control each colour. Your red, green and blue might end up being in a different order than I have in the Gcode. I used a common cathode RGB strip light running on 12V.

      I hope this helps a few people.

      Additionally, it can be included in your config.g with the following line in misc at the end:

      M98 P"/macros/rgb_lighting_setup.g" ; Include RGB Lighting macro in startup process

      If there is no .g in the name when you upload the macro, don't include the .g in the M98.

      RGB_Lighting_Setup.g

      RGB Pins Duet 2 Wifi.png

      1 Reply Last reply Reply Quote 2
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

        thanks! would love to see a picture of your setup.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • Spargoundefined
          Spargo
          last edited by Spargo

          Here's a short video of the attached macro (in the dark!)

          https://youtu.be/sCaVMq7UaOA

          Do you mean a picture of the circuit setup?

          1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators
            last edited by

            Thanks! no i meant how you were using the lights in your printer. Disco indeed!

            www.duet3d.com

            1 Reply Last reply Reply Quote 0
            • Spargoundefined
              Spargo
              last edited by

              Ah right! I'm using some of the colours for different functions such as completed prints, paused prints, cancelled prints etc. I'm not currently planning on using all of the colours though, but at least they're available for future use.

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