
Login
0
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 |
Mode config method: Motor address + nByte
| Byte | Value |
| 0 | Run mode |
| 1 | position-p(3) |
| 2 | position-i(1) |
| 3 | position-d(15) |
| 4|5|6|7 | position-point(Low effective) |
| 8 | position-max-speed |
| 9 | speed-p |
| 10 | speed-i |
| 11 | speed-d |
| 12 | speed-poin |
| Motor run mode | Value |
| Normal | 0X00 |
| Position | 0x01 |
| Encoder | 0x02 |
BaseX is a special base compatible with LEGO EV3 motor. The structure design is similar to base26, supporting multiple ways of fixation, and an additional LEGO connection base is provided. When building the LEGO structure, Basex can be easily embedded in the work. Basex can be connected to 4-way (RJ11) LEGO motor at the same time, supporting angle / speed reading and control, and perfectly compatible with the original motor functions. In addition, the base provides two servo interfaces, which can directly control the rotation angle of the servo.There is a motherboard PDM microphone for sound collection. In order to adapt to different use scenarios, a UART interface (16 / 17) and a GPIO interface (26 / 36) are provided to make access to various sensors more flexible. A 900mah battery is built in the base, which can be charged through the usb-c interface of m5core to extend the endurance. In order to improve the driving ability of the interface, the base is equipped with a DC power socket, which can be powered by an external 9-12v power supply to provide a stable power supply for the motor.
To get complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BaseX
To get complete code, please click, here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BaseX/UIFlow.




Shipping | Delivery Period | For in-stock parts, orders are estimated to ship out in 3 days. Elecbee ships orders once a day at about 5pm except Sunday. Once shipped, estimated delivery time depends on the below carriers you chose. DHL Express: 3-7 business days DHLeCommerce: 12-22 business days FedEx International Priority: 3-7 business days EMS: 10-15 business days Registered Air Mail: 15-30 business days | |
| Shipping Rates | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Options | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Tracking | We will notify you by email with tracking number once order is shipped. You can track your order using the “Track My Order” feature. | ||
| Returning/Warranty | Returning | Returns are normally accepted when completed within 30 days from date of shipment, please contact customer service for a return authorization. Parts should be unused and in original packaging. Customer has to take charge for the shipping | |
| Warranty | All Elecbee purchases come with a 30-day money-back return policy, plus 1-year Elecbee warranty against any manufacturing defects. | ||
| This warranty shall not apply to any item where defects have been caused by improper customer assembly failure by customer to follow instructions, product modification, negligent or improper operation | |||
| Ordering | How to Buy | Elecbee accepts online orders. | |
| Add to cart > Check out > Submit order > Complete payment > Delivery | |||
| Payment | PayPal, Credit Card includes Visa, Master, American Express, Bank transfer. | ||