Тёмный

KY038 Microphone Module for Arduino Wire & Code 

Scotty D
Подписаться 14 тыс.
Просмотров 22 тыс.
50% 1

Welcome to today's tutorial where I'll guide you through wiring and coding a KY038 Microphone module with an Arduino!
The KY-038 sound sensor is a fundamental tool for sound level detection, featuring an electric condenser microphone.
🔗 Purchase Links from AliExpress here
ARDUINO UNO R3 CLONE: s.click.aliexpress.com/e/_DDV...
ARDUINO MICRO CLONE: s.click.aliexpress.com/e/_De4...
KY038 Microphone module: s.click.aliexpress.com/e/_DDm...
Onboard, you'll find two LEDs-one for power and the other indicating when the sensor reaches a certain sound level.
This module provides two outputs:
• AO (Analog Output): Real-time output voltage signal of the microphone.
• DO (Digital Output): Switches high when sound intensity reaches a set threshold.
You can fine-tune the sensitivity using the potentiometer on the module.
📺 Explore more electronics tutorials in this playlist:
• Electronics & Projects
🔔 Subscribe to the channel and hit the notification bell to stay updated with the latest Electronics videos and tutorials!
/ @scottydiy
🔗 Check out Josephine's channel for her content: / @josephine5766
🔖 Tags: #arduino #KY038 #electronics #tutorial
🔍 Key Terms: arduino, arduino ide, arduino uno, esp8266, arduino bluetooth, arduino board, arduino display, arduino due, arduino joystick, arduino kit, arduino lcd display, arduino lcd i2c, arduino led, arduino leonardo, arduino mega, arduino mega 2560, arduino micro, arduino mini, arduino pro micro, arduino pro mini, arduino programming, arduino projects, arduino relay, arduino robot, arduino sensors, arduino servo, arduino set, arduino shield, arduino starter kit, arduino stepper motor, arduino temperature sensor, arduino uno r3, arduino wifi, atmega2560, atmega328, atmega328p, ch340, dht11 arduino, ds18b20 arduino, esp32 arduino, esp8266 arduino, i2c arduino, lcd 16 x 2, lcd arduino, mpu6050, nodemcu esp8266, rfid arduino, servo motor arduino, ssd1306, teensy, tinkercad arduino, ultrasonic sensor arduino

Наука

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@DavidKHill
@DavidKHill Год назад
It would be so nice if the code was visible to read as you talk to it. I tried large screen and PC RU-vid settings and still had a very difficult time reading it during the presentation. Also, would be nice if we had a place to download the code to follow along.
@FreddotheWheelchairGuy
@FreddotheWheelchairGuy Год назад
Agreed. Would have been so handy to copy the code
@Enigma758
@Enigma758 2 года назад
It looks like the circuit is pretty simple and only consists of a comparator with the pot acting as a voltage divider reference and that drives the digital output. However, for the analog output, there does not appear to be any amplification and the electret microphones put out a very low signal, so is the analog output coming directly from the mic with no amplification?
@rodo19724
@rodo19724 3 месяца назад
Hi ! I am trying to send data thru one arduino to another, but using two handys, Baofeng BF999-s, it can transmit up to 10 km. so, I need to convert data from arduino to handy mic and in the other site receive data from handy speaker and through arduino turn it into data again, like Rattlegram, but I need to control for example a relay, with Rattlegram I can`t do that, can you help me ?
@Trix8574
@Trix8574 2 года назад
Hey, I was wondering If you could help me find the problem with my microphone. I have a feeling its the microphone because I have tried every bit of code and I have yet to fix my microphone output.
@FreddotheWheelchairGuy
@FreddotheWheelchairGuy Год назад
Can you upload a link to the code please? It seems simple enough but I'm just a beginner. Thanks
@aimzero_9489
@aimzero_9489 3 года назад
Please send me the code
@emirjohnston2705
@emirjohnston2705 2 месяца назад
Wrote this so you dont have to x int micPin = A0; int digitalPin = 2; int sensorValue = 0; int DigitalState = 0; void setup() { pinMode(LED_BUILTIN, OUTPUT); pinMode(digitalPin, INPUT); Serial.begin(9600); } void loop() { sensorValue = analogRead (micPin); DigitalState = digitalRead(digitalPin); Serial.println (sensorValue, DEC); Serial.println (DigitalState); if(sensorValue > 550) { digitalWrite(LED_BUILTIN, HIGH); } else { digitalWrite(LED_BUILTIN, LOW); } delay(500); }
Далее
Lesson 20 - Sound Sensor Module KY-038
26:46
Просмотров 127 тыс.
Fun with Transistors
24:33
Просмотров 85 тыс.
Arduino Programming Syntax
9:15
Просмотров 238 тыс.
Make your own Spy Bug (Arduino Voice Recorder)
7:18
Просмотров 428 тыс.
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 531 тыс.
Voice-over Microphone || DIY or Buy
9:35
Просмотров 862 тыс.
Arduino Basics - Relays
15:13
Просмотров 139 тыс.
DIY IoT Decibel Meter | Sound Level Meter
7:01
Просмотров 29 тыс.
Cool Gaming PC Build! #shorts
1:00
Просмотров 3,8 млн