Communication with a raspberry pi?
-
Is there a way to communicate with a raspberry pi via gcode? I want to trigger events. Network, one wir gpio or something else? Is there a "best" way?
-
You can use M42 to toggle a digital pin on the Duet, which you can read in on your RPi.
Or you can use Telnet to connect via Wifi, and use M118 to send text messages from the Duet to the RPi.
Or connect your Duet via USB to the RPi and use the regular serial connection (bi-directional).If you look through the forum, there are a couple of posts that describe this (including a few of mine).
-
Thank you!
I think im going to connect the pi with a "data only" usb cable.