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

    Dedicated Multicolor LED Plug

    Scheduled Pinned Locked Moved
    Hardware wishlist
    10
    16
    3.8k
    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.
    • T3P3Tonyundefined
      T3P3Tony administrators
      last edited by

      Yes there is a balance between additional components on the main board, and having to have an expansion board "just" for extra LEDs.

      Saying that if you just wanted LEDs then a stripboard circuit with simple through hole components is easy to rig up using the expansion header.

      www.duet3d.com

      1 Reply Last reply Reply Quote 0
      • kelchmundefined
        kelchm
        last edited by

        What about control of more complex RGB led arrays such as neopixels?

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman
          last edited by

          @kelchm:

          What about control of more complex RGB led arrays such as neopixels?

          Why do you think that functionality should added to a 3D printer controller?

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 0
          • sigxcpuundefined
            sigxcpu
            last edited by

            … play Doom on PanelDue while printing? πŸ™‚

            1 Reply Last reply Reply Quote 1
            • kelchmundefined
              kelchm
              last edited by

              Printrbot sells one here which is included on the Simple Pro. I think the Delta Go also uses a neopixel ring.

              Basically I'd like to have statuses indicated something like this:

              • Idle: white/blue

              • Heating Up: 'breathing' fade from blue to red

              • Printing: white

              • Error: flashing red

              EDIT: Here's the implementation in Printrbot's Marlin fork: https://github.com/Printrbot/Marlin/blob/prod-platformio-2017/src/botlight.cpp

              1 Reply Last reply Reply Quote 0
              • Zesty_Lykleundefined
                Zesty_Lykle
                last edited by

                It is really hard not to want a lot of bling on the printer.
                Especially if it is useful bling telling the status.

                Lykle
                Design, make and enjoy life

                Co Creator of the Zesty Nimble

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

                  I am all for bling if it can be accomplished with out addin to the cost for everyone who does not want bling πŸ™‚

                  In this case, looking at neo pixels and 3.3V systems:
                  https://learn.adafruit.com/adafruit-neopixel-uberguide/power#driving-5v-neopixels-from-3-dot-3v-microcontrollers

                  IT looks like a short run of neo pixels may be able to work with a 3.3V system, provided and external ~3.7V supply was used to light the pixels or a 3.3V to 5V level shifter was used with a 5V supply.

                  Looking at this page

                  https://learn.adafruit.com/adafruit-neopixel-uberguide/advanced-coding

                  It implies the NeoPixels need an 800Khz signal for communication. This is well within the capabilities of the Duet, however the firmware would need to adapted to provide support (so a request to add to the firmware wish list. The advantage to adding support for neo pixel is that it only requires one logic pin to set a number of LEDs. The disadvantage is that it then limits us to using neopixels (or compatibility) rather than any old RGB leds.

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman
                    last edited by

                    I'm just feeling my age.

                    Idle = nothing's moving - I don't need to look at a Blue/White LED to tell me that.
                    Warming up = I've started a print but nothing is yet moving - why do I need a fading Blue to Red LED to tell me that?
                    Printing = the b***dy thing is moving back and forth and there is hot gooey filament coming out - I need a white LED as well???
                    Error = I have a horrible mess of plastic on the print bed - I can see it perfectly well without it being illuminated by a flashing Red LED.

                    Thoughts of a grumpy old man….............

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    1 Reply Last reply Reply Quote 0
                    • kraegarundefined
                      kraegar
                      last edited by

                      I have some RGBW neopixels I'll be connecting to my printer today. I'll be driving them with a separate nano or trinket (I have a few of each around). At first, there will just be some pre-programmed loops I can switch through with a button. They're powered off of a separate 5v supply so it has enough current.

                      I see two options for how to decide what to display on them:

                        • use the RPi running my webcam to scrap rr_status, and change the LED display based on that by sending GPIO signal to the arduino's pins. This allows a lot of different settings and functions, and can auto disable them when the duet's off. More complex coding.
                      1. use gcode to send signal to pins on the duet, connect them to the arduino to indicate status. (I can power the nano off of the same 12v power as the duet, same ground). This would let me change the LED state via gcode to indicate different printer conditions. However, I'm not sure how many pins I can use to do this. Is there a way I can enable / disable signal on the GPIO pins using gcode?

                      Co-Creator of the RailcoreII CoreXY printer
                      https://www.thingiverse.com/thing:2407174

                      1 Reply Last reply Reply Quote 0
                      • Jackalundefined
                        Jackal
                        last edited by

                        Is there a way I can enable / disable signal on the GPIO pins using gcode?

                        https://duet3d.com/wiki/G-code#M42:_Switch_I.2FO_pin
                        https://duet3d.com/wiki/Using_servos_and_controlling_unused_I/O_pins

                        1 Reply Last reply Reply Quote 0
                        • kraegarundefined
                          kraegar
                          last edited by

                          Very handy, thanks Jackal.

                          I think, at least at first, controlling status via gcode using m42 will be the easier of the two options, though it won't give me quite as cool of results (no way to slowly increase the color to be more red as the temperature warms up, for instance)

                          Sill, allows me to do some cool things very easily.

                          Co-Creator of the RailcoreII CoreXY printer
                          https://www.thingiverse.com/thing:2407174

                          1 Reply Last reply Reply Quote 0
                          • kraegarundefined
                            kraegar
                            last edited by

                            If I were to want to scrape status, would I be better using the pi to pull rr_status, or should I connect it via serial and poll status that way? (curl grabs rr_status nicely for parsing, so was thinking I'd go that route)

                            Co-Creator of the RailcoreII CoreXY printer
                            https://www.thingiverse.com/thing:2407174

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