Passive Buzzer Module
Product Description3.5-5.5V Active Standard Passive Buzzer Module For Arduino Specification: Working voltage: 3.5-5.5V Working current: PCB Dimension: 18.5mm x 15mm(L x W) Feature: No oscillation source, need square wave (frequency 2K-5K ) to drive. Sound frequency control, you can make a "do re mi fa sol la si" effect. Package included: 1 x Standard Passive Buzzer Module ARDUINO reference source programme: int buzzer=8;// Set the control the buzzer digital IO pin void setup() { pinMode(buzzer,OUTPUT);// Setting the digital IO pin mode , OUTPUT is Wen out } void loop() { unsigned char i,j;// Define the variable while(1) { for(i=0;i { digitalWrite(buzzer,HIGH);// Sound delay(1);//delay 1ms digitalWrite(buzzer,LOW);//Not sound delay(1);// delay 1ms } for(i=0;i { digitalWrite(buzzer,HIGH);// Sound delay(2);//delay 2ms digitalWrite(buzzer,LOW);// Not sound delay(2);//delay 2ms } } } After downloading the program, the buzzer experiments are finish.
Другие товары поставщика
|
|
|
3D Printer Dual Head Extruder Hot End Hotend J Head V6 Multi Chimera Extruder FeaturesAdd Multi-Extrusion capability to your machine with the easie... |
|
|
|
HS1101 Humidity Sensor |
|
|
|
Product name:Smart Adapter for Sanguinololu V1.3AProduct DescriptionThis adapter is for Sanguinololu Board Smart Controller LCD 2004 & LCD 12864. Y... |
|
|
|
Product name :3D Printer Filament PETG 1.75mm/3mmProduct Description3D Printer Filament PETG 1.75mm/3mm1.75mm/3mm for Makerbot/Reprap/Mendel/UP Mac... |
|
|
|
Power Supply 400W 12V 33A S-400-12Input Voltage: AC 100V~120V 60HZ; 200-220V 50HZOutput Voltage: 12V DCOutput Current: 20AShell Material: Iron ca... |
Все товары поставщика
Похожие товары