mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 01:54:27 +02:00
Updated Variant USART (markdown)
@@ -21,7 +21,8 @@ Please also check the [parameters](https://github.com/EFeru/hoverboard-firmware-
|
||||
⚠️ Red wire from sensor cable delivers 15v !!!
|
||||
|
||||
## Usart configuration:
|
||||
By default, USART is configured with 115200 baud, 8 data bits, no parity, one stop bit.
|
||||
By default, USART is configured with 115200 baud(parameter USART2_BAUD or USART3_BAUD), 8 data bits, no parity, one stop bit.<br>
|
||||
Prefer hardware serial on Arduino if possible.
|
||||
|
||||
## :joystick: Input Command Structure:
|
||||
Commands are send as binary frames with following structure:<br />
|
||||
@@ -69,4 +70,5 @@ If the board is [beeping](https://github.com/EmanuelFeru/hoverboard-firmware-hac
|
||||
* Make sure you are using the sensor cable(left=CONTROL_SERIAL_USART2 or right=CONTROL_SERIAL_USART3) selected in config.h
|
||||
* Assuming RX or/and TX can be defective on your mainboard(port is defective on the MCU, 101 smd resistor is missing or has too high resistance), you can switch to other sensor cable in config.h
|
||||
* On some boards the wire colors might differ, try switching blue and green wires
|
||||
* Your Arduino TX/RX might not be working, you can verify that by trying with and FTDI and the Web tool to confirm the mainboard/firmware is not the issue
|
||||
* Your Arduino TX/RX might not be working, you can verify that by trying with and FTDI and the Web tool to confirm the mainboard/firmware is not the issue
|
||||
* You might have to reduce the baud rate if you use software serial on the Arduino
|
Reference in New Issue
Block a user