Files
2020-11-18 19:00:45 +08:00

4.9 KiB
Raw Permalink Blame History

BALA

SKU:K014

Description

BALA is short for 'Balance', like its namesake, BALA is a Self Balancing Robot consist of a M5 FIRE and two wheels(DC motors). This Application product comes with preloaded software, a self-balance robot application. While there are lots of open source code on Arduino as well, We especially encourage you to modify and enhance the code yourself. This Self Balancing Robot is a Two-wheeled Robot that balances vertically using a closed-loop algorithm. This Self Balancing Robot Features various modes like Position Hold, Simple Mode, Rise Mode and Joystick Control. This Robot is controllable by a Smartphone device or a Transmitter. Self Balancing robot uses data from the Accelerometer and Gyroscope to correct its orientation and position.The 2 DC driver module communicates with M5Stack FIRE through I2C bus. It's default I2C address is 0x56.

Product Features

  • Programming Support
    • Python
    • UIFlow (Blockly)
    • Arduino
  • Compatible LEGO
  • POGO Pin
  • TF Card Support

Include

  • 1x M5Stack BALA
  • 1x Motor Driver
  • 2x N20(Encoder included)
  • Type-C USB Cable

Applications

  • Balancing car

Sensor calibration

NOTE: Calibration required for first usePress and hold the right C key to start the machine, and release the key after hearing the "drip" sound. The sensor will enter the calibration setting, and keep the host horizontal and still. After 3 seconds, the sensor calibration is completed, and it will automatically enter the balance mode after the calibration is completed.If you found that Bala cannot keep balance during use, it can be solved by trying to calibrate the sensor.

Specification

Resources Parameter
Net weight 130g
Gross weight 247g
Product Size 90*54*61mm
Package Size 185*108*81mm

EasyLoader

IMU 6050

download EasyLoader

MPU 6886

download EasyLoader

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

?>3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial,This program is only available for devices that use the MPU9250/MPU6886. (SH200Q is not supported).

PARAMETER

Model M5Stack FIRE
ESP32 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth
Flash 16MB Flash + 4MB PSRAM
Input 5V @ 500mA
Interface TypeC x 1, CONNEXT(I2C+I/0+UART), Pogo Pin x 1
LCD 2 inch, 320x240 Colorful TFT LCD, ILI9341
Speaker 1W-0928
Microphone MEMS Analog BSE3729 Microphone
LED SK6812 3535 RGB LED x 10
MEMS BMM150+(MPU6886/SH200Q)
Battery 550mAh @ 3.7V, inside
Op.Temp. 32°F to 104°F ( 0°C to 40°C )
Size 54 x 54 x 21 mm
C.A.S.E Plastic ( PC )

Example

1. Arduino IDE

To get complete code, please clickclick

PinMap

Mega328 ISPDownload interface Pin foot definition

Video

BALA Case

<script> var purchase_link = 'https://m5stack.com/collections/m5-application/products/bala-esp32-development-mini-self-balancing-car'; var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/bala/bala_quick_start'; anchor_search(purchase_link,quickstart_link); scrollFunc(); </script>