Initital Connection of a Raspberry Pi to Duet 2 Wifi
-
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 RegardsRoydon Mackay
-
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…
-
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 -
@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.
-
@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