Difference between revisions of "Open Source Self-balance Robot System"
From Microduino Wiki
(→Program Download) |
(→Buildup Steps) |
||
Line 145: | Line 145: | ||
**Communication Module: | **Communication Module: | ||
***Under Joypad mode, the communication module is '''[[Microduino-nRF24]]'''(Please firstly install '''2.4G antenna''') | ***Under Joypad mode, the communication module is '''[[Microduino-nRF24]]'''(Please firstly install '''2.4G antenna''') | ||
− | ***Under BLE mode, the communication module is '''[[Microduino- | + | ***Under BLE mode, the communication module is '''[[Microduino-BLE]]''' |
[[File:Balancestep6-1.jpg||350px|center]] | [[File:Balancestep6-1.jpg||350px|center]] | ||
*Connect the '''Stepping motor''' to '''[[Microduino-Stepper]]''' with '''Stepper cable '''. | *Connect the '''Stepping motor''' to '''[[Microduino-Stepper]]''' with '''Stepper cable '''. |
Revision as of 05:53, 5 June 2016
Contents[hide]Overview
Bill of MaterialBill of Modules (Joypad Mode)
Bill of Modules (Bluetooth Mode)
Other Material
Program DownloadDownload source programs from the address below: BalanceCar_Microduino Programming
Buildup Steps
Operation Description
Joypad Remote Control Instructions
BLE Control Guide
Lithium Battery Charging
Code Description
#define NRF_CHANNEL 70 //nRF channel
#define YAW 0
#define PITCH 1
#define ROLL 2
//Attitude sensor installation direction.
#define DIRECTION PITCH
#define KP_CON 0.2 // 0.25
#define KI_CON 0
#define KD_CON 28 // 30 28 26
#define KP_THR 0.065 //0.08//0.065
#define KI_THR 0.0005//0.05
#define KD_THR 0 FAQ
Video |