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

    Accessory I/O Advice

    Scheduled Pinned Locked Moved
    General Discussion
    duet wifi
    2
    3
    508
    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.
    • themitch22undefined
      themitch22
      last edited by

      I'd like to have print status output over serial so I can use an Arduino to display the status on an LED matrix. I also want to be able to read multiple voltages (I'm running my printer on several batteries in parallel, this can also be done with an slave Arduino) to display on the Print Status and possible pause printer when voltage on a cell drops.

      How would I go about this? Do I need to modify the firmware or can it be done natively with M codes in a macro?

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

        You can get printer status from the PanelDue port, but please note that it uses 3.3V signals levels. So you will destroy the port (possibly more) if you connect it directly to a 5v Arduino.

        To get the status, send the M408 command to the serial port with whatever S parameter gives you the status you need, and extract the required status from the JSON response.

        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

        themitch22undefined 1 Reply Last reply Reply Quote 0
        • themitch22undefined
          themitch22 @dc42
          last edited by

          @dc42 woah that's an awesome feature! Thanks

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