Check the 35 other Arduino tutorials

#30 · Sound sensor data on Arduino IDE serial plotter


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.

#30 · Sound sensor data on Arduino IDE serial plotter schakelschema

Tutorial goals

  • Reading CZN-15E sound sensor
  • Applying data sampling
  • Draw sound on serial plotter

Components needed

  • 1× Arduino
  • 3× Jumper wire (male-female)
  • 1× CZN-15E geluidssensor

Bas van Dijk

About Bas on Tech


My name is Bas van Dijk, entrepreneur, software developer and maker. With Bas on Tech I share video tutorials with a wide variety of tech subjects i.e. Arduino and 3D printing.

Years ago, I bought my first Arduino with one goal: show text on an LCD as soon as possible. It took me many Google searches and digging through various resources, but I finally managed to make it work. I was over the moon by something as simple as an LCD with some text.

With Bas on Tech I want to share my knowledge so others can experience this happiness as well. I've chosen to make short, yet powerful YouTube videos with a the same structure and one subject per video. Each video is accompanied by the source code and a shopping list.