Ttl232r-3v3 Driver [SAFE]
import serial ser = serial.Serial('/dev/ttyUSB0', 115200, timeout=1) ser.write(b'Hello\n') print(ser.readline()) :
| Color | Signal | Direction | Typical Use | |--------|--------|-----------|--------------| | | GND | - | Common ground | | Brown | CTS | Input to cable | Clear to Send (hardware flow control) | | Red | VCC (3.3V out) | Output from cable | Power small target (limited current!) | | Orange | TXD | Output from cable | Connect to target's RX | | Yellow | RXD | Input to cable | Connect to target's TX | | Green | RTS | Output from cable | Request to Send (flow control) | ttl232r-3v3 driver
stty -F /dev/ttyUSB0 9600 cs8 -cstopb -parenb : import serial ser = serial