mirror of
https://github.com/EFeru/hoverboard-sideboard-hack-STM.git
synced 2026-02-17 15:31:11 +00:00
Visual update and minor fixes
- minor bug fixes - added LED board picture
This commit is contained in:
@@ -14,6 +14,9 @@ This repository implements the firmware for the hoveboard sideboards. The hovebo
|
||||
The original sideboard hardware supports one 4-pin cable that originally was connected to the hoveboard mainboard. It breaks out GND, 12/15V and USART. Additionally, two ports are used to connect to the LED boards. On the back of the board, two Photo Interrupter Optical Switches can be found, originally used to detect if a human is standing on the hoverboard.
|
||||

|
||||
|
||||
The LED boards consist of colored LEDs (blue, red, green, orange) used for design and to inform the user about the current hoverboard state.
|
||||

|
||||
|
||||
The heart of the sideboard is a [STM32F103C8T6](/docs/stm32f103c8-Datasheet.pdf) with the pinout shown in the follwing figure:
|
||||

|
||||
|
||||
@@ -40,14 +43,15 @@ If you have never flashed your sideboard before, the MCU is probably locked. To
|
||||
|
||||
To build and flash choose one of the following methods:
|
||||
|
||||
### Method 1: Using Platformio (recommended)
|
||||
### Method 1: Using Platformio
|
||||
|
||||
- open the folder in the IDE of choice (vscode or Atom)
|
||||
- press the 'PlatformIO:Build' or the 'PlatformIO:Upload' button (bottom left in vscode).
|
||||
|
||||
### Method 2: Using Keil uVision
|
||||
|
||||
- in [Keil uVision](https://www.keil.com/download/product/), open the [sideboard-hack.uvproj](/MDK-ARM/)
|
||||
- in [Keil uVision](https://www.keil.com/download/product/), open the [sideboard-hack.uvproj](/MDK-ARM/)
|
||||
- if you are asked to install missing package, click `Yes`
|
||||
- click Build Target (or press F7) to build the firmware
|
||||
- click Load Code (or press F8) to flash the firmware.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user