ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
วิดีโอตัวอย่างการใช้งาน 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);
}
 
 
เงื่อนไขอื่นๆ
Tags

นโยบายการเปลี่ยนหรือคืนสินค้า


สินค้าทุกชิ้นมีการรับประกัน 30 วันครับ

โดยมีเงื่อนไขต่างๆดังนี้

1. ลูกค้าไม่ได้เป็นผู้ทำเสียหายเอง อาธิเช่น การต่อไฟเลี้ยงไม่ถูกต้อง (เซนเซอร์รับ 3.3v เราใส่ 5v อันนี้ไม่ได้เนอะ)
2. สินค้าต้องอยู่ในสภาพสมบูรณ์ ไม่แตกหักหรือเสียหายจากไฟ (เช่นไฟฟ้าลัดวงจรจนไฟไหม้)
3. ทางร้านไม่รับเปลี่ยนสินค้าจากความเข้าใจผิดของลูกค้าเอง เช่น ขนาดไม่ตรงกับงานที่ใช้, หรือซื้อไว้แต่ไม่ได้ใช้งาน เป็นต้น ลูกค้าสามารถสอบถามข้อมูลสินค้าหากมีความคลุมเครือก่อนสั่งซื้อได้ในไลน์ร้าน @modulemore ตลอดวันทำการ ยกเว้นเวลา 12.00-14.00 ที่อาจมีการตอบช้าในช่วงนี้ 

การส่งคืนสินค้า
การส่งคืนสินค้าจำเป็น ต้องมีใบเสร็จหรือสำเนา เพื่อความรวดเร็วในการตรวจสอบครับ
สามารถส่งคืนได้ผ่านที่อยู่ของร้าน คลิ๊ก โดยเขียนเป็นลายลักษณ์อักษรกำกับดังนี้
1. รายละเอียดรายการเสียหาย
2. ลูกค้าได้ทดสอบอะไรไปบ้าง

ทางร้านขอสงวนสิทธิ์ในการตัดสินใจเปลี่ยนสินค้าหรือคืนเงินครับ

 
ไทย

สินค้าของเรา

เซนเซอร์/ โมดูล [323]

MEMBER ZONE

TRACK & TRACE

*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

OVERVIEW

หน้าที่เข้าชม2,073,699 ครั้ง
ผู้ชมทั้งหมด1,334,425 ครั้ง
ร้านค้าอัพเดท9 ก.ย. 2568

JOIN US

ร้านโมดูลมอร์
ร้านโมดูลมอร์
/www.modulemore.com/
Join เป็นสมาชิกร้าน
601
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ
Choose your language
Language
Currency
Change
เปลี่ยนภาษา
รายการสั่งซื้อของฉัน
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านโมดูลมอร์
โมดูลมอร์
ขาย arduino, diy, เรียน arduino, ทำหุ่นยนต์, ฝึกเขียนโปรแกรม, ตั้งแต่ระดับเริ่มต้นจนชำนาญ
เบอร์โทร : 0831710868
อีเมล : modulemore@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม