How to connect to your 3D printer using picocom
Use this command to connect to your Marlin-based 3D printer:
picocom_connect.sh
picocom -b 115200 /dev/ttyUSB0 --imap lfcrlf --echoThis command might also work for firmwares other than Marlin.
On some boards the USB port is called /dev/ttyACM0 instead of /dev/ttyUSB0. In this case, use
picocom_connect_acm.sh
picocom -b 115200 /dev/ttyACM0 --imap lfcrlf --echoBy default, picocom uses character maps that cause the newlines not to be shown correctly. --imap lfcrlf maps line feeds sent by the printer to CR + LF on the terminal. --echo enables local echo, enabling you to see what you are typing.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow