# Reaction-Wheel-Bike
**Repository Path**: fspace/Reaction-Wheel-Bike
## Basic Information
- **Project Name**: Reaction-Wheel-Bike
- **Description**: arduino 平衡自行车
- **Primary Language**: Arduino
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-06-11
- **Last Updated**: 2022-06-12
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Reaction-Wheel-Bike
Gimbal controller BGC 3.1 (use as Arduino), gimbal motor EMAX 2806-100KV, MPU6050, magnetic encoder AS5048A connected over SPI.
One of the servos I modified for continuous rotation.
I use the Simple FOC library to control the BLDC motor.
Both bikes works with the same firmware. Difference only in design.
For remote control I use Joy BT Commander.
Balancing controller can be tuned remotely over bluetooth.
Example:
Send p+ (or p+p+p+p+p+p+p+) for increase K1.
Send p- (or p-p-p-p-p-p-p-) for decrease K1.
The same for K2, K3, K4. Send "s", "i", "d".
More about this bikes:
https://youtu.be/UzjqdoTVhOU
https://youtu.be/6snsCNyjHRU
https://youtu.be/17oNO7piRTU