SERVO Module Board 12 Channels

via M5Stack
$22.28
SKU M5-M014
Description

SERVO is made to implement the bestest, easiest way to drive Servo motors. This M5 module will make quick work of your next Servo project! It is able to drive mutiple Servo motors, up to 12 channals. We also added an DC input for power supplement. Through M-BUS the DC in can automatically power the M5 core at top.

Servo is powered by MEGA328 communicate via IIC(0x53).

Product Features

  • 12x servo ports
  • DC power input: 6-12V
  • DC Connector Type: XT60 (female)

Kit includes

  • 1x M5Stack Servo Module
  • 1x Common Male to XT60 Male DC convertor

Applications

  • Humanoid robot
  • Bionic multi-joint robot
  • Triaxial Camera Cradle
Documents
Learn

Example

1. Arduino IDE

The code below is incomplete. If you want the complete code, please click here.

#define SERVO_ADDR 0x53 //the IIC address of SERVO Module
/*
 * control servo(CH channle) by us
 */
Wire.beginTransmission(SERVO_ADDR);
Wire.write(CH|0x00);
Wire.write(timeL);
Wire.write(timeH);
Wire.endTransmission();

/*
 * control servo(CH channle) by angle
 */
Wire.beginTransmission(SERVO_ADDR);
Wire.write(CH|0x10);
Wire.write(angle);//0-180°
Wire.endTransmission();

2. UIFlow

Wanna explore the easiest way of Servo programming?? Check out the Blockly Platform at UIFlow.

TO get the complete code, please click here.

More information

Schematic