SeeedStudio Grove Loudness Sensor Manual

SeeedStudio Grove Loudness Sensor Manual

Advertisement

Quick Links

Sound / Grove / Grove - Loudness Sensor

Grove - Loudness Sensor

The Grove - Loudness Sensor is designed to detect the sound of environment. Based on
LM2904 amplifier and a built-in microphone, it amplifies and filters the high frequency signal
that received from the microphone, and outputs a positive envelop. This is used for Arduino's
signal acquisition. The output value depends on the level of sound input. In order to avoid
unnecessary signal disturbances, input signal will go through two times' filtering inside the
module. There is a screw potentiometer that enables manual adjustments to the output gain.
Version
Product Version
Changes
Grove-Loudness Sensor V0.9b
Initial
Features
Grove Interface
Easy to use
Basic Grove element
whatshot
Tip
Released Date
Dec 2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Grove Loudness Sensor and is the answer not in the manual?

Questions and answers

Summary of Contents for SeeedStudio Grove Loudness Sensor

  • Page 1 Sound / Grove / Grove - Loudness Sensor Grove - Loudness Sensor The Grove - Loudness Sensor is designed to detect the sound of environment. Based on LM2904 amplifier and a built-in microphone, it amplifies and filters the high frequency signal that received from the microphone, and outputs a positive envelop.
  • Page 2 More details about Grove modules please refer to Grove System Specifications Parameter Value/Range Voltage 3.5~10 VDC Working Frequency 5~2000 Hz Sensitivity -60~-56dBV/Pa Signal-to-noise Ratio >58 dB Output Signal range Analog Signal (0- 1023) Platforms Supported Arduino Raspberry Pi warning Caution The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility.
  • Page 3 edit Note If we don't have Grove Base Shield, We also can directly connect Grove-Loudness Sensor to Seeeduino as below. Seeeduino Grove-Loudness Sensor Black White Yellow Software Step 1. Please copy below code to Arduio IDE and upload to arduino. If you do not know how to upload the code, please check how to upload code int loudness;...
  • Page 4 Raspberry pi Grove Base Hat for RasPi Grove - Loudness Sensor Get ONE Now Get ONE Now Get ONE Now Step 2. Plug the Grove Base Hat into Raspberry Pi. Step 3. Connect the Grove - Loudness Sensor to to the A0 port of the Base Hat. Step 4.
  • Page 5 import math import import time from grove.adc import class GroveLoudnessSensor: __init__(self, channel): self.channel = channel self.adc = ADC() @property value(self): return self.adc.read(self.channel) Grove = GroveLoudnessSensor main(): len(sys.argv) < 2: print('Usage: adc_channel'.format(sys.argv[0])) sys.exit(1) sensor = GroveLoudnessSensor(int(sys.argv[1])) print('Detecting loud...') while True: value = sensor.value value >...
  • Page 6 Step 3. Excute below commands to monitor the loudness. cd ~/GrovePi/Software/Python python grove_loudness_sensor.py Here is the grove_loudness_sensor.py code. import time import grovepi # Connect the Grove Loudness Sensor to analog port A0 # SIG,NC,VCC,GND loudness_sensor = while True: try: # Read the sound level sensor_value = grovepi.analogRead(loudness_sensor) print("sensor_value = %d"...
  • Page 7 Resources [Eagle&PDF] Grove - Loudness Sensor Schematic [Datasheet] LM2904DR Datasheet...

Table of Contents