In this project we’re making a motion activated gift box using Adafruit Crickit and Circuit Playground Express.

This holiday themed box moves around the floor as it makes creepy sounds and lights.

 

It uses a PIR motion sensor to detect movement and a TT motor to spin a wheel. It also triggers lights and sounds making this an interactive gift box.

 

With Adafruits Crickit robotics platform, you can program with Circuit Python.

 

Use a cardbox and scraps to house the components and get crafty with the decorations.

 

It's easy to prototype with cardboard and paper crafts to make a unique gift box that you can customize!

Parts

 

You can find the list of all parts used to make this project linked below!

 

We used Circuit Python and programed our Gift Box to activate when the PIR sensor detects any moment. You can use the on-board sensors on the Circuit Playground Express to make it even more  interactive!

 

3D Printed Parts

 

Although not require, our 3D printed mount is design to easily mount the Crickit to a battery pack.

 

Prerequisite Guides

There's resources in these guides that go beyond what's covered in this tutorial. MakeCode guide is all about setting up your Circuit Playground Express board. TheCircuit Playground Express introduction guide walks you through all of the pinouts, sensors and everything you need to know.

1 x Adafruit Crickit for CPX
Robotics Platform
1 x Circuit Playground Express
Perfect introduction to electronics and programming
1 x PIR Motion Sensor
PIR sensors are used to detect motion from pets/humanoids from about 20 feet away
1 x Speaker
4ohm 3w 40mm diameter
1 x TT Motor
DC Gearbox motor - 200RPM
1 x Motor Mount for TT Gearbox DC
L-Bracket for DC Motor
1 x Wheel for TT Motor
Skinny wheel with rubber track
1 x Battery Holder
3x AA Battery holder with 2.1mm plug
1 x Alligator Clips
6pc small alligator clip to male jumper wire
1 x Jumper Wires
Premium female/male extension 20 x 3"
1 x Jumper Wires
female/male extension jumper wires 40 x 6"

This guide was first published on Nov 14, 2018. It was last updated on Mar 18, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.