SOUND SENSOR DATA ON ARDUINO SERIAL PLOTTER - Arduino tutorial #30

Описание к видео SOUND SENSOR DATA ON ARDUINO SERIAL PLOTTER - Arduino tutorial #30

The CZN-15E sound sensor with microphone is able to detect sound. This sensor or for example used in a so called "clap sensor". In this tutorial I'll explain how you can read the sound sensor, and plot the result on the Arduino IDE's serial plotter. In order to draw this chart we need to process the sensor data with a technique called sampling.

The plotted amplitude is the amount of sound sampled over time. It does NOT represent a sound wave. The sensor is binary, it only measures if there is sound or not and is therefore incapable of determining sound frequency or amplitude.

The Arduino for beginners tutorials series guides you through the world of Arduino. A video is around 10 minutes and shows you step-by-step how to build the circuit and write the code. The website contains the course material, circuit diagram, Arduino code and shopping list of all the components used in the tutorial.

⬇️ Arduino code, circuit diagram and part list https://arduino-tutorials.net/tutoria...

👉 More tutorials and projects on https://arduino-tutorials.net

🇳🇱 Deze tutorial is ook in het Nederlands beschikbaar    • 🇳🇱 GELUIDSSENSOR OP SERIËLE PLOTTER T...  

CHAPTERS:
00:00 Introduction
00:16 Components
00:26 Sound sensor
02:09 Building the circuit
02:40 Arduino code - part 1
04:08 Arduino code - part 2

COMPONENTS
🇨🇳 Arduino Uno (clone) with cable - AliExpress
https://arduino-tutorials.net/r/Jd28hF

🇳🇱 Arduino Uno (clone) - Opencircuit
https://arduino-tutorials.net/r/8237Hd

🇳🇱 Arduino Uno SMD (original) - Opencircuit
https://arduino-tutorials.net/r/Ud29dh

🇳🇱 Arduino Uno Chip (original) - Opencircuit
https://arduino-tutorials.net/r/Jd82ha

🇨🇳 Jumper wire assortment (MM/MF/FF) - AliExpress
https://arduino-tutorials.net/r/Fh378fg

🇨🇳 Jumper wire male-female - AliExpress
https://arduino-tutorials.net/r/sjf83h

🇳🇱 Jumper wire male-female - Opencircuit
https://arduino-tutorials.net/r/a7DH2g

🇨🇳 CZN-15E sound sensor - AliExpress
https://arduino-tutorials.net/r/2387yD

🇳🇱 CZN-15E sound sensor - Opencircuit
https://arduino-tutorials.net/r/8374HDv

VIDEO SUMMARY:
In this tutorial Bas is showing how to use a sound sensor to show audio on the serial plotter. He explains that the sensor captures sound waves with a microphone and translates them into resistance which is the same as the amount of sound. When there is low resistance, the sensor sends 5V to the OUT and when there is lot of sound it sends around 0V. The potentiometer on the sensor can be adjusted to set the level of the boundary that determines whether the signal will be seen as LOW or HIGH. Then, Bas demonstrates how to build the circuit, connect the sensor to the Arduino, and run the code. To display the intensity of the sound, he shows how to use the serial plotter. He also mentions that he changed the code to sample the audio and use millis() to measure the elapsed milliseconds since the last time.

#arduino #BasOnTech

Комментарии

Информация по комментариям в разработке