Servo Controller TinyShield Tutorial

by Nick DiVitto June 26, 2018

Servo Controller TinyShield Tutorial

The Servo Controller TinyShield allows you to drive four independently controlled servos from your TinyDuino! This tutorial will help you get started with the Servo Controller TinyShield.

This TinyShield uses the TinyDuino I2C interface - saving GPIO pins on the TinyDuino processor for other tasks, and an easy to use Arduino library is provided to control this.





    • Servos are great for doing precise positioning and motion control.
    • The Servo Controller TinyShield's I2C address can be changed by removing up to four resistors.
    • Up to four Servo Controller TinyShields can be stacked for a total of 16 servos controlled independently.

    Step 1: Assembly (Hardware)

    Stack the USB TinyShield onto the TinyDuino Processor and plug it into your computer with a Micro USB cable. Follow the Software steps below to program your TinyDuino Processor.

    Once the TinyDuino Processor is programmed, stack the Servo Controller Tinyshield onto the processor, plug in your servos into the 3-pin connectors, and plug in your battery into the 2-pin connector. The servos should begin to sweep back and forth.

    If the servos don't move, check to make sure that the processor is switched on, that the battery is charged, and that you have the correct address selected in the sketch (default is 0).

    Step 2: Software (Setup)

    To upload the code, we will be using the Arduino IDE which can be downloaded for free here.

    If you have never used Arduino, or the TinyDuino platform, check out our Getting Started Tutorial.

    You will also need to download the TinyDuino Motor Library.

    Step 3: The Code!

    Upload the code below to your TinyDuino Processor.

      You can change the I2C address of this board by removing some of the resistors. This would be useful if you are using multiple Servo Controller TinyShields, so that they don't have conflicting addresses. The default address for the TinyShield and the sketch is 0, with all four address resistors present.

          Contact Us

          As always, if you have any questions or feedback, feel free to email us at

          Show us what you make by tagging @TinyCircuits on instagram, twitter, or facebook so we can feature it!

          Thanks for making with us!

            Nick DiVitto
            Nick DiVitto


            Also in Learn

            New Tiny Arcade - Assembly Instructions (With Rev5 Boards)
            New Tiny Arcade - Assembly Instructions (With Rev5 Boards)

            by TinyCircuits Staff January 15, 2019

            We are super excited to release our latest version of the beloved Tiny Arcade kit! This assembly tutorial features our...

            View full article →

            Command Servo Motors from your Phone using Bluetooth
            Command Servo Motors from your Phone using Bluetooth

            by TinyCircuits Staff December 27, 2018

            Using a TinyZero, Bluetooth TinyShield, Servo TinyShield, and a servo along with a handy dandy iOS or Android app, you...

            View full article →

            Tiny Screen Video(TSV) Converter Install for macOS
            Tiny Screen Video(TSV) Converter Install for macOS

            by Laverena Wienclaw December 19, 2018

            In this tutorial we'll talk about how you can get a Windows application running on your Mac (for free) using Wine...

            View full article →