This guide shows you how to make an creepy animatronic crawling hand. It uses a glove from a halloween costume, outfitted with a servo motor and a Circuit Playground Express.

This hand is designed to pull itself along the floor slowly, waiting until it finds a cold, dark spot, at which point it will stop and wait until temperature and light increase.  

The right glove is essential for this project. If you don't happen to have a candidate on hand, you can find Zombie, Werewolf, or Dementor costume gloves online.

Parts Used

1 x Circuit Playground Express
Circuit Playground Express is the perfect introduction to electronics and programming
3 x Alligator Clip to Breadboard Wires
These compact jumper cables have a premium male header on one end and a grippy mini alligator clip on the other.
1 x Micro USB cable
Standard A to micro-B USB cable - 3ft
2 x Eccentric Hub for TT Motor
This eccentric motor hub has 2 hexagonal holes and 2 circular holes which allow you to quickly and easily mount custom wheels, cardboard & wood, or other mechanisms to your robot project.
1 x High Torque Metal Gear Servo
High-torque standard servo with metal gearing for extra-high torque and reliability. It can rotate at least 120 degrees with a classic 1.5-2.5ms pulse.
1 x Lithium Ion Polymer Battery - 3.7v 2500mAh
Thin, light and powerful battery with an output range from 4.2V when completely charged to 3.7V. This battery has a capacity of 2500mAh for a total of ~10 Wh.

Tools & Materials

Once you've found the glove you want to use, make sure to grab the following as well:

It is recommended, though not required, that you stiffen your glove with some cardboard. Depending on the stiffness and elasticity of your gloves this may or may not be necessary.

If your gloves are already very stiff and springy, skip this first step.

Cut a rectangle of cardboard approximately the same dimensions of your glove.


Cut out an outline of the glove.


Bend the cardboard into shape so it can be inserted into the glove (baby powder can help). This will stiffen it and help the fingers spring back into shape.

Mark placement of holes on wrist


Poke holes with tweezers or something else pointy.


Push fishing line through holes.


Thread 5 short sections of coffee straw (or pen tube cut to length) over fishing line and into the holes in the wrist. This will allow the string to slide freely back and forth.

Poke holes through the tips of each finger.


Thread fishing line through these holes.


Use tape or a knot to keep the line from pulling back through holes.

Your hand is now ready to be animated!

Leave the fishing line going through the fingers long, it can be tied off and cut to length once everything else is attached. 

Before moving forward, let's take a moment to look at the code for this project.

The code was created using Microsoft MakeCode for Adafruit, a web-based code editor. MakeCode provides a block editor, similar to Scratch or, and also a JavaScript editor for more advanced users.

If you'd like to learn more about MakeCode, this guide is a good place to start.

Getting into Bootloader Mode

To make your board work with MakeCode we need to put it into "bootloader mode". All that's required to do this is to connect the board to your computer with a micro USB cable and click the small reset button in the center of the board. 

Click this link or the button below to enter the portal to interact with the code for this project.

How to Upload Code

To upload code, connect you Circuit Playground Express to your computer using the micro USB cable, click the Download button to download the .uf2 file to your computer, and drag 'n drop that .UF2 file onto the CPLAYBOOT drive. in your computer's file explorer or finder.

The drive will automatically eject itself. (Your computer may give you a "failed to eject drive correctly" error, you can ignore this.) The code is now on your Circuit Playground Express and ready to run!

Connect Servo

Once your code is uploaded, plug the alligator clip to pin wires into the servo connector such that you have three alligator clips with the wires going to the servo harness.

Connect your servo motor to your Circuit Playground Express using the alligator clips.

  • Connect the red middle wire from the servo to Vout on the CPX
  • Connect the black or brown wire from the servo to GND
  • Connect the yellow or white wire from the servo to A1

You should see your motor start rotating 180 degrees, with a pause, before rotating back again.

What This Code Does

This simple sketch tells your animatronic hand to look for a cool, dark place to hide. It does this by telling the motor to run until two conditions are both met.

In the forever block there is a while statement, instructing the Circuit Playground Express to run the servo unless:

  • The temperature goes below the specified threshold (in this case, 20 degrees Celsius)
  • The light level goes below the specified value (in this case, 100). 

You can test this code by turning off the lights and cooling down the thermistor on the board (I used a quick blast from a can of compressed air).

If you'd like to play with this code, click "Edit" and a new window will open in which you can create your own version.


Problem: My servo motor isn't responding!

Solution: Make sure that you have the servo's wires connected to the correct pads. The brown wire should go to GND, the yellow wire to A1, and the red wire to VOUT.


Problem: My Circuit Playground Express doesn't show up as CPLAYBOOT!

Solution: Your Circuit Playground Express board comes ready to work with CircuitPython, and will show up as a flash drive named CIRCUITPY the first time it's connected to your computer. To switch over to work with MakeCode, connect the board to your computer with a micro USB cable and click the small reset button in the center of the board.  

Motor Housing

Now that the code is tested, it's time to put everything together. To mount the motor inside the wrist, we will house it inside a short section of cardboard tube. A tube 2.5 to 3 inches wide is ideal, as long as it fits comfortably inside the wrist of your glove. 

Make a platform


Cut a section of cardboard tube about 3-4 inches long.


Cut a small rectangle of cardboard. This will be the platform for the servo motor.


Use hot glue or tape to mount cardboard platform inside tube.

Glue the Servo Motor


Test-fit the servo motor inside the tube.


Cut another small rectangle of cardboard and bend this into an isosceles triangle (3 equal sides).


Glue this in place inside the tube, pressed up against the side of the motor.


Push the bundle of fishing line through the last hole in the servo motor arm.


Depending on the line you are using, you may need to widen the hole.


Hold lines in place with tape or a dab of hot glue.


Plug your battery in and check to make sure the servo moves easily back and forth within the tube.

The lines should still be left relatively long at this point. We will tighten them up in the next step.

If you'd like to give your hand the freedom to wander, these next steps will show you how to add a simple axle and ratchet mechanism to the hand.

Making an Axle 


Using a metal rod (or bamboo skewer) as an axle, we can make a rolling base for our hand.


Poke or drill a hole through the base of the cardboard tube.


Push a small straw through this hole.


Insert the axle through the straw.


Press the other wheel onto the end of axle.

Making a Ratchet


Using the tips of some bamboo skewers, we can make a ratchet that will prevent the wheels from rolling backwards.


This will ensure that the hand only crawls forward, not backward.


Use hot glue to brace these pins against the inner lip of the wheel so that it catches the notches as they rotate.

Wrap It Up


Tape the battery to the end of the wrist. Make sure the servo arm still has enough clearance to move forward/backward!


Use a square of double sided tape to stick the Circuit Playground Express the to back of battery.

Spook Your Friends

You may find your hand moves better on certain surfaces, depending on how slippery they are.

If you'd like to give your hand more grip, adding a thin layer of glue to the wheels and a dab of glue to the tips of the fingers helps.

The battery that powers this hand should last a long while. If you need to recharge it, look at this guide to learn how to do it safely, and all about how LiPoly batteries work! 

This guide was first published on Oct 11, 2018. It was last updated on Oct 11, 2018.