![]() (note: you will get two serial communication ports under '/dev/pts/', ) Create virtual serial ports: in terminal 'socat -d -d pty,raw,echo=0 pty,raw,echo=0'.Install socat: in terminal 'sudo apt-get install socat'.You could either code the serial to udp conveter or use socat (easy). ![]() You can actually send the G-code commands to the printer through the ethernet-port(/wifi). Wire To Run from X-Pro Power Supply to USB voltage Converter - īefore you start disassembling your printers, maybe try a software approach. Serial to USB Converter for UART to Pi. You will need to use a voltage step down adapter to USB - 18V to 5V and then a USB to micro-usb cable to go from the step down converter to the micro-usb port on the PI (or the USB-C port if you are using a Pi 4). Also, you can power your Pi directly off the X-Pro's power supply as there is one terminal available. Just be sure to hook up the RX and TX properly and you won't have my problem. Pick up a cheap adapter on Amazon most come with the UART cable. The USB port on the side of the X-Pro is just for thumbdrives. The only way for the Pi to talk to the X-Pro is via the UART header on the X-Pro mainboard (see photos above) to a USB port in the Pi, via a serial to USB adapter. ![]() Hi Slyder: Essentially, I used the exact same setup that Stonebaker depicts in his photo, above.
0 Comments
Leave a Reply. |