Ks0035 keyestudio Analog Sound Sensor

From Keyestudio Wiki
Jump to: navigation, search

Introduction

Analog Sound Sensor is typically used in detecting the loudness in ambient environment. The Arduino can collect its output signal by imitating the input interface. You can use it to make some interesting interactive works such as a voice operated switch.
thumb

Specification

  • Supply Voltage: 3.3V to 5V
  • Detecting sound intensity
  • Interface: Analog
  • Size: 30*20mm
  • Weight: 4g

Connection Diagram


thumb

Sample Code

void setup()
{
  Serial.begin(9600); // open serial port, set the baud rate at 9600 bps
}
void loop()
{
      int val;
      val=analogRead(0);   //connect mic sensor to Analog 0
      Serial.println(val,DEC);// print the sound value to serial monitor       
      delay(100);
}

Testing


thumb

Resources

Video

http://www.keyestudio.com/wp/ks0035/

PDF

https://drive.google.com/open?id=1e1emxaX_E67sqf3N9Uabydbe9fZAov5j

Buy From

Official Website

http://www.keyestudio.com/keyestudio-analog-sound-sensor-for-arduino.html