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

    No serial connection

    Scheduled Pinned Locked Moved
    General Discussion
    3
    13
    734
    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.
    • danny_v1undefined
      danny_v1
      last edited by

      I tried it in the console but I had no luck. It keeps the same!

      1 Reply Last reply Reply Quote 0
      • danny_v1undefined
        danny_v1
        last edited by danny_v1

        I just use the Tx from the duet. But with the M575 I hab no luck.

        Neopixel_wiring_v2.2b.jpg

        I used this connection.

        gaweyoundefined 1 Reply Last reply Reply Quote 0
        • gaweyoundefined
          gaweyo @danny_v1
          last edited by

          @danny_v1 said in No serial connection:

          just use the Tx from the duet

          Is there gccode in your sliced files to output anything to the Duet serial port, or does the system rely on listening to the PanelDue traffic?

          The latter requires a PanelDue attached to the PanelDue port, as the PanelDue is normally polling the Duet and similar solutions are passively monitoring this traffic to extract status information.

          Without a PanelDue attached, you'll need to connect to Duet Rx and issue the same polling requests the PanelDue would do.

          JadonMundefined 1 Reply Last reply Reply Quote 0
          • JadonMundefined
            JadonM @gaweyo
            last edited by

            @gaweyo The system is designed to simply listen to the PanelDue communications. Details on the Github.

            I'm really not sure what the issue could be, unless his Arduino isn't picking up the 3.3V signal.

            @danny_v1 If you keep the Arduino connected to the Computer, open a Serial Port window, and set it to 57,600baud, does it display a string of text starting with "M" every few seconds? This would confirm that the Arduino is actually running the sketch.

            Also, do you have an oscilloscope or someway to check if the arduino is getting a 3.3V serial signal?

            Just to confirm, you need to have both the PanelDue and the Arduino hooked up at the same time for this sketch to work.

            gaweyoundefined 1 Reply Last reply Reply Quote 1
            • gaweyoundefined
              gaweyo @JadonM
              last edited by gaweyo

              @JadonM said in No serial connection:

              Just to confirm, you need to have both the PanelDue and the Arduino hooked up at the same time for this sketch to work.

              much clearer, that was the point i was trying to make 👍

              edit: i suppose an M409/M408 on layer changes, or object changes in the sliced file might work, if the response is also sent to the PanelDue port.

              1 Reply Last reply Reply Quote 1
              • danny_v1undefined
                danny_v1
                last edited by danny_v1

                Yes I have both connected the arduino (mini pro, nano and uno tested) and a paneldue 5i. On the arduino nano the rx led is blinking every second. The Panel is working fine. I also tested to add a level converter (Tx, 3.3V, and GND from the Duet to the low side and Rx, 5V and GND from the arduino on the high side).

                I can make the test with the serial monitor tonight. And also I will test the M408/M409.

                Thank you so far, hope it will work.

                gaweyoundefined 1 Reply Last reply Reply Quote 0
                • JadonMundefined
                  JadonM
                  last edited by JadonM

                  Great!

                  If the Arduino's RX light blinks, then it should be getting a signal. That likely means it's not running the code. How do you know the Arduino isn't receiving data? Because the NeoPixels don't light?

                  Definitely check the serial monitor. 👍

                  1 Reply Last reply Reply Quote 0
                  • gaweyoundefined
                    gaweyo @danny_v1
                    last edited by

                    @danny_v1 said in No serial connection:

                    And also I will test the M408/M409.

                    paneldue will send those if the paneldue is working normally (is it?)

                    1 Reply Last reply Reply Quote 0
                    • danny_v1undefined
                      danny_v1
                      last edited by

                      ok the serial communication is ok, the sktech does not work with my paneldue firmware, an other sketch works. For this I want to use I need paneldue firware 3.2, but I have just 1.21.4.

                      gaweyoundefined 1 Reply Last reply Reply Quote 0
                      • gaweyoundefined
                        gaweyo @danny_v1
                        last edited by

                        @danny_v1 yeah, PanelDue switch from M408 to M409 at some point, i.e. taking advantage of the object model available in RRF 3.x - so you'll need to match the PanelDue firmware version to the Sketch so they assume the same type of PanelDue communication.

                        You can upgade the PanelDue firmware, but you'll also need to run RRF firmware 3.x something, refer to the PanelDue release notes.

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