Difference between revisions of "Buzzer"

From ITEAD Wiki
Jump to: navigation, search
(Specifications)
(Overview)
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
Electronic brick of buzzer can be connected to the digital I / O port, when the output is low, buzzer will give a long sound. If it is connected to an analog pulse width modulation (PWM) output , the buzzer can produce a variety of tones, which can be made into the speaker of electronic organ.
 
Electronic brick of buzzer can be connected to the digital I / O port, when the output is low, buzzer will give a long sound. If it is connected to an analog pulse width modulation (PWM) output , the buzzer can produce a variety of tones, which can be made into the speaker of electronic organ.
 +
 +
Go shopping [http://imall.iteadstudio.com/im120710008.html Buzzer (IM120710008)]
  
 
==Features==
 
==Features==
Line 30: Line 32:
 
| Compatible interfaces||2.54 3-pin interface and 4-pin Grove interface(1)
 
| Compatible interfaces||2.54 3-pin interface and 4-pin Grove interface(1)
 
|}
 
|}
 +
 +
''Note 1:  S for digital input port , V and G for voltage at the common collector and ground respectively''
  
 
==Electrical Characteristics==
 
==Electrical Characteristics==
 +
{| class="wikitable"
 +
|-
 +
| align="center" style="background:#f0f0f0;"|'''Parameter'''
 +
| align="center" style="background:#f0f0f0;"|'''Min.'''
 +
| align="center" style="background:#f0f0f0;"|'''Typical'''
 +
| align="center" style="background:#f0f0f0;"|'''Max.'''
 +
| align="center" style="background:#f0f0f0;"|'''Unit'''
 +
|-
 +
| Working voltage||4.5||5||5.5||VDC
 +
|-
 +
| Digital input voltage(VCC=5V)||0||-||5||V
 +
|-
 +
| Working current(5V)||-||24||-||mA
 +
|-
 +
| Resonance frequency||2||2.5||3||kHz
 +
|}
  
 
==Demo==
 
==Demo==
 +
Connect S port of electronic brick of buzzer to D13 port of Arduino, and we will use the following program to make buzzer produce sounds at intervals of 1s.
 +
 +
  int buzzer = 13;
 +
  void setup() {               
 +
  // initialize the digital pin as an output.
 +
  pinMode(buzzer, OUTPUT);   
 +
  }
 +
 +
  void loop() {
 +
  digitalWrite(buzzer, HIGH);  // turn the buzzer off (HIGH is the voltage level)
 +
  delay(1000);              // wait for a second
 +
  digitalWrite(buzzer, LOW);    // turn the buzzer off by making the voltage LOW
 +
  delay(1000);              // wait for a second
 +
  }
 +
 +
==Library==
 +
 +
[https://code.google.com/p/tone-itead/ Tone Generator Library For Buzzer Electronic Brick]
  
 
==Download==
 
==Download==
 +
[ftp://imall.iteadstudio.com/Electronic_Brick/IM120710008/DS_IM120710008.pdf Datasheet]
 +
 +
[ftp://imall.iteadstudio.com/Electronic_Brick/IM120710008/SCH_IM120710008.pdf Schematic]
 +
 +
[ftp://imall.iteadstudio.com/Electronic_Brick/IM120710008/DEMO_IM120710008.zip Demo code]
  
 
==Useful Links==
 
==Useful Links==
 +
[http://blog.iteadstudio.com/itead-bluetooth-robot-panel-update/ <Tone Generator Library For Buzzer Electronic Brick>]

Latest revision as of 06:49, 11 June 2014

Overview

Buzzer.jpg

What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.

Electronic brick of buzzer can be connected to the digital I / O port, when the output is low, buzzer will give a long sound. If it is connected to an analog pulse width modulation (PWM) output , the buzzer can produce a variety of tones, which can be made into the speaker of electronic organ.

Go shopping Buzzer (IM120710008)

Features

1. Plug and Play, easy to use.Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.

IM120710008_2.jpg

2. With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock

IM120710008_3.jpg

3. With separation circuit to prevent damages to I / O port.

IM120710008_4.jpg

Specifications

PCB Size 33.0mm X 14.0mm X 1.6mm
Working voltage 5V DC
Operating voltage 5V DC
Compatible interfaces 2.54 3-pin interface and 4-pin Grove interface(1)

Note 1: S for digital input port , V and G for voltage at the common collector and ground respectively

Electrical Characteristics

Parameter Min. Typical Max. Unit
Working voltage 4.5 5 5.5 VDC
Digital input voltage(VCC=5V) 0 - 5 V
Working current(5V) - 24 - mA
Resonance frequency 2 2.5 3 kHz

Demo

Connect S port of electronic brick of buzzer to D13 port of Arduino, and we will use the following program to make buzzer produce sounds at intervals of 1s.

 int buzzer = 13;
 void setup() {                
 // initialize the digital pin as an output.
 pinMode(buzzer, OUTPUT);     
 }

 void loop() {
 digitalWrite(buzzer, HIGH);   // turn the buzzer off (HIGH is the voltage level)
 delay(1000);               // wait for a second
 digitalWrite(buzzer, LOW);    // turn the buzzer off by making the voltage LOW
 delay(1000);               // wait for a second
 }

Library

Tone Generator Library For Buzzer Electronic Brick

Download

Datasheet

Schematic

Demo code

Useful Links

<Tone Generator Library For Buzzer Electronic Brick>