BugC

SKU:K033

Description

BugC is a programmable robot base compatible with the M5StickC. This has four DC motors, motor driver, two RGB LEDs, battery holder and a switch. The Bugc base needs to be used in conjunction with the M5StickC controller. The base comes with an STM32F030F4 micro controller which controls all the motors and LEDs and this is controlled through I2C protocol(0x38) by the M5StickC which sits on top of the base.

Product Features

  • remote control
  • Programmable
  • Four-way motor driver
  • 4xGeared motors
  • 2xRGB LEDs
  • Simple and compact design
  • Equipped with a battery holder
  • Flexible movement in all directions
  • Motor Specification:
    • Rated voltage: 3.7V DC
    • Rated speed: 15000-2000rpm
    • Rated current: 50mA
    • Stall current: 70mA
    • Insulation resistance: 10MΩ

Include

  • 1x BugC base
  • 1x 16340 Battery(750mAh)

Applications

  • RC motor
  • Robot control
  • Smart and cognitive toys

Specification

Resources Parameter
Communication protocol I2C:0x38
Net weight 34g
Gross weight 46g
Product Size 55*40*25mm
Package Size 74*46*9mm

EasyLoader

PinMap

M5StickC GPIO0 GPIO26 3.3V GND BAT
BugC SDA SCL 3.3V GND BAT

Protocol

  • Protocol type I2C
  • I2C Address: 0x38
/*--------------------------------------------------------------------------------------------------*/
| MOTOR SPEED REG       | 0x00
| ------------------------------------------------------------------------------------------------
| FRONT_LEFT_reg[0]        |  R/W  |  FRONT_LEFT SPEED
| FRONT_RIGHT_reg[1]       |  R/W  |  FRONT_RIGHT SPEED
| REAR_LEFT_reg[2]         |  R/W  |  REAR_LEFT SPEED
| REAR_RIGHT_reg[3]        |  R/W  |  REAR_RIGHT SPEED
/*----------------------------------------------------------------------------------------------------

/*--------------------------------------------------------------------------------------------------*/
| RGB LED COLOR REG       | 0x10
| ------------------------------------------------------------------------------------------------
| left/right_reg[0]  |  R/W  | left/right control
                           | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
                           | R | R | R | R | R | R | R | SELECT |
                           | -SELECT: 0 FRONT_LEFT RGB LED
                           |          1 FRONT_RIGHT RGB LED
| rgb_r_reg[1]  |  R/W  |  RED value
| rgb_g_reg[2]  |  R/W  |  Green value
| rgb_b_reg[3]  |  R/W  |  Blue value
/*----------------------------------------------------------------------------------------------------

Example

Arduino

UIFlow