Iduino SE044 User guide

IDUINO for maker’s life
Description
Signal input pin, which can be driven by square wave signal
Power(3.3V/5V), you may not see this mark on the board, it’s the middle pin
Ground
Passive Buzzer(SE044)
1 Introduction
This module is similar with the Active Buzzer, the only difference is that this module only can be driven square wave signal, not DC signal.
2 pinout
3 Example Here is a example that driven the Passive buzzer sound. The connection as below:
www.openplatform.cc
IDUINO for maker’s life
********Code begin********
int buzzer = 8 ;// setting controls the digital IO foot buzzer
void setup ()
{
pinMode (buzzer, OUTPUT) ;// set the digital IO pin mode, OUTPUT out of Wen
}
void loop ()
{
unsigned char i, j ;// define variables
while (1)
{
for (i = 0; i <80; i++) // Wen a frequency sound
{
digitalWrite (buzzer, HIGH) ;// send voice
delay (1) ;// Delay 1ms
digitalWrite (buzzer, LOW) ;// do not send voice
delay (1) ;// delay ms
}
for (i = 0; i <100; i++) // Wen Qie out another frequency sound
{
digitalWrite (buzzer, HIGH) ;// send voice
delay (2) ;// delay 2ms
digitalWrite (buzzer, LOW) ;// do not send voice
www.openplatform.cc
IDUINO for maker’s life
delay (2) ;// delay 2ms
}
}
}
********Code End********
Description:
This board converts a USB connection into a 5 volt Serial TX and RX that you can
www.openplatform.cc
IDUINO for maker’s life
connect straight to the Arduino Mini, Arduino Ethernet or other microcontrollers, allowing them to talk to the computer. One of the nice features of this board is a jumper on the back of the board that allows the board to be configured to either 3.3V or 5V (both power output and IO level). This board ship default to 5V, but you can cut the default trace and add a solder jumper if you need to switch to 3.3V.
Specification
Chip: FT232RL RXD/TXD transceiver communication indicator USB power supply, can choose 5V or 3.3V With over current protection, using 500MA self-restore fuse Pin definition: DTR,RXD,TX,VCC,CTS,GND
www.openplatform.cc
Loading...