arduinoProjects

Good Whistle Counter for Strain Cooker

Remark errors or corrections discovered for this circuit, and get the possibility to win large!

Strain cooker is a quite common utensil in nearly all Indian households, holding monitor of what number of whistles have been blown to know when to modify off the fuel range is boring work, most of the time we miss a whistling sound. This text describes a sensible 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 stage, which is fed to analog enter pin (A0) of micro-controller.   4X4 keypad is used as an enter system to set complete variety of whistles, or complete time length for cooking. 4X4 keypad is consists of 4 rows and 4 columns, that are linked to eight digital enter pins of micro-controller. On this challenge 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 linked on the SCL and SDA pins of the Arduino bord. Energetic alarm buzzer module is used on this challenge 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 rely is reached or cooking length is reached.

Fig. 1 Circuit Diagram

Desk 1: Components 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
Change SPST 1
Battery  9V battery 1

Software program

Sound sensor output is linked to analog enter of micro-controller, it’s digitized with 10 bits decision. A transferring window low cross filter is applied in software program, with window dimension of 25000 samples. The sum worth of window is in contrast with “high threshold”, a whistle is asserted detected if the sum worth is greater. 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 strong, it really works properly 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 so on. 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 strain cooker is over and now its time to show off the fuel range. Equally if strain cooker doesn’t make any whistle for lengthy time period then additionally it buzzes an alarm to point that there have to be some difficulty with strain 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) Inner view

Miniaturized product idea

An idea of miniaturized product which may be instantly hooked up to any stainless-steel whistle of strain 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 button cells or small rechargeable batteries. A COTS good watch chip will also be reconfigured by altering software program to attain 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 business. At present she is doing freelancing for embedded programs tasks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button