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

Arduino nano+duet3mini

Scheduled Pinned Locked Moved
Accessories and Add-ons
3
14
692
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.
  • undefined
    alankilian @Vladimir_U
    last edited by 31 Jan 2022, 21:39

    @vladimir_u Are you doing M575 P2 to use the io_1 serial port instead of the io_0 serial port?

    I really don't know a lot about this, so I'm kind of guessing and hoping it will help.

    I hope you understand.

    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

    undefined 1 Reply Last reply 31 Jan 2022, 21:44 Reply Quote 0
    • undefined
      Vladimir_U @alankilian
      last edited by 31 Jan 2022, 21:44

      @alankilian I will now try to switch to port and io_0 and configure it as M575 P1 . But I think I've already done that today😵

      undefined 1 Reply Last reply 31 Jan 2022, 21:46 Reply Quote 0
      • undefined
        alankilian @Vladimir_U
        last edited by 31 Jan 2022, 21:46

        @vladimir_u Do you think Tx is flashing when the Duet is trying to talk to the Arduino?

        If so, swap the Tx/Rx pins.

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        undefined 2 Replies Last reply 31 Jan 2022, 21:49 Reply Quote 0
        • undefined
          Vladimir_U @alankilian
          last edited by 31 Jan 2022, 21:49

          @alankilian I used port io_1 after reading these messages: https://forum.duet3d.com/topic/24557/neopixels-duet3-mini5/14?_=1643657549949#

          1 Reply Last reply Reply Quote 0
          • undefined
            Vladimir_U @alankilian
            last edited by 31 Jan 2022, 22:03

            @alankilian changing pins Rx/Tx does not give results.
            changing the port from io_1 to io_0 with the command M575 p1 does not give results.
            Connecting 5 volts to the port does not give results.
            How to access arduino from the console?

            1 Reply Last reply Reply Quote 0
            • undefined
              Vladimir_U
              last edited by 31 Jan 2022, 22:07

              here is a section of the arduino nano circuit. can the connection with the ch340 interfere with communication?
              Снимок экрана 2022-02-01 010645.png

              1 Reply Last reply Reply Quote 0
              • undefined
                Vladimir_U
                last edited by 31 Jan 2022, 22:36

                I removed the resistors r6 and r7 from the board, which connect the tx and rx with the ch340. the connection has appeared.Both on port io_0 and io_1, depending on the settings of the m575. Some functions work. We need to correct the sketch. But it will be inconvenient to flash now...

                undefined 1 Reply Last reply 31 Jan 2022, 22:41 Reply Quote 0
                • undefined
                  alankilian @Vladimir_U
                  last edited by 31 Jan 2022, 22:41

                  @vladimir_u

                  If I'm understanding you correctly, you should be able to use the other serial port if you update the sketch.

                  ALSO, you did add the level shifter between the Arduino Tx line and the Duet right?
                  So you don't ruin your duet.

                  SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                  undefined 1 Reply Last reply 31 Jan 2022, 22:51 Reply Quote 0
                  • undefined
                    Vladimir_U @alankilian
                    last edited by 31 Jan 2022, 22:51

                    @alankilian yes, I have heard that it is possible to assign digital pins for rx and tx. But I've never programmed an arduino. I need to figure out how to do this.
                    I didn't use the level shifter. It is stated that the io_0-io_4 ports on the duet3mini have resistors and are capable of receiving a signal up to 30V.

                    undefined 1 Reply Last reply 2 Feb 2022, 21:52 Reply Quote 0
                    • undefined
                      dc42 administrators @Vladimir_U
                      last edited by 2 Feb 2022, 21:52

                      @vladimir_u the Arduino Pro Micro and Leonardo are easier to interface to a Duet. They accept 3.3V level signals when powered from 5V, and the serial port is separate from the USB port used for programming.

                      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

                      undefined 1 Reply Last reply 3 Feb 2022, 08:00 Reply Quote 0
                      • undefined
                        Vladimir_U @dc42
                        last edited by 3 Feb 2022, 08:00

                        @dc42 Yes, I know about it. But I didn't have these arduino models in stock. It was interesting to connect the "nano" that I had. And everything worked out...

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