PI-69BeginnerPremium

Raspberry Pi Pico W Red Light, Green Light: The Doll That Catches Whoever Moves (PIR + Servo + Buzzer)

The children's game made world famous by TV series, right on your desk: on green light the doll turns its back and plays our own tune while you creep forward. When the tune ends the servo head turns, the red light comes on and a PIR sensor catches anyone who moves: the alarm goes off and the doll shakes its head. The tune gets faster and changes length every round; freeze through 5 rounds with a Raspberry Pi Pico W or touch the doll on green to win.

0.0(0)
Raspberry Pi Pico W Red Light, Green Light: The Doll That Catches Whoever Moves (PIR + Servo + Buzzer)
How about playing the children's game made famous by TV series with a doll you built yourself? On green light the doll turns its back and plays a tune; when the tune stops it turns around, and on red light the motion sensor catches anyone who moves. Building this fair game that speeds up every round with a servo motor, two LEDs and a buzzer teaches you timing and reading a sensor.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions