⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 蜂鸣器原理及应用.htm

📁 此压缩包为AT89C51控制的电子门铃 包括keil文件包 以及PROTEUS的仿真 希望对初学者有所帮助
💻 HTM
📖 第 1 页 / 共 4 页
字号:
                  src="蜂鸣器原理及应用.files/tp009.gif" width=15></TD>
                <TD align=left width="46%" height=18>&nbsp;<SPAN 
                  class=正文>您现在位于:电子驿站 → 单片机轻松入门</SPAN></TD>
                <TD vAlign=center align=right width="52%">
                  <DIV align=left>
                  <SCRIPT language=JavaScript1.2>
/*
Cross browser Marquee script- ?Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//修改宽度
var marqueewidth=390
//高度
var marqueeheight=18
//速度(1-10)
var marqueespeed=1
//背景颜色
var marqueebgcolor="#0"
//是否能暂停 (0=no. 1=yes)?
var pauseit=1

//修改显示内容
var marqueecontent='<nobr></FONT><a class=lianjiewxb href="http://www.ourmpu.com"><FONT color=red>『电子驿站欢迎您!』<FONT class=lianjiewxb> 这里有电子基础知识、单片机学习资料、多媒体教程、芯片中文资料及大量单片机实验例程...为您学习单片机技术提供理论与实践相结合的实验开发平台!</a></font></nobr>'

////下面不需改变////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100;left:-1000">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=marqueewidth+8
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? cross_marquee.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=marqueewidth+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed
else
cross_marquee.style.left=marqueewidth+8

}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=marqueewidth+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0;top:0"></div>')
write('</div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
            </SCRIPT>
                  </DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE class=unnamed1 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle height=12>
            <TABLE width="100%" border=0>
              <TBODY>
              <TR>
                <TD width="21%">&nbsp;</TD>
                <TD width="19%">
                  <DIV align=center><A 
                  onmouseover="MM_swapImage('ghome','','../images/GHOME2.GIF',1)" 
                  onmouseout=MM_swapImgRestore() 
                  href="http://www.ourmpu.com/index.htm"><IMG height=35 
                  src="蜂鸣器原理及应用.files/GHOME1.gif" width=102 border=0 
                  name=ghome></A></DIV></TD>
                <TD width="21%">&nbsp;</TD>
                <TD width="18%"><A 
                  onmouseover="MM_swapImage('cpjs','','../images/CHPJS2.GIF',1)" 
                  onmouseout=MM_swapImgRestore() 
                  href="http://www.ourmpu.com/chanp/chanp.htm"><IMG height=35 
                  src="蜂鸣器原理及应用.files/CHPJS1.gif" width=129 border=0 
                  name=cpjs></A></TD>
                <TD width="21%">&nbsp;</TD></TR>
              <TR>
                <TD align=left background=蜂鸣器原理及应用.files/OMBJ3.gif 
                  colSpan=5>&nbsp;&nbsp;&nbsp;<IMG height=10 
                  src="蜂鸣器原理及应用.files/omqj1.gif" width=10><SPAN 
                  class=style32>&nbsp;手把手教你学单片机</SPAN></TD></TR></TBODY></TABLE>
            <TABLE width="96%" border=0>
              <TBODY>
              <TR>
                <TD width="21%">
                  <DIV align=center>
                  <DIV align=center>
                  <DIV align=center>
                  <DIV class=style75 align=center><BR>蜂鸣器原理及应用</DIV>
                  <P align=center>单片机轻松入门教学 ------- <A class=lianjiewxa 
                  href="http://www.ourmpu.com/">『电子驿站』</A>原创,转载请注明出处!<BR>-------------------------------------------------------------------------------------------------------------</P>
                  <P align=justify>&nbsp;&nbsp;&nbsp;<SPAN 
                  class=style125>&nbsp;</SPAN>蜂鸣器是一种一体化结构的电子讯响器,广泛应用于计算机、打印机、复印机、报警器、电子玩具、汽车电子设备、电话机、定时器等电子产品中作发声器件; 
                  蜂鸣器主要分为压电式蜂鸣器和电磁式蜂鸣器两种类型。<BR><BR>&nbsp;&nbsp;&nbsp;<SPAN 
                  class=style125>&nbsp;</SPAN>压电式蜂鸣器主要由多谐振荡器、压电蜂鸣片、阻抗匹配器及共鸣箱、外壳等组成。多谐振荡器由晶体管或集成电路构成,当接通电源后(1.5~15V直流工作电压),多谐振荡器起振,输出1.5~2.5kHZ的音频信号,阻抗匹配器推动压电蜂鸣片发声。<BR><BR>&nbsp;&nbsp;&nbsp;<SPAN 
                  class=style125>&nbsp;</SPAN>电磁式蜂鸣器由振荡器、电磁线圈、磁铁、振动膜片及外壳等组成。接通电源后,振荡器产生的音频信号电流通过电磁线圈,使电磁线圈产生磁场,振动膜片在电磁线圈和磁铁的相互作用下,周期性地振动发声。 
                  <BR><BR><SPAN class=style135><SPAN class=style128><SPAN 
                  class=style39><IMG height=20 src="蜂鸣器原理及应用.files/DOT_ON.gif" 
                  width=52><SPAN 
                  class=style158>下面是电磁式蜂鸣器的实物图片及结构示意图。。。</SPAN></SPAN></SPAN></SPAN></P>
                  <TABLE height=283 width="67%" align=center border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top>
                        <DIV class=style157 align=center>电磁式蜂鸣器实物图:</DIV></TD>
                      <TD vAlign=top>&nbsp;</TD>
                      <TD vAlign=top><SPAN 
                      class=style135>电磁式蜂鸣器结构示意图:</SPAN></TD></TR>
                    <TR>
                      <TD vAlign=top width="36%"><IMG height=170 
                        src="蜂鸣器原理及应用.files/fmq1.jpg" width=172 align=absMiddle 
                        border=0></TD>
                      <TD vAlign=top width="11%">&nbsp;</TD>
                      <TD vAlign=top width="53%">
                        <P><IMG height=185 src="蜂鸣器原理及应用.files/fmq2.gif" 
                        width=258></P></TD></TR>
                    <TR>
                      <TD vAlign=top>
                        <DIV align=center><SPAN class=style128>图 
                      1</SPAN></DIV></TD>
                      <TD vAlign=top>&nbsp;</TD>
                      <TD vAlign=top>
                        <DIV align=center><SPAN class=style128>图 2 
                      </SPAN></DIV></TD></TR>
                    <TR>
                      <TD vAlign=top colSpan=3>
                        <TABLE width="99%" align=center border=0>
                          <TBODY>
                          <TR>
                            <TD vAlign=top width="36%"><SPAN 
                              class=style159>电磁式蜂鸣器内部构成:</SPAN></TD>
                            <TD vAlign=top width="36%">&nbsp;</TD>
                            <TD vAlign=top width="36%">&nbsp;</TD></TR>
                          <TR>
                            <TD vAlign=top><SPAN class=style144>1. 防水贴纸 <BR>2. 
                              线轴 <BR>3. 线圈<BR>4. 磁铁 </SPAN></TD>
                            <TD vAlign=top><SPAN class=style144>5. 底座<BR>6. 
                              引脚<BR>7. 外壳<BR>8. 铁芯</SPAN></TD>
                            <TD vAlign=top><SPAN class=style144>9. 封胶<BR>10. 
                              小铁片<BR>11. 振动膜<BR>12. 电路板</SPAN></TD></TR>
                          <TR>
                            <TD vAlign=top>&nbsp;</TD>
                            <TD vAlign=top>&nbsp;</TD>
                            <TD 
                    vAlign=top>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
                  <DIV align=justify><BR>&nbsp;&nbsp;&nbsp;<SPAN 
                  class=style125>&nbsp;<SPAN 
                  class=style141>一、电磁式蜂鸣器驱动原理</SPAN></SPAN><BR><BR>&nbsp;&nbsp;&nbsp;<SPAN 
                  class=style125>&nbsp;</SPAN>蜂鸣器发声原理是电流通过电磁线圈,使电磁线圈产生磁场来驱动振动膜发声的,因此需要一定的电流才能驱动它,单片机IO引脚输出的电流较小,单片机输出的TTL电平基本上驱动不了蜂鸣器,因此需要增加一个电流放大的电路。S51增强型单片机实验板通过一个三极管C8550来放大驱动蜂鸣器,原理图见下面图3:<BR><BR></DIV>
                  <TABLE height="60%" width="30%" align=center border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top colSpan=3>
                        <DIV class=style138 
                        align=center>S51增强型单片机实验板蜂鸣器驱动原理图:</DIV></TD></TR>
                    <TR>
                      <TD vAlign=top width="8%">
                        <DIV class=style137 align=center></DIV></TD>
                      <TD vAlign=top width="90%"><A 
                        href="http://www.ourmpu.com/chanp/s51sybn.htm" 
                        target=_blank><IMG height=303 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -