Voice Sound Detection Sensor Module Microphone

KY-037 4pin Voice Sound Detection Sensor Module Microphone Transmitter Smart Robot Car for Arduino Electronic DIY Tool


18 ₪

الناشر: متجر القطع الالكترونية

القسم: مستشعرات - سينسور

تاريخ النشر: 2021-09-02



Features:

- For sound detection module has two outputs: - There is a mounting screw hole 3mm - The use 5v DC power supply - With analog output - High sensitive microphone and high sensitivity - A power indicator light - The comparator output is light



Package Included:

10 x KY-037 Voice Sound Detection Sensor Module





Specifications:

code
نسخ
اقتباس
عرض
تنزيل
	
								
const int microphonePin = A0; void setup() { Serial.begin(9600); } void loop() { int mn = 1024; int mx = 0; for (int i = 0; i < 10000; ++i) { int val = analogRead(microphonePin); mn = min(mn, val); mx = max(mx, val); } int delta = mx - mn; Serial.print("Min="); Serial.print(mn); Serial.print(" Max="); Serial.print(mx); Serial.print(" Delta="); Serial.println(delta); }


سلة المشتريات افراغ السلة