<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-BUZZER</id>
		<title>Microduino-BUZZER - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-BUZZER"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-BUZZER&amp;action=history"/>
		<updated>2026-04-29T18:15:03Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-BUZZER&amp;diff=8827&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Microduino-Buzzer }} {| style=&quot;width: 800px;&quot; |- |  Microduino-Buzzer  Microduino-Buzzer is passive just like a ma...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-BUZZER&amp;diff=8827&amp;oldid=prev"/>
				<updated>2015-07-07T06:27:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Microduino-Buzzer }} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-BUZZER.jpg&quot; title=&quot;文件:Microduino-BUZZER.jpg&quot;&gt;400px|thumb|right| Microduino-Buzzer&lt;/a&gt;  Microduino-Buzzer is passive just like a ma...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Microduino-Buzzer }}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-BUZZER.jpg|400px|thumb|right| Microduino-Buzzer]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Buzzer is passive just like a magnetic speaker. It needs voltage with different frequency and thus can make sound accordingly.  The sound becomes louder when the frequency gets higher.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Feature==&lt;br /&gt;
*Controllable sound frequency (eg: You can achieve the effect of piano spectrum with it. )&lt;br /&gt;
*Small size and beautiful &lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Operation voltage—3.3V~5V; &lt;br /&gt;
*1.27mm pitch and 4Pin interface; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File: Microduino-Buzzer_rule1.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
&lt;br /&gt;
*Schematic：'''[[File: Microduino_ Buzzer.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
It can be used to make various kinds of sound through the buzzer.  &lt;br /&gt;
==Application==&lt;br /&gt;
*Hardware Needed: [[Microduino-Core]], [[Microduino-USBTTL]], [[Microduino-Sensorhub]], several dupont lines and USB cable;  &lt;br /&gt;
*Software:&lt;br /&gt;
**Make sure you did build Microduino development envrionment or you need to refer to: [[Microduino Getting start]]&lt;br /&gt;
*Program&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
#define buzzer_pin 6&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  pinMode(buzzer_pin,OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
  for(int i=200;i&amp;lt;=800;i++)  //Increase the frequency from 200HZ to 800HZ circularly. &lt;br /&gt;
  {&lt;br /&gt;
    tone(buzzer_pin,i);    //Output frequency in the port. &lt;br /&gt;
&lt;br /&gt;
    delay(5);      //The frequency lasts for 5ms.  &lt;br /&gt;
  }&lt;br /&gt;
  delay(1000);     //The highest frequency lasts for 1s. &lt;br /&gt;
  for(int i=800;i&amp;gt;=200;i--)&lt;br /&gt;
  {&lt;br /&gt;
    tone(buzzer_pin,i);&lt;br /&gt;
    delay(10); //The frequency lasts 10ms.   &lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*Stack all the modules and then connect the interface on the back of BUZZER to the D6 digital port of Sensorhub. &lt;br /&gt;
&lt;br /&gt;
*Open IDE, copy the program to IDE, choose the right board, compile and download.&lt;br /&gt;
*You can hear the alarm after download. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purchase==&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
==Image==&lt;br /&gt;
&lt;br /&gt;
*Front&lt;br /&gt;
[[file: Microduino-Buzzer-F.JPG|thumb|600px|center|Microduino-Cube-Station Front]]&lt;br /&gt;
*Back&lt;br /&gt;
[[file: Microduino-Buzzer -b.JPG|thumb|600px|center|Microduino-Cube-Station Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>