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

    Driving ANDON light stick to report printer status

    Scheduled Pinned Locked Moved
    Accessories and Add-ons
    3
    4
    233
    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.
    • Hey_Allenundefined
      Hey_Allen
      last edited by Hey_Allen

      I have been using a Duet Wifi for years, but haven't really gone down the rabbit hole of any inputs or outputs beyond the default Configurator supported bits until now.

      My employer bought a RailCore II printer, and then put it in a location (behind a partition) that is easily forgotten about.
      We have an extra 24vdc status indicator light stick, and I'm looking to program some triggers that would turn on outputs on the DueX5, probably just extra PWM fan outputs or heater outputs, and use them to power the status lights.

      My initial thought was to trigger the one light any time the printer is on, easily done by just wiring it to the PSU output.
      The second light would be if there is a print in progress, possibly blinking it slowly just to say that the printer is operating. (one of the spare extruder heater outputs set to bang-bang at low frequency, was my thought.)
      The final thought was to trigger a red light or strobe if there was a fault, such as a thermal runaway and the printer locked out the heaters, etc.

      Can someone point me toward the right direction to get started with this, in the RepRapFirmware programming style?
      I would like to understand it and do it, but I'm not sure where to start when it starts wandering away from the basics.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        @hey_allen said in Driving ANDON light stick to report printer status:

        24vdc status indicator light stick

        Can you give some more details on this device? What kind of LEDs? You could maybe do the simple parallel wiring for the different lights. That might be straight forward. But you could also make use of the object model, conditional gcode, and the daemon.g file to monitor different statuses and turn LEDs off and on as needed.

        Z-Bot CoreXY Build | Thingiverse Profile

        Hey_Allenundefined 1 Reply Last reply Reply Quote 0
        • Hey_Allenundefined
          Hey_Allen @Phaedrux
          last edited by Hey_Allen

          @phaedrux
          The lights are a stacklite set, of course I don't have the actual brand and model, but like the one shown in this wiki's first image.
          https://en.m.wikipedia.org/wiki/Stack_light

          I believe they all share a common v+ wire, but diodes can be used to work around that, or I can roll a switching logic isolation board to go between the duet and the lights.

          The part I was looking for advice on was where to get started in trying to trigger them.

          I'll start reading on the functions you mentioned, and see what I can find, and other questions come up from there.

          Thank you for the suggested reading.

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @Hey_Allen
            last edited by

            @hey_allen if they are 24V common positive then you should be able to drive them from spare heater or fan outputs. I suggest you create code in daemon.g that monitors state.status in the object model every few seconds and sets the lights accordingly.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

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