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

    Serial communication

    Scheduled Pinned Locked Moved
    Firmware developers
    6
    8
    1.1k
    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.
    • trublu89undefined
      trublu89
      last edited by

      I know that you can communicate using the panel due port. I currently have a lcd connected. Is there another serial pin? Im using duet ethernet.

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        Afaik only two uarts and one is used with the usb port, the other with the PanelDue. If you want to use the usb one you need to either look into re-mapping the pins(not sure if possible) or connect it to a usb host and go from there.

        1 Reply Last reply Reply Quote 0
        • trublu89undefined
          trublu89
          last edited by

          I don't use the usb at all. Only ethernet for communication.

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            see
            https://forum.duet3d.com/topic/7558/unable-to-find-uart-pins-for-prusa-mmu-v2-0

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

              There is one other possible solution not mentioned in that thread. If you don't use the SPI daughter board connector for anything, and don't use a ribbon cable to connect the PanelDue, then you could program the USART that handles that SPI channel in UART mode.

              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
              • Technik Geggundefined
                Technik Gegg
                last edited by

                @trublu89
                I was facing the same problem and solved it by utilizing a ESP32 in between the Duet3D and the PanelDue, a serial port splitter, so to say.
                If that's what you're looking for, head over to Github. There you'll find a description of the project and the firmware source code.
                Using a ESP32 seems a bit overdrawn but eventually, you can do so much more (i.e. controlling it via Bluetooth or WiFi - or make use of the additional port pins to address servos or relais) in case you need it.

                JoergS5undefined 1 Reply Last reply Reply Quote 2
                • JoergS5undefined
                  JoergS5 @Technik Gegg
                  last edited by

                  @technik-gegg That's a very interesting solution!

                  1 Reply Last reply Reply Quote 0
                  • Technik Geggundefined
                    Technik Gegg
                    last edited by

                    @JoergS5
                    Thanks.

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