kidsbits blocks coding 16-way servo drive shield is fully compatible with kidsbits control board and Lego building blocks.
You can easily connect it to kidsbits control board for communication using an RJ11 cable without worrying about wrong connection and damage.
This shield uses I2C input, which can drive 16 Servos. Due to the drive current limitation, the expansion board can only drive up to 6 servos at the same time.
It also comes with an external black power jack for power supply.
Follow the instruction mentioned below to learn how to use this Servo shield.
2. Technical Parameters
- Supply voltage: DC 5V (4A)
- Communication method: I2C communication
- Number of steering servos: 16 (drive up to only 6 servos at the same time)
- Frequency: 40-1000Hz
- Resolution: 12-bit
3. Wiring Diagram
4. Import kidsbits library
Begin with the Mixly blocks coding, you should first import the corresponding kidsbits library for those sensor modules.
Connect the control board to your computer using a USB cable.
Then open the Mixly blocks software 0.998, set the board to UNO R3, select your correct COM port. On the upper right corner you can switch the language.
After that, click Import, import the keyes-kidsbits library. Shown below.
If import custom library successfully, you should see the sensor module library shown below.
Click on the blocks of keyes_kidsbits, you can directly use the corresponding module. Shown below.
5. Upload Code
Open the code folder we provided, you are able to directly open or drag the code to Mixly window.
You can click the Code to check the C language.
After uploading the code and power-on, the first servo will turn from 45° to 135° per second and then to 45° after one second. The fifth servo will turn from 60° to 120° per second and then go to 60° after one second.