BKK
ลำโพง buzzer แบบ passive Passive buzzer KY-006 - รูปที่ 1
ลำโพง buzzer แบบ passive Passive buzzer KY-006 - รูปที่ 2
ลำโพง buzzer แบบ passive Passive buzzer KY-006 - รูปที่ 3

ลำโพง buzzer แบบ passive Passive buzzer KY-006

1 ขายแล้ว
฿15 ฿7 SAVE 50%

โปรโมชั่นจำกัดเวลา สั่งซื้อด่วนก่อนสินค้าหมด!

ร้านค้า ModuleMore
แบรนด์NoBrand
การจัดส่ง ส่งฟรีทั่วไทย

รายละเอียดสินค้า

วิดีโอตัวอย่างการใช้งาน Passive buzzer Piezo Buzzer: Piezoelectric buzzer is mainly composed of multivibrator, piezoelectric buzzer, impedance matching and resonance box, shell, etc. Some piezoelectric buzzer boxes are also equipped with light-emitting diodes. The multivibrator is made of transistors or integrated circuits. When it is turned on (1.5v-15v DC working voltage), the multivibrator starts and outputs a 1.5-2.5khz audio signal, and the impedance matching pushes the sound of the piezoelectric buzzer. Piezo buzzer is made of lead zirconate titanate and lead magnesium niobate piezoelectric ceramic materials. The ceramic surface is plated with silver electrodes, polarized and aged, and then bonded together with brass or stainless steel sheets. The KY-006 Passive Piezoelectric Buzzer module can produce a range of sound tones depending on the input signal fequency. This module consists of a passive buzzer and 3 male header pins. You can use it generate tones between 1.5 to 2.5kHz by switching it on and off repeatedly at different frequencies either using delays or PWM. Specification Operating Voltage 1.5V ~ 15V DC Tone Generation Range 1.5kHz ~ 2.5kHz Board Dimensions 18.5mm x 15mm [0.728in x 0.591in] ตัวอย่างการใช้งาน ขา S ต่อ pin 12 ของ UNO R3 ขา - ต่อ GND ของ UNO R3 ขากลางปล่อยไว้ const int buzzerPin = 12; const int songLength = 160; char notes[] = "eeeeeeegcde fffffeeeeddedg eeeeeeegcde fffffeeeggedc pedcp pedcy yedcv ggede eeeeeeegcde fffffeeeeddedg eeeeeeegcde fffffeeeggedc"; // a space represents a rest int beats[] = { 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 8 }; int tempo = 300; void setup() { pinMode(buzzerPin, OUTPUT); } void loop() { int i, duration; for (i = 0; i songLength; i++) // step through the song arrays { duration = beats[i] * tempo; // length of note/rest in ms if (notes[i] == ' ') // is this a rest? { delay(duration); } else // otherwise, play the note { tone(buzzerPin, frequency(notes[i]), duration); delay(duration); // wait for tone to finish } delay(tempo / 10); } while (true) {} } int frequency(char note) { int i; const int numNotes = 11; // number of notes we're storing char names[] = { 'p', 'y', 'v', 'c', 'd', 'e', 'f', 'g', 'a', 'b', 'C' }; int frequencies[] = { 201, 222, 250, 262, 294, 330, 349, 392, 440, 494, 523 }; for (i = 0; i numNotes; i++) { if (names[i] == note) { return (frequencies[i]); } } return (0); }

สินค้าที่คุณอาจสนใจ

สั่งซื้อเลยที่ Shopee