Cricket Toy Box — Cereal Dispenser Toy Box, Stage 3

In stage 3 of the Dispenser project, there is now a light sensor that measures daylight as the sun rises! This is plugged into the Cricket's Sensor B input.

Sensor A is still the switch that detects when the cereal bowl is brought into place. Here's how it looks now:

Your task is to develop the dispenser program so that it first waits for the bowl to be pressed against the sensor (you did this in Stage 2) and then waits for the sun to rise before opening the cereal gate.

As before, you still have to reverse the motor's direction and close the dispenser, or the cereal will fill the bowl and spill all over the table

Are you ready to begin? Click the button below to open a new window with the Cereal Dispenser Cricket Toy.

After you've programmed the Cereal Dispenser, close the Cereal Dispenser browser window to return here.

BACK: Waituntil with Light Sensor

UP to index

NEXT: Cereal Dispenser, Stage 4