Saturday, October 15, 2022
HomeElectronicsGood Whistle Counter for Stress Cooker

Good Whistle Counter for Stress Cooker


Remark errors or corrections discovered for this circuit, and get the prospect to win huge!

Stress cooker is a quite common utensil in virtually all Indian households, preserving monitor of what number of whistles have been blown to know when to change off the fuel range is boring work, lots of the time we miss a whistling sound. This text describes a wise digital counter which counts the variety of whistles and likewise time length of cooking. It generates buzzer alarm when set counts or time length is reached.  

Circuit Description

The Circuit diagram of good whistle counter is proven in figure-1, It’s based mostly on Arduino Mega 2560 board. LM393 based mostly sound sensor module is used for detection of sound of whistle. It operates at 5V and offers analog voltage proportional to sound degree, which is fed to analog enter pin (A0) of micro-controller.   4X4 keypad is used as an enter machine to set complete variety of whistles, or complete time length for cooking. 4X4 keypad is consists of 4 rows and 4 columns, that are related to eight digital enter pins of micro-controller. On this venture 0.91” inch I2C Serial 4-pin OLED show module is interfaced with Arduino, It shows variety of detected whistles and time length.  The decision of the show is 128 X 32 and its driving voltage is 5V. It’s related on the SCL and SDA pins of the Arduino bord. Energetic alarm buzzer module is used on this venture works on 5V. Linked on the digital output pin quantity 53 of Arduino board. It supplies 1KHz sound sign. Buzzer is triggered when set whistle depend is reached or cooking length is reached.

Fig. 1 Circuit Diagram

Desk 1: Elements listing

Part Half Quantity Amount
Micro-controller board  Arduino Mega 2560 1
Sound Sensor LM393 1
Show 0.91” OLED 128×32 1
Keypad 4X4 Keypad 1
Buzzer MH-FMD 1
Swap SPST 1
Battery  9V battery 1

Software program

Sound sensor output is related to analog enter of micro-controller, it’s digitized with 10 bits decision. A shifting window low move filter is carried out in software program, with window measurement of 25000 samples. The sum worth of window is in contrast with “excessive threshold”, a whistle is asserted detected if the sum worth is increased. The whistle sound stays excessive for few seconds, so whistle low detection can be essential. If the detected flag is true and window sum worth is lower than “low threshold”, whistle low is asserted. The part of C code is proven in figure-2.  This technique of whistle detection could be very sturdy, it really works nicely in presence of different family surrounding noise.

sum=0;

     for(i=0;i<no_of_samples;i++)

     {

        imic_val=analogRead(0);

        sum=sum+imic_val;

       }

       if ((sum > (sound_high_thresold*no_of_samples)) && wst_ongoing==false)

       {

        no_of_wst_detected++;

        wst_ongoing=true;

         }

       if ((sum  <  (sound_low_thresold*no_of_samples)) && wst_ongoing==true)

       {

        wst_ongoing=false; 

         }

       ….

The opposite functionalities of software program are operating clock timer (minutes & seconds), get inputs from 4×4 key pad, show knowledge on OLED, play buzzer, and many others. The show exhibits the variety of detected whistles and time since begin of cooking. When variety of whistles reaches to the earlier set worth the module buzzes the alarm to point that the duty of the stress cooker is over and now its time to show off the fuel range. Equally if stress cooker doesn’t make any whistle for lengthy time period then additionally it buzzes an alarm to point that there should be some difficulty with stress cooker and we will instantly flip off the fuel range. Images of Good whistle counter is proven in determine.

Smart Whistle Counter a) External view   b) Internal view
Fig. 2: Good Whistle Counter a) Exterior view   b) Inside view

Miniaturized product idea

An idea of miniaturized product which could be instantly connected to any stainless-steel whistle of stress cooker is proven in determine 3. Will probably be based mostly on a customized ASIC (Functions Particular Built-in Circuit), which can have a micro-controller core, analog front-end for mic (sound sensor), show driver, buzzer driver and interface to multifunctional keys. Will probably be powered by means of button cells or small rechargeable batteries. A COTS good watch chip will also be reconfigured by altering software program to realize related performance. 

Miniaturized Smart whistle counter
Fig. 3: Miniaturized Good whistle counter

Palak Patel is an Electronics engineer having expertise in embedded system growth for terminal automation trade. Presently she is doing freelancing for embedded techniques tasks.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments