Software; Play With Raspberry Pi (With Grove Base Hat For Raspberry Pi) - SeeedStudio Grove Loudness Sensor Manual

Table of Contents

Advertisement

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
5V
Red
GND
Black
NC
White
A0
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
int loudness;
void setup()
{
Serial.begin(9600);
}
void loop()
{
loudness = analogRead(0);
Serial.println(loudness);
delay(200);
}
Step 2. Open the serial to monitor the output. It will be a significant change when blow to
the sensor.

Play With Raspberry Pi (With Grove Base Hat for Raspberry Pi)

Hardware
Step 1. Things used in this project:
how to upload code
.

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?

Subscribe to Our Youtube Channel

Table of Contents