工具関係の商品の価格比較などを行っています

Anycubic Microphone Sound Detection Sensor Module For Official Arduino Boards Pack of 3PCS [並行輸入品]

メーカー
Anycubic
JAN
4894376130715
この商品のレビュー
Amazonでのレビュー
シェア

商品説明

Specification:
For sound detection module has two outputs:
1. AO, analog output, real-time output voltage signal of the microphone
2. DO, when the sound intensity reaches a certain threshold, the output high and low signal
Digital Output:
int Led=13;//define LED interface
int buttonpin=3 //Define D0 Sensor Interface
int val;//define numeric variables val
void setup()
{
pinMode(Led,OUTPUT);// Define LED as output interface
pinMode(buttonpin,INPUT);//Define D0 Sensor as output Interface
}
void loop()
{
val=digitalRead(buttonpin);//digital interface will be assigned a value of 3 to read val
if(val==HIGH)//When the light sensor detects a signal is interrupted, LED flashes
{
digitalWrite(Led,HIGH)
}
else
{
digitalWrite(Led,LOW)
}
}
Analog Output:
int sensorPin = A5; // select the input pin for the potentiometer
int ledPin = 13; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
digitalWrite(ledPin, HIGH);
delay(sensorValue);
digitalWrite(ledPin, LOW);
delay(sensorValue);
Serial.println(sensorValue, DEC);
}
Package list:
3×Microphone Sensor Detection Module

特記事項

  • インポート商品
  • 並行輸入商品
  • アメリカ販売品

価格ランキング

価格情報を取得することができませんでした。
下記のリンクより、キーワードなどでお探しいただけますでしょうか。