Well, if you pick a Pi that supports gadget mode then it could plug into the PC and appear as an Ethernet device (technically it's still only USB), or as a serial port. Then it's a case of establishing a connection to it from your Python script (sockets for Ethernet, PySerial for, er, serial).
You could also power the Pi via some means and connect a USB 3.3V serial adapter to the PC. Connect the serial end of the adapter to the serial port pins on the Pi.
Surprised you couldn't find anything like this, it's pretty simple stuff.
You could also power the Pi via some means and connect a USB 3.3V serial adapter to the PC. Connect the serial end of the adapter to the serial port pins on the Pi.
Surprised you couldn't find anything like this, it's pretty simple stuff.
Statistics: Posted by ame — Sun May 26, 2024 9:16 pm