.............. 1 3 Pinout ............. 2 4 Code example Arduino ...........
to create different sounds from the Piezo-Buzzer. Export: 16.06.2017 Copyright by Joy-IT - Published under CC BY-NC-SA 3.0 Page 34 of 214 KY-006 Passiv Piezo-Buzzer module Pinout Code example Arduino This is an example program which will start an alarm signal on the buzzer via square wave voltage. int buzzer = 8 ; // Declaration of the buzzer-output pin void setup () { pinMode (buzzer, OUTPUT) ;// Initialization of the output pin. } void loop () { unsigned char i; while (1) { // The buzzer will be controlled by 2 different frequencies in this program. // The signal is a square wave signa.
No. | Partie # | Fabricant | Description | Fiche Technique |
---|---|---|---|---|
1 | KY-001 |
Joy-IT |
Temperature sensor module | |
2 | KY-002 |
Joy-IT |
Vibration-switch module | |
3 | KY-003 |
Joy-IT |
Hall Magnetic Field Sensor | |
4 | KY-004 |
Joy-IT |
Button-module | |
5 | KY-005 |
Joy-IT |
Infrared Transmitter module | |
6 | KY-008 |
IMRAD |
Laser module | |
7 | KY-008 |
ETC |
Laser sensor module | |
8 | KY-008 |
ETC |
Laser module | |
9 | KY-008 |
ETC |
Laser head sensormodule | |
10 | KY-008 |
AZ-Delivery |
Laser Transmitter module | |
11 | KY-009 |
Joy-IT |
RGB LED SMD module | |
12 | KY-010 |
Joy-IT |
Light barrier-module |