mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-03 17:44:27 +02:00
Updated Variant USART (markdown)
@@ -5,9 +5,10 @@ You can also test this variant with following [Web Tool](https://github.com/Cand
|
|||||||
This [Python code](https://github.com/kosni68/HoverSerial) inspired by the code shared in this [issue](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/issues/157) can also be used to control the firmware.
|
This [Python code](https://github.com/kosni68/HoverSerial) inspired by the code shared in this [issue](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/issues/157) can also be used to control the firmware.
|
||||||
|
|
||||||
## Configuration/Parameters
|
## Configuration/Parameters
|
||||||
Use CONTROL_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 for the right sensor cable(default), or CONTROL_SERIAL_USART2 and FEEDBACK_SERIAL_USART2 for left sensor cable.<br>
|
Use CONTROL_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 for the right sensor cable(default).<br>
|
||||||
SIDEBOARD_SERIAL_USART2 or SIDEBOARD_SERIAL_USART3 parameters enable a different [protocol](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/143) implemented on the [sideboard firmware](https://github.com/EFeru/hoverboard-sideboard-hack-GD). It can also be used with the [Web tool](https://github.com/Candas1/Hoverboard-Web-Serial-Control#protocol---hovercar) for testing the different control modes/types.<br>
|
Use CONTROL_SERIAL_USART2 and FEEDBACK_SERIAL_USART2 for left sensor cable.<br>
|
||||||
You can adjust USART2_BAUD and USART3_BAUD parameters if you need different baud speed.
|
SIDEBOARD_SERIAL_USART2 or SIDEBOARD_SERIAL_USART3 parameters can be used instead CONTROL_SERIAL_USART2 or CONTROL_SERIAL_USART3 to enable a different [protocol](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/143) implemented on the [sideboard firmware](https://github.com/EFeru/hoverboard-sideboard-hack-GD). It can also be used with the [Web tool](https://github.com/Candas1/Hoverboard-Web-Serial-Control#protocol---hovercar) for testing the different control modes/types.<br>
|
||||||
|
You can adjust USART2_BAUD or USART3_BAUD parameters if you need different baud speed.
|
||||||
|
|
||||||
## Wiring:
|
## Wiring:
|
||||||
* Connect blue wire to RX, green wire to TX and black wire to GND of Arduino on right sensor cable(shorter)
|
* Connect blue wire to RX, green wire to TX and black wire to GND of Arduino on right sensor cable(shorter)
|
||||||
|
Reference in New Issue
Block a user