mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-18 18:20:15 +08:00
644 B
644 B
UART Interface
The ODrive's UART interface is enabled by default (see odrv0.config.enable_uart). Currently it runs both the Native Protocol and the ASCII Protocol at the same time.
The baudrate is 115200 by default and can be changed using odrv0.config.uart_baudrate. Changes to the UART configuration require a reboot to take effect.
The logic level of the ODrive is 3.3V. The GPIOs are 5V tolerant.
Pinout:
- GPIO 1: Tx (connect to Rx of other device)
- GPIO 2: Rx (connect to Tx of other device)
- GND: you must connect the grounds of the devices together. Use any GND pin on J3 of the ODrive.