Getting Started with a Duet Mainboard 6HC
-
I am just getting started using the Duet3D products. I have a 6HC Mainboard (rev 1.0 firmware) a raspberry Pi (ver 3.x) and the included 3dDuet rectangular touchscreen.
While I’m familiar with 3D printers (I use a Prusa) we will be using the 6HC as a simple multichannel stepper motor controller for a non-printer application. Currently I have the board setup with a raspberry Pi wired to the 6HC using thru the SPI interface & Gcode.
Going forward I would like to develop a higher level interface that doesn’t require the user to enter Gcode commands directly to move a stepper motor. We have discussed using Python and as I work on understanding the features of this PCB, I was wondering can the firmware be setup to accommodate function calls to configure and move the stepper motor without Gcode.
Thanks in advance, I look forward to working with this group
-Joe
-
There is a python api at https://github.com/Duet3D/dsf-python
You possibly also want to read up on the object model if you're going to want to know about the state of the machine (ie if your system is doing more than just blindly sending gcode).
You can also submit instructions and interrogatre the object model over http, so if something can generate http requests (even something as basic as a shell script using curl) you can 'drive' the printer - see https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests.
-
@joefnh said in Getting Started with a Duet Mainboard 6HC:
(rev 1.0 firmware) a raspberry Pi (ver 3.x) and the included 3dDuet rectangular touchscreen
Version 1.0 firmware and an included touchscreen sounds strange. Where was this board purchased from?