sensor module. KY-038 Datasheet

KY-038 Datasheet PDF


Part Number

KY-038

Description

Microphone sound sensor module

Manufacture

Joy-IT

Total Page 7 Pages
Datasheet
Download KY-038 Datasheet



KY-038
KY-038 Microphone sound sensor module
KY-038 Microphone sound sensor module
Contents
1 Picture ................................................................................................................................................................. 1
2 Technical data / Short description ....................................................................................................................... 1
3 Pinout ................................................................................................................................................................... 2
4 Functionality of the sensor .................................................................................................................................. 2
5 Code example Arduino ......................................................................................................................................... 3
6 Code example Raspberry Pi ................................................................................................................................. 4
Picture
Technical data / Short description
Digital Out: You can use a potentiometer to configure an extreme value for the sonic. IF the value exceeds
the extreme value it will send a signal via digital out.
Analog Out: Direct microphone signal as voltage value 
LED1: Shows that the sensor is supplied with voltage 
LED2: Shows that a magnetic field was detected
Export: 16.06.2017
Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Page 172 of 214

KY-038
KY-038 Microphone sound sensor module
Pinout
Functionality of the sensor
The sensor has 3 main components on its circuit board. First, the sensor unit at the front of the module
which measures the area physically and sends an analog signal to the second unit, the amplifier. The
amplifier amplifies the signal, according to the resistant value of the potentiometer, and sends the signal to
the analog output of the module.
The third component is a comparator which switches the digital out and the LED if the signal falls under a
specific value.
You can control the sensitivity by adjusting the potentiometer.
Please notice: The signal will be inverted; that means that if you measure a high value, it is shown as a low
voltage value at the analog output.
Export: 16.06.2017
Copyright by Joy-IT - Published under CC BY-NC-SA 3.0
Page 173 of 214




@ 2014 :: Datasheetspdf.com ::
Semiconductors datasheet search & download site (Privacy Policy & Contact)