I have a printer which can use a MKS TFT 2.8, to connect to the printer, it uses one of the AUX ports on the RAMPS board - which is basically, power and TTL Serial - so I want to connect the raspberry pi zero the same way using the on board TTL Serial port.
Here is what I tried
Printer is set to 115200 baud
Ran raspi-config - disable serial port console, re-enabled the uart in /boot/config.txt
set /etc/astrobox/config.yaml to include:
serial:
port: /dev/ttyACM0
baud: 115200
And it’s not working. I have of course tried switching the TX/RX around, in case it was a wiring issue. No Joy!
Here’s the kicker, when I download cu (sudo apt-get install cu) and do
cu /drv/ttyACM0 -s 115200
I get an error like the port doesn’t exist or is in use.
Thoughts? suggestions? I’d like to be able to add a Pi Zero to the printer for this and not have to add a usb hub. The bonus being I could keep the printer’s usb port open for flashing the bios as well.