简体   繁体   中英

Use uart on Raspberry Pi usb port with Python

im working on a project to connect a Pic to a Raspberry pi via uart.

I know they both have uart pins, but I need to connect them via usb, the cable also serves as the power supply for the Pic.

So my question is, is it possible to use python, C# might also be an option with mono, to use an USB port on the Raspberry Pi for UART?

this is a tutorial I found about uart on the Raspberry Pi with Python

a turorial on what is uart

Not possible.

USB uses two 'pins' for transmission using 'differential signaling'. This means, both pins are used for sending and transmission.

In UART you use one pin for transmission and one for reception.

Without any interface, not possible.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM