Datasheet
IDUINO for Maker’s life
www.openplatform.cc
2. Pinout
Pin
Description
A0
Analog signal output pin
G
Ground
+
Power(5V/3.3V)
D0
Digital signal output pin
3. Example
We will use three example to show the different function of this module.
Example 1 show you how to use the digital pin(D0), Example 2 show you how to use
the digital pin(A0), In Example 3, we can try to combine this two function into one
experiment.
3.1 Example 1
This example show you the digital pin function, connect Pin12(Arduino) to a LED
light, and connect this module as below, and upload the code.
Then turn the variable resistor until the LED12 turns off. Now you can handclap or
make a sound, you will see the LED12 turns on.
Code for Example1
********Code begin********
int Led = 12 ;// define LED Interface
int buttonpin = 7; // define D0 Sensor Interface
int val = 0;// define numeric variables val
void setup ()