Skip to main content
BirdBrain Technologies
  • Products
    • Want to learn more about our products?
      • Compare Products
      • Product Catalog
      • Try one for 30 days!
      • Request a Quote
      • Help Desk
      • Privacy Policies
    • Hummingbird Bit Robotics Kit
      Grades 4-12
      • Features
      • Buy Now
    • Finch Robot 2.0
      Grades K-College
      • Features
      • Buy Now
    • Owlet Math Tools
      Grades K-5
      • Features
      • Buy Now
    • Electric Motors Catalyst KitElectric Motors Catalyst Kit
      Grades 3-6
      • Features
      • Buy Now
  • Teach
    • We support teachers so they can inspire students.
      • Classroom Adaptations
      • Educator Community
      • Professional Development
      • Standards
      • Try one for 30 days!
    • Hummingbird Bit Robotics Kit
      • Start Teaching
      • Programming
      • Building
      • Projects
      • Printables
      • Have an older model?
    • Finch Robot 2.0
      • Start Teaching
      • Programming
      • Finch at Home
      • Activities
      • Printables
      • Loan Program
      • Have an older model?
    • Owlet Math Tools
      • Start Teaching
      • Teacher Guides
      • Printables
      • Owlet Apps
  • About Us
    • Mission & History
    • Our Team
    • Research
    • Media Kit
    • Contact Us
  • Resources
    • Blog
    • Teacher Stories
    • Webinars
    • Teacher Presentation Support
    • Grant Assistance
    • Reading List
  • Shop
  • Support
BirdBrain Technologies
  • Products
    • Want to learn more about our products?
      • Compare Products
      • Product Catalog
      • Try one for 30 days!
      • Request a Quote
      • Help Desk
      • Privacy Policies
    • Hummingbird Bit Robotics Kit
      Grades 4-12
      • Features
      • Buy Now
    • Finch Robot 2.0
      Grades K-College
      • Features
      • Buy Now
    • Owlet Math Tools
      Grades K-5
      • Features
      • Buy Now
    • Electric Motors Catalyst KitElectric Motors Catalyst Kit
      Grades 3-6
      • Features
      • Buy Now
  • Teach
    • We support teachers so they can inspire students.
      • Classroom Adaptations
      • Educator Community
      • Professional Development
      • Standards
      • Try one for 30 days!
    • Hummingbird Bit Robotics Kit
      • Start Teaching
      • Programming
      • Building
      • Projects
      • Printables
      • Have an older model?
    • Finch Robot 2.0
      • Start Teaching
      • Programming
      • Finch at Home
      • Activities
      • Printables
      • Loan Program
      • Have an older model?
    • Owlet Math Tools
      • Start Teaching
      • Teacher Guides
      • Printables
      • Owlet Apps
  • About Us
    • Mission & History
    • Our Team
    • Research
    • Media Kit
    • Contact Us
  • Resources
    • Blog
    • Teacher Stories
    • Webinars
    • Teacher Presentation Support
    • Grant Assistance
    • Reading List
  • Shop
  • Support
THE BIRDHOUSE

Hummingbird Kit Jack in the Box Tutorial

March 24, 2023

We talk a lot on this blog about integrating robotics into academic curriculum. And for good reason – the Finch Robot and the Hummingbird Kit are amazing tools for inspiring deep and joyful learning across grades and content areas! But sometimes, the mood strikes to put creativity first and let the standards follow suit. With creative robotics, you don’t have to sacrifice learning to give your students a fun, interactive experience. As students build and create, they are building and strengthening valuable skills – from engineering and programming to math and collaboration, and everything in between. Hilarious pranks, and serious learning. What could be better?

We could never pick favorites when it comes to robotic projects – but if we could, this one might be it. Here’s a tutorial for a silly, wholesome, and sure-to-please creation: a personalized Jack-in-the-Box!

 

 

Jack-in-the-Box Project for the Hummingbird Kit

 

  • Gather materials

    Materials will vary based on design. But for this project, we used:
    – 6×6 cardboard box
    – Hummingbird Robotics Kit (Hummingbird Bit, micro:bit, position servo, servo horn, and sensor of your choice)
    – Programming device
    – Wooden craft sticks
    – Wooden skewer
    – 1 candy stick
    – 1 pipe cleaner
    – Duct tape
    – Hot Glue
    – Hummingbird Robotics Kit
    – Misc. cardboard pieces

  • Plan your mechanisms

    This Jack in the Box prototype contains two mechanisms: one that holds the lid shut until we are ready for it to open, and another that acts as the machine’s crank. Let’s take a look at both:
    Lid mechanism – This mechanism assumes that the lid of the box will pop up when it is not being held down by an external force. For the lid mechanism, we used a position servo with a piece of cardboard attached securely to the servo horn. When the servo is in position 1, the lid is held down. When it moves to position 2, the lid is no longer held down. (You may need to experiment with your box in order to make the lid pop open when not held down. All part of the fun!)
    Crank mechanism – We created a crank from a popsicle stick, and used a candy stick covered with a pipe cleaner to make the handle. This crank is attached to a skewer which travels through the center of the box, and turns the mechanism on the other side. The mechanism on the other side is a cardboard circle with a small wedge cut out, like PacMan. Read on to learn how this works.

  • Plan your program

    How will your box know when to pop open? For our prototype, we used a light sensor. The light sensor is embedded in the side of the box, facing out. The sensor is covered by the PacMan cardboard circle we cut. For the majority of the circle’s rotation, the light sensor is blocked. For one small portion, it receives light. Each time the light sensor receives light and goes back to dark, it counts as one crank rotation. Sample code:

  • Build

    With a build plan and a program plan in hand, you’re ready to start building. Test everything out with each step – a lot of moving pieces are coming together!

  • Secure the lid

    If you haven’t yet, add your position servo to the box to hold the lid down. Add this servo to your program. Consider – what will trigger the servo to turn? We used a variable called “crank rotation” to count as a rotation, and then programmed our servo to change positions and open the box on a randomized number. This isn’t necessary, but having it random sure is fun!

  • Create the “Jack”

    Once your mechanism is in place, start working on the “Jack” in your box (or in our case, the Tom!). Draw or print out your picture and put it aside for when you need it. You can also experiment with a 3D object popping out of the box!

  • Add a False bottom

    Create a false bottom to cover your mechanism and act as a base for your spring. We found it helpful to add a little pull tab but easier removal and replacement.

  • Spring

    Create the spring that will push your box lid open and pop your Jack out of the box. Experiment with different materials, folding techniques, etc. For our 2D printed picture, two pieces of light cardboard folded accordion-style had enough force to create the effect we were looking for.
    Experiment with different locations inside of the box. Where will the springs need to be attached in order to clear the lid? How far down should the false bottom be placed? When you’re ready, attach the Jack to the springs, and the springs to the false bottom.

  • Iterate, iterate, iterate!

    Your build and code will evolve as you test. Your finished product may end up looking very different than your original plan. It’s all part of the magic!

  • Decorate

    Use whatever materials you’d like to decorate your box. Be sure to test your mechanisms and program after decoration – changes in weight and materials can impact the way it works! We used duct tape to cover the box.

Delight your audience with your customized Jack-in-the-Box. Who will you surprise with this feat of robotic genius?


If you create your own Jack-in-the-Box, we want to see it!

Share with us via email or post and tag us online on Twitter, Instagram, Facebook, or TikTok. 

Share on:
  • Facebook
  • Twitter
  • LinkedIn

Categories

  • All Posts
  • Teacher Stories
  • Lessons and Activities
  • Tutorials
  • Flocking Amazing Podcast
  • Owlet Math Tools
  • BirdBrain News
  • Hummingbird Kit
  • Finch Robot
  • Uncategorized

Archives

Tags

  • Hummingbird Kit
  • Finch Robot
  • News
  • Free
  • Teacher Resources
  • Lessons and Activities
  • Conferences and Workshops
  • Owlet Math Tools
  • Grades K-4
  • Grades 5-8
  • Grades 9-12
  • Finch
BirdBrain Technologies
  • Contact Us
  • Join Our Mailing List
  • Support Center
NSF logo

National Science Foundation Research and development has been generously funded in part by STTR grants from the National Science Foundation.

Copyright ©2010-2025 BirdBrain Technologies. All rights reserved.

Cookie Consent

To provide the best experiences, we use cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}
Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}