Difference between revisions of "Open Source Self-balance Robot System"
From Microduino Wiki
(→Program Download) |
(→Operation Description) |
||
Line 164: | Line 164: | ||
*'''Joypad Communication Mode Configuration'''* | *'''Joypad Communication Mode Configuration'''* | ||
− | *For the mode configuration, you can refer to: '''[https:// | + | *For the mode configuration, you can refer to: '''[https://wiki.microduino.cc/index.php/Microduino-Joypad_Getting_started#Communication_Protocol_Configuration Communication Mode Configuration]''' |
**When we use '''[[Microduino-nRF24]]''' as the '''Communication module''', for the Joypad, you can choose '''nRF mode'''. | **When we use '''[[Microduino-nRF24]]''' as the '''Communication module''', for the Joypad, you can choose '''nRF mode'''. | ||
*'''Joypad Battery Use'''* | *'''Joypad Battery Use'''* |
Revision as of 17:03, 4 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 |