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.
Другие товары поставщика
|
|
Product DescriptionSize: 15.5 * 16 * 15.5 mmThe module features:1, 2 channels of logic and high voltage low voltage logic two-way transformation2, ... |
|
|
Description :This item support online upgrade firmware perfectly now, it means that in the future if there is a new function, the user can upgrade ... |
|
|
Product DescriptionSpecificationsType : SensorUse For : Universal, For ArduinoDevelopment Board Type : For ArduinoSensor Function : Tactile/TouchDi... |
|
|
· the use of plug-in full-color LED · RGB trichromatic limiting resistor to prevent burnout · Through the PWM adjusting three primary colors can be... |
|
|
Description:Humidity Sensor Module HR202 Humidity Testing Module Humidity Detection Sensor· Article-Nr.:5401468· Product Details:· Humidity Detecti... |
Все товары поставщика
Похожие товары