TINKER PiEDESIGN IN INDIA

Servo-16 Brick

Smart Bricks · SKU TP-B05

Drive 16 servos for robot arms, legs and animatronics.

₹499

Pre-order

Works with TinkerPie V1 · same JST-PH cables as the board · Delivery across India: ₹100, 3–7 days · 7-day replacement for damaged or defective kits

About this kit

The Servo-16 Brick drives up to 16 servo motors for robot arms, walking robots and animatronics. Its PCA9685 controller makes smooth 50 Hz pulses by itself, so TinkerPie's processor stays free. Servo power comes in through a reverse-polarity-protected screw terminal with a 470 uF capacitor, and up to eight bricks can be chained for 128 servos.

Features

Specifications

Size64 x 40 mm
Outputs16 x servo (SIG / V+ / GND)
Servo power5-6 V via screw terminal
InterfaceI2C 0x40-0x47
ChipNXP PCA9685

How to use it with TinkerPie

  1. Connect the brick’s BUS IN to any TinkerPie SENSOR 1-4 port with a 4-pin JST-PH cable.
  2. Connect a 5-6 V battery pack for the servos to the green screw terminal (+ and −). The brick’s logic gets its power from the SENSOR cable.
  3. More bricks? Plug the next one into BUS OUT (or use the I2C Hub).
  4. Install the TinkerPie and TinkerPieBricks Arduino libraries, open the sketch below, choose the board ESP32S3 Dev Module and upload.

Libraries: TinkerPie and TinkerPieBricks (Arduino IDE: Sketch → Include Library → Add .ZIP Library). Full guide: getting started with TinkerPie Bricks.

Quick start

Upload this, open the Serial Monitor at 115200 baud and watch the TinkerPie matrix.

Quick-start sketch (Arduino C++)
// Servo-16 Brick (TP-B05): quick start
// Reads the brick and shows the value on the TinkerPie matrix and in the Serial Monitor (115200 baud).
#include <TinkerPie.h>
#include <TinkerPieBricks.h>
using namespace tinkerpie;

tpb::Servo16 servo16;

void setup() {
  Serial.begin(115200);
  tinkerpie::begin();            // also starts the SENSOR ports (I2C bus Wire1)
  if (!servo16.begin()) Serial.println("Servo-16 Brick not found at 0x40: check the cable to SENSOR 1-4");
}

void loop() {
  for (int a = 0; a <= 180; a += 10) { servo16.angle(0, a); basic::pause(40); }   // channel 0 sweeps
  for (int a = 180; a >= 0; a -= 10) { servo16.angle(0, a); basic::pause(40); }
}

Project: Waving robot arm

Servos on channels 0-3 of the Servo-16 Brick (power the servos through the screw terminal). Button A waves, button B goes back to rest.

Waving robot arm (Arduino C++)
// Waving robot arm: Servo-16 Brick (TP-B05)
// Servos on channels 0-3 of the Servo-16 Brick (power the servos through the screw terminal). Button A waves, button B goes back to rest.
#include <TinkerPie.h>
#include <TinkerPieBricks.h>
using namespace tinkerpie;

tpb::Servo16 arm;

void setup() {
  Serial.begin(115200);
  tinkerpie::begin();            // also starts the SENSOR ports (I2C bus Wire1)
  if (!arm.begin()) Serial.println("Servo-16 Brick not found at 0x40: check the cable to SENSOR 1-4");
  for (int ch = 0; ch < 4; ch++) arm.angle(ch, 90);
}

void loop() {
  if (input::buttonIsPressed(Button::A)) {
    for (int i = 0; i < 3; i++) { arm.angle(0, 40); basic::pause(300); arm.angle(0, 140); basic::pause(300); }
  }
  if (input::buttonIsPressed(Button::B)) for (int ch = 0; ch < 4; ch++) arm.angle(ch, 90);
  basic::pause(20);
}

More TinkerPie Bricks

IO-4 Smart Brick (TP-B01)IO-4 Smart BrickTP-B01Connect any analog or digital sensor to TinkerPie – 4 ports, each analog, digital or PWM.₹499Pre-orderLine Follower 5 (TP-B02)Line Follower 5TP-B02Five IR sensors in one bar – build a fast line-following robot in minutes.₹499Pre-orderUltrasonic Brick (TP-B03)Ultrasonic BrickTP-B03HC-SR04 distance sensor made safe and simple – distance in mm over one cable.₹499Pre-order5V Sensor Brick (TP-B04)5V Sensor BrickTP-B04For the 5 V parts: gas sensors, 5 V PIR, relays and fans – powered from a servo port.₹499Pre-order

See all 53 TinkerPie Bricks