mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 10:34:28 +02:00
Updated Variant USART (markdown)
@@ -21,6 +21,10 @@ Commands are send as binary frames with following structure:<br />
|
||||
The FOC firmware will discard frames that are not starting with proper start frame and not ending with correct checksum.<br />
|
||||
A timeout will be triggered if no correct frame is received during the time specified with parameter SERIAL_TIMEOUT in config.h (160ms by default).<br />
|
||||
|
||||
## Calibration:
|
||||
[Calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) is not required with USART control, but can be done if you use an input devices(e.g. Joystick or Throttle handle) on the Arduino and are not taking care of calibration center value and min/max range there.
|
||||
|
||||
|
||||
## Feedback:
|
||||
Following feedback is sent:
|
||||
- Start frame(unsigned int16) : 0xABCD
|
||||
@@ -33,9 +37,6 @@ Following feedback is sent:
|
||||
- Led(unsigned int16) : Used to control the leds on the sideboard
|
||||
- Checksum(unsigned int16) : XOR checksum
|
||||
|
||||
|
||||
## Calibration:
|
||||
[Calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) is not required with USART control, but can be done if you use an input devices(e.g. Joystick or Throttle handle) on the Arduino and are not taking care of calibration center value and min/max range there.
|
||||
## Troubleshooting:
|
||||
|
||||
If the board is beeping
|
||||
|
Reference in New Issue
Block a user