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

    Initital Connection of a Raspberry Pi to Duet 2 Wifi

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    5
    444
    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.
    • RoyMackayundefined
      RoyMackay
      last edited by

      Hi All,
      I'm working on a custom project here, using a duet 2 wifi board with a raspberry pi 4.0. I've gone through the forums and technical documentation and haven't found a specific wiring guide for how to connect these, so right now I've got the raspberry pi connected to the duet board using the usb (raspberry)/ usb mini port (duet). I've also installed the duetpi operating system on the raspberry pi. I'm connecting to the raspberry pi using a RealVNC, but its just showing the blue connecting box in the center of the screen, and at the bottom it has the error message "Failed to connect to localhost- Could not connect to DUET: Timeout while waiting for transfer ready pin. I'm assuming this means the usb connection isnt enough and I've got to add more, but what ...
      If there some wiring guide that I've missed my apologies
      Any assistance would be appreciated
      Kind Regards

      Roydon Mackay

      infiniteloopundefined 1 Reply Last reply Reply Quote 0
      • infiniteloopundefined
        infiniteloop @RoyMackay
        last edited by

        @RoyMackay

        I've gone through the forums and technical documentation…

        You might have missed this from here:

        The Duet 2 Wifi External Antenna and Duet 2 Ethernet are Not Recommended for New Designs. The Duet 2 Wifi with Internal Antenna is End Of Life.

        For the Duet 3 family, the docs are here: Single Board Computer (SBC) setup for Duet 3.

        Searching the forum for "Duet 2 SBC", you simply can’t miss this thread: Duet 2 Ethernet and SBC.

        Have a nice read… 😊

        RoyMackayundefined 1 Reply Last reply Reply Quote 0
        • RoyMackayundefined
          RoyMackay @infiniteloop
          last edited by

          To anyone with the misfortune to come across this in future,
          For my particular case, I didn't care about the web portal, and also didn't need or want to receive any information back from duet board, I simply needed to send G-code that I'd generated on my mobile phone to the board and have it carry out the commands. I wasn't thrilled about the idea of removing the wifi module and soldering the new connections for an SPI bus onto the board, so for the time being, I've just connected the board to the raspberry pi using the usb connections, and send the data using 'minicom'. I haven't finished building the machine yet, so I won't know for sure if its working, but at this stage it seems to be transmitting, and the board is replying with errors due to the fact there's no steppers connected. Possibly not a workable solution if it's a standard upgrade for a home printer, but for what I'm doing I think(hope) it will work well enough.
          For reference the application is a custom mobile small engraver, with gcode that's generated on an iPhone. The firmware on the board is the Reprap 3.5(latest at time of posting), configured for SBC, and I wound up just using the standard 32 bit raspberrypi OS

          dc42undefined droftartsundefined 2 Replies Last reply Reply Quote 1
          • dc42undefined
            dc42 administrators @RoyMackay
            last edited by

            @RoyMackay I'm glad you got it working. The DuetPi image requires a SPI link to the Duet so as you are using a USB connection instead, using the regular RPi OS is the right thing to do. You won't get features such as the web interface and fast pausing that way, but if you need those you can enable wifi on the Duet and connect to it using a web browser.

            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
            • droftartsundefined
              droftarts administrators @RoyMackay
              last edited by

              @RoyMackay For streaming Gcode over USB limitations, see https://docs.duet3d.com/User_manual/RepRapFirmware/RepRapFirmware_overview#printing-over-usb-connection-octoprint-cura-simplify3d-etc

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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