This sentry robot will wait quietly for someone to pass by, then it springs to life! A lot of fun anytime or make it especially for Halloween.

Using MakeCode drag and drop blocks you will make a scary monster that can protect all your precious, precious candy.

In addition to basic programming concepts, this guide also demonstrates the construction of a simple mechanical movement, translating rotary motion into linear motion.

The Electronics

This project uses the following items from the Adafruit store:

1 x Circuit Playground Express
Circuit Playground Express is the perfect introduction to electronics and programming
1 x Adafruit CRICKIT for Circuit Playground Express
Creative Robotics and Interactive Construction Kit is an add-on to our popular Circuit Playground Express that lets you #MakeRobotFriend using CircuitPython
1 x Micro Servo
This little servo can rotate approximately 180 degrees (90 in each direction). Works just like standard servos you're used to but smaller.
1 x DC Gearbox Motor - "TT Motor" - 200RPM - 3 to 6VDC
TT DC Gearbox Motor with a gear ratio of 1:48 and 2 x 200mm wires with breadboard-friendly 0.1" male connectors
1 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 USB cable - A/MicroB - 3ft
Standard A to micro-B USB cable
1 x Alkaline AA batteries - 3 pack
These batteries are good quality at a good price, and work fantastic with any of the kits or projects that use AAs.
1 x 3xAA holder with DC jack
Battery holder 3xAA batteries with 2.1mm DC jack

Tools & Materials

For this project you will need these materials:

  • Clear plastic cup
  • Scrap cardboard
  • Double sided tape
  • Pipe cleaners
  • Googly eyes

And these tools:

  • Hobby knife
  • Tweezers (or something pointy)
  • Screwdriver
  • Scissors
  • Hot glue gun

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

This page (Overview) was last updated on Oct 21, 2020.