Create a robot that chirps like a cricket!

Lesson Level

Advanced I

Created By

This activity was created by Tom Simpson at Heathwood Hall Episcopal School.

Programming Language

Snap! Level 4, Scratch




4-5, 6-8, 9-12

Teacher Materials

Materials available for teachers.


This activity is aligned with Common Core math standards that deal with inequalities (4.NBT.A, 5.NBT.A, 6.EE.B, and 7.EE.B).

When the lights are low, the CricketBot uses its buzzer to chirp like a real cricket. The darker it is, the faster it chirps.  Full daylight makes it stop chirping.

For this project, the Finch should do the following:

  1. If the light level is high, the beak color should be green. The Finch should not chirp at all.
  2. If the light level is between high and low, the beak color should be blue. The Finch should chirp low and slow.
  3. If the light level is low, the beak color should be red. The Finch should chirp high and fast.

Note: You can test your program by covering it with your hand and a large cardboard box.