MuTech RoboticsLearning Hub
Adults onlyArduino NanoLevel 1/3

Cooker Whistle Counter

A sound sensor counts pressure-cooker whistles and, after the 3rd, a servo turns the gas knob off.

Cooker Whistle Counter
Adults only

Involves a gas stove and flame.

Not for children. Build at your own risk.

Strictly follow the description given with this video.

Video

The video link will be added here soon.

How it works

  1. The sound sensor's GATE pin goes HIGH on every loud whistle.
  2. The Nano counts each whistle once, ignoring echoes for a few seconds.
  3. At the 3rd whistle the servo turns the stove knob to OFF.
  4. The buzzer beeps so you know the cooking is done.

Parts you need

  • Arduino Nano× 1Buy
  • Sound detector module× 1Buy
  • SG90 micro servo× 1Buy
  • Buzzer× 1Buy
Kit for this projectPrice on request
Get the kit

Wiring

Wiring diagram
PowerGroundSignal
#FromConnect to
1 SignalSound GATENano D2
2 PowerSound VCCNano 5V
3 GroundSound GNDNano GND
4 SignalServo signalNano A1
5 PowerServo redNano 5V
6 GroundServo brownNano GND
7 SignalBuzzer +Nano A5
8 GroundBuzzer −Nano GND

3D print files

This project has no 3D-printed parts.

Code

The tested Arduino / ESP32 code for this project will be posted here, ready to copy.