5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10

Arduino Mega 2560 Project 12: Analog Sound Sensor

Posted by Fiona Su on

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.
  • Supply Voltage: 3.3V to 5V
  • Detecting sound intensity
  • Interface: Analog
  • Size: 30*20mm
  • Weight: 4g

Connection Diagram:


Sample Code:

void setup()
  Serial.begin(9600); // open serial port, set the baud rate to 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        

Project List

Buy it here>>Sensor Starter Kit For Arduino Mega 2560


Leave a comment

Please note, comments must be approved before they are published