Lesson 20 - Sound Sensor Module KY-038

Lesson 20 - Sound Sensor Module KY-038

Ricardo Moreno

5 лет назад

127,657 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

ACID2BREAKS
ACID2BREAKS - 25.03.2023 13:55

Great Video thanks!!!

Ответить
Azul Giraud
Azul Giraud - 01.12.2022 02:50

Hi! I have a question!
I dont understand why the volts, minvolts and maxvolts are calculated like ("value"*5.0)/1024.
If you explain it to me I would be grateful. Thank you

Ответить
Arman Arakelyan
Arman Arakelyan - 24.10.2022 20:08

Can this be used without Arduino?

Ответить
Alessandro Blue
Alessandro Blue - 25.08.2022 23:20

this sensor suks almost no changes on analog input even when starting from almost dead silence to a crazy LOUD clapping (btw removed even the delay and dumped all the values to a file still no significant change to know when there is some sound...)

Ответить
sairon tv
sairon tv - 06.05.2022 01:06

where can I finde it

Ответить
Alessandro Zanino
Alessandro Zanino - 21.04.2022 14:34

I can't understand how this device can be useful. The analog out does not change if you speak or if you clap your hands. You can get significative variations only blowing in the mic, tapping on the mic or with anything else that applies a "physical pressure" to the mic itself. Probably it's because the analog out is a not-amplificated signal. Anyone else with the same experience ?

Ответить
rudy blender
rudy blender - 25.03.2022 18:01

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; yeeeee "MISTAKES" can desolved with a lowerCASE PRINGELS-MIC-CASE ;;;;;;;;; ;;;; ;::::::::::::::: NOW WE CAN HEAR DOTS COLONS ..........OHHHH mistaks ::::::::::

Ответить
rudy blender
rudy blender - 25.03.2022 17:58

thx YEEAAAA we can learn COLORcables imitatation DIY fingerjoys!?

Ответить
ElectronMath
ElectronMath - 20.11.2021 01:14

👍❤️

Ответить
TUSHAR THAKUR
TUSHAR THAKUR - 23.08.2021 20:04

can you please share your email?
i need some help for my project

Ответить
Mathis delbeke
Mathis delbeke - 18.05.2021 22:44

hey milan

Ответить
Kyordanny Del Valle
Kyordanny Del Valle - 11.05.2021 23:32

I have a problem, one components already have Ao to work. Can i put it in any other analog??

Ответить
Iron Clay
Iron Clay - 01.04.2021 04:33

And all of that would work with Any Input right?

Ответить
JM Navon
JM Navon - 25.03.2021 05:38

Does this module distinguish a certain sound or just any sound?

Ответить
Liberty Urias
Liberty Urias - 23.03.2021 00:48

is line 47 apart of the code, if so what does the rest of it say?

Ответить
Jerzy Szczepanski
Jerzy Szczepanski - 16.03.2021 13:56

Hi. Could anybody please post a build of Arduino decibel meter for an Airgun with shown Max last reading. Small size would be preferable, possibly Arduino Nano and Oled screen. Most Android Phone Apps don't work correctly as the phone kills the Microphone sensitivity automatically and sampling isn't fast enough. Thanks in advance.

Ответить
Christos Paraschos
Christos Paraschos - 15.03.2021 23:00

Very helpful video. Thanks!!!!

Ответить
Jayakrishnan K
Jayakrishnan K - 13.03.2021 21:51

Can we record sound using this sensor?

Ответить
Nirnimesh Kumar Basak
Nirnimesh Kumar Basak - 06.03.2021 20:10

Hallo sir.I am making this experiment.I have connected my LED to pin no.4 of Arduino and the output of sensor to A0.But what is happening with me is that when I am making sound,the LED of sound sensor is blinking but the LED of breadboard is not blinking.Sir what can be the problem? I have connected the anode of the LED to a wire and that wire is connected to D4 pin and the cathode is connected to ground via a resistor.
Sir please solve my problem.

Ответить
Ankur Kumar
Ankur Kumar - 28.02.2021 11:47

Hello sir, i want to use three pins of KY-038(DO,G and +), just like KY037. Will this work with only three pins? Can you please tell me which three pins are same in KY-038 module as compare to KY-037. Actually I don’t have much knowledge about arduino and electronics, so I don’t know about this thing.

Ответить
V J
V J - 18.02.2021 22:18

well done

Ответить
Jeffery Hammond
Jeffery Hammond - 11.02.2021 09:19

How can I use this in a system that deters barking dogs? I currently have a system I wired together that runs high pitch piezo tweeter speakers on a remote but that doesn't work when I'm not home to activate it. The over the counter bark deterrents are useless. I need it to stay on for 30 seconds when it detects noise but no shut off when it detects the second bark. Any ideas?

Ответить
Hashan Shalitha
Hashan Shalitha - 25.11.2020 19:37

Thanks for clearing up my mess. I thought it was a sensor fault until I found this amazing video :)

Ответить
Leerzeichen
Leerzeichen - 13.10.2020 16:12

How can i use this sound sensor for more applications with different power consumption?

Ответить
LaZer Troll
LaZer Troll - 26.09.2020 00:29

... I couldn't hear what you were saying after you tidied up the code, until you indented line 18 .. 🤤

Ответить
JusTz Cross62
JusTz Cross62 - 08.09.2020 20:37

Used your code to try it...and just doesn't work
Circuit is very simple i'm totally sure I've done it well
So...just don't understand why both leds are turned on all the time

Ответить
Kenneth kindrich
Kenneth kindrich - 09.07.2020 01:34

all i want to do is get my sound system to move a servo but i cant find anything, anyone know how to accomplish?

Ответить
Mücahit Han
Mücahit Han - 12.06.2020 21:18

Is there a sensor that detects sounds above 20kHz?

Ответить
Andres Mata
Andres Mata - 01.06.2020 11:52

Really appreciate the callibration part and pointing out the correct internal schematics. This module was driving me crazy and I thought it was just a useless piece of junk...

Ответить
Stephen Marzo
Stephen Marzo - 16.04.2020 21:15

Great explanation and well-made video! Would you happen to know how to get a frequency reading from the KY-038? I'd really appreciate it as I'm looking to build a guitar tuner for a project.

Ответить
Mehrab HP
Mehrab HP - 16.02.2020 14:03

Super clear explanation 👌🏽
Well done bro 👍🏽

Ответить
IsekaiUwU
IsekaiUwU - 30.11.2019 16:43

Our ky-038 don't light the L2 anymore were very dead 😭 😭 is there anything we can do ???

Ответить
ktmrbo
ktmrbo - 03.09.2019 16:39

What is the minimum input voltage for this sound sensor ?. My board does not have 5 volt it only can supply 3.3 volt . If it cannot operate on 3.3volt i think , i need DC-DC boost converter/linear regulator to boost to 5 volt

Ответить
Gyanjit Mahapatra
Gyanjit Mahapatra - 07.07.2019 11:13

I have researched this for quite sometime now, used a couple of codes and setups online as well as this video but can't seem to get the desired result. So what's happening is when the code is uploaded as well as the exact same setup of the sensor writing to the Arduino LED on pin 13, the sensor doesn't output anything despite my earnest attempts of clapping. Following one of the tutorials, it suggested to tweak the potentiometer until the 'LED2' starts flickering. So I have it set on that, and notice that when I clap loudly the LED2 on the sensor flickers on however the Arduino LED (or an external LED with a resistor attached to its anode to ground on a breadboard does not). The Arduino LED / external LED however very rarely responds to my claps whereas LED2 seems to always be responsive although when blowing over the microphone the load LEDs turn on. I can assure you my wiring is the same as a basic setup and heres a pseudo list just in case:

Sensor's D0 ----> Arduino Pin 3
Sensor's A0 ----> Arduino Pin A0
Sensor's V+ ----> Arduino 5V
Sensor's GND ----> Arduino GND

Arduino Pin 13 (onboard LED)
(Arduino Pin 7 ----> external LED)


Any help will be appreciated thanks!

Ответить
Ricardo Moreno
Ricardo Moreno - 05.03.2019 21:22

Unfortunately, my example sketch is heavy on the OLED, string manipulation, and kinda light on the KY-038. It tracks the maximum and minimum values and shows a bar graph. I revised the sketch after making the video. The revised version is available on GitHub (see link in show notes).

Ответить
Tonmoy
Tonmoy - 05.03.2019 12:50

How can I get Decibel value from the Analog pin and display to the serial monitor ? Pleas Help

Ответить
king james
king james - 04.03.2019 02:50

i got lesson 20 as follow; sound sensor example.HUh?

Ответить
Imam Arifan N
Imam Arifan N - 29.01.2019 11:56

Why the analog output has a same value even our voice is loud and low?

Ответить
Matt Loves Tech
Matt Loves Tech - 20.01.2019 04:14

this video made things way better, i am not sure why the documentation isn't up to par. It was really annoying trying to find out how to set this up before i got to your video. GREAT JOB!

Ответить