If you want to use the Micro Servo and EASY PLUG control board to make experiments, you need to use the EASY plug Servo extension module.
Here comes EASY plug Servo module and a 180° Micro Servo together in the package.
Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.
The EASY plug Servo module is extended into Registered Jack, so you can connect it to EASY PLUG control board using only a RJ11 cable.
The Servo module also comes with 3pins of 2.54mm pin pitch, fully compatible with servo pins.
The rotation angle of Servo motor is controlled by regulating the duty cycle of PWM (Pulse-Width Modulation) signal. The standard cycle of PWM signal is 20ms (50Hz).
Theoretically, the width is distributed between 1ms-2ms, but in fact, it’s between 0.5ms -2.5ms. The width corresponds to the rotation angle from 0° to 180°.
Micro Servo Parameters
- Operating voltage: DC 4.8V〜6V
- Angle range: about 180°(in 500→2500μsec)
- Pulsewidth range: 500→2500μsec
- No-load speed: 0.12±0.01 sec/60(DC 4.8V); 0.1±0.01 sec/60(DC 6V)
- No-load current: 200±20mA(DC 4.8V); 220±20mA(DC 6V)
- Stop torque: 1.3±0.01kg/cm(DC 4.8V); 1.5±0.1kg/cm(DC 6V)
- Stop current: ≦850mA(DC 4.8V); ≦1000mA(DC 6V)
- Standby current: 3±1mA(DC 4.8V); 4±1mA(DC 6V)
- Operation temperature: -10℃〜50℃
- Save temperature: -20℃〜60℃
- Motor wire length: 250 ± 5 mm
Connect It Up
Connect the EASY Plug servo module and micro servo to control board using an RJ11 cable.Connect the servo motor to EASY Plug Servo module. Brown line is for ground, red one for V pin, orange one for signal pin.
Then connect the control board to your PC with a USB cable.
Upload the Code
Below is an example code. Open or drag below code to Mixly Blocks and upload.
What You Should See
After uploading the code, open the serial monitor, enter the number 1 to 9, and click Send, it will control the servo motor rotate at a certain angle.
Rotating back and forth
Complete the above project, you can also upload the code below to control the servo motor rotating back and forth at a certain angle.Test Code:
Package Includes:
- EASY plug Servo Module *1
- Micro Servo *1