From b45b64b8129f4dc14714e698e9e78578d5cb6a35 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Mon, 20 Mar 2023 08:10:20 +0100 Subject: [PATCH] Updated Variant USART (markdown) --- Variant-USART.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Variant-USART.md b/Variant-USART.md index 763899d..20eb6d6 100644 --- a/Variant-USART.md +++ b/Variant-USART.md @@ -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.
+Prefer hardware serial on Arduino if possible. ## :joystick: Input Command Structure: Commands are send as binary frames with following structure:
@@ -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 \ No newline at end of file +* 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 \ No newline at end of file