pdf-icon

Base X

SKU:K037

Description

Base X is a dedicated base compatible with LEGO EV3 motors, structurally similar to BASE26, supporting multiple mounting methods, and additionally providing a LEGO connection base, allowing Base X to be easily integrated into LEGO creations. Base X can simultaneously connect to 4 channels (RJ11) of LEGO motors, supporting angle/speed reading and control, fully compatible with the original motor functions. Additionally, the base provides 2 servo interfaces for directly controlling servo rotation angles, and a built-in PDM microphone for sound collection. To adapt to different usage scenarios, it offers a UART interface (16/17) and a GPIO interface (26/36), making it more flexible to connect various sensors. The base is equipped with a built-in 950 mAh battery, which can be charged via the M5Core's USB Type-C interface, extending the battery life. To enhance the interface's driving capability, the base is equipped with a DC power jack, allowing external 9-12V DC power to supply the motors (charging via the base is not supported).

Features

  • 4-channel RJ12 LEGO motor interface (base total maximum current output capability 2A)
  • 2-channel servo drive (base total maximum current output capability 2A)
  • 1-channel UART
  • 1-channel GPIO
  • Built-in PDM microphone (G34)
  • Onboard DC-DC conversion (9 ~ 12V input, only for independent motor power supply)
  • Built-in 950mAh battery
  • Multiple mounting methods / supports LEGO hole connection

Applications

  • LEGO coded motor/servo controller
  • LEGO toy DIY intelligent control

Package Includes

  • 1 x Base X
  • 1 x LEGO base
  • 2 x M3 * 5mm 304 stainless steel hex bolts
  • 2 x M3 * 32mm 304 stainless steel hex bolts
  • 1 x M3 hex key

Specifications

Specification Parameter
Net Weight 59g
Gross Weight 110g
Product Size 54 x 54 x 26mm
Package Size 150 x 65 x 40mm

Softwares

Arduino

UiFlow1

Protocol

I2C Control Instructions

  • I2C Slave Address: 0x22
Function Register Address Value
SERVO1_ANGLE_ADDR 0X00 0~180
SERVO2_ANGLE_ADDR 0x01 0~180
SERVO1_PULSE_ADDR 0x10 (uint16_t)500~2500
SERVO2_PULSE_ADDR 0x12 (uint16_t)500~2500
MOTOR1_PWM_DUTY_ADDR 0x20 -127~127
MOTOR2_PWM_DUTY_ADDR 0x21 -127~127
MOTOR3_PWM_DUTY_ADDR 0x22 -127~127
MOTOR4_PWM_DUTY_ADDR 0x23 -127~127
MOTOR1_ENCODER_ADDR 0x30 int32_t
MOTOR2_ENCODER_ADDR 0x34 int32_t
MOTOR3_ENCODER_ADDR 0x38 int32_t
MOTOR4_ENCODER_ADDR 0x3C int32_t
MOTOR1_SPEED_ADDR 0x40 -127~127
MOTOR2_SPEED_ADDR 0x41 -127~127
MOTOR3_SPEED_ADDR 0x42 -127~127
MOTOR4_SPEED_ADDR 0x43 -127~127

I2C Motor Address:

Motor Number Motor Address
MOTOR1 0x50
MOTOR2 0x60
MOTOR3 0x70
MOTOR4 0x80

Configuration Method Motor Address + nBit

Bit Value
0 Motor Operation Mode
1 position-p(3)
2 position-i(1)
3 position-d(15)
4 5
8 position-max-speed
9 speed-p
10 speed-i
11 speed-d
12 speed-point
Motor Operation Mode Value
Normal 0X00
Position 0x01
Encoder 0x02
3 position

EasyLoader

Easyloader Download Note
Base X Test Easyloader download /

Video