51单片机例子.rar

  • D8_421341
    了解作者
  • 4.6MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-18 03:12
    上传日期
好多51单片机跑的程序例子
51单片机例子.rar
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/625c747d92dc900e624409e2/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/625c747d92dc900e624409e2/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">ADC0808/ADC0809</div><div class="t m0 x1 h2 y2 ff1 fs0 fc0 sc0 ls0 ws0">8-Bit<span class="_ _0"> </span>&#181;P<span class="_ _1"> </span>Compatible<span class="_ _2"> </span>A/D<span class="_ _0"> </span>Converters<span class="_ _0"> </span>with<span class="_ _0"> </span>8-Channel</div><div class="t m0 x1 h2 y3 ff1 fs0 fc0 sc0 ls0 ws0">Multiplexer</div><div class="t m0 x1 h3 y4 ff1 fs1 fc0 sc0 ls0 ws0">General<span class="_ _3"> </span>Description</div><div class="t m0 x1 h4 y5 ff2 fs2 fc0 sc0 ls0 ws0">The<span class="_ _4"> </span>ADC0808,<span class="_ _4"> </span>ADC0809<span class="_ _5"> </span>data<span class="_ _5"> </span>acquisition<span class="_ _5"> </span>component<span class="_ _5"> </span>is<span class="_ _5"> </span>a</div><div class="t m0 x1 h4 y6 ff2 fs2 fc0 sc0 ls0 ws0">monolithic<span class="_ _6"> </span>CMOS<span class="_ _6"> </span>device<span class="_ _6"> </span>with<span class="_ _6"> </span>an<span class="_ _6"> </span>8-bit<span class="_ _6"> </span>analog-to-digital<span class="_ _6"> </span>con-</div><div class="t m0 x1 h4 y7 ff2 fs2 fc0 sc0 ls0 ws0">verter<span class="_ _7"></span>,<span class="_"> </span>8-channel<span class="_ _8"> </span>multiplexer<span class="_"> </span>and<span class="_ _8"> </span>microprocessor<span class="_"> </span>compatible</div><div class="t m0 x1 h4 y8 ff2 fs2 fc0 sc0 ls0 ws0">control<span class="_ _4"> </span>logic.<span class="_ _5"> </span>The<span class="_ _4"> </span>8-bit<span class="_ _4"> </span>A/D<span class="_ _4"> </span>converter<span class="_ _5"> </span>uses<span class="_ _4"> </span>successive<span class="_ _5"> </span>ap-</div><div class="t m0 x1 h4 y9 ff2 fs2 fc0 sc0 ls0 ws0">proximation<span class="_"> </span>as<span class="_"> </span>the<span class="_"> </span>conversion<span class="_"> </span>technique.<span class="_"> </span>The<span class="_ _8"> </span>converter<span class="_"> </span>fea-</div><div class="t m0 x1 h4 ya ff2 fs2 fc0 sc0 ls0 ws0">tures<span class="_ _9"> </span>a<span class="_ _9"> </span>high<span class="_ _9"> </span>impedance<span class="_ _9"> </span>chopper<span class="_ _9"> </span>stabilized<span class="_ _9"> </span>comparator<span class="_ _7"></span>,<span class="_ _9"> </span>a</div><div class="t m0 x1 h4 yb ff2 fs2 fc0 sc0 ls0 ws0">256R<span class="_ _6"> </span>voltage<span class="_ _6"> </span>divider<span class="_ _4"> </span>with<span class="_ _6"> </span>analog<span class="_ _6"> </span>switch<span class="_ _6"> </span>tree<span class="_ _6"> </span>and<span class="_ _4"> </span>a<span class="_ _6"> </span>succes-</div><div class="t m0 x1 h4 yc ff2 fs2 fc0 sc0 ls0 ws0">sive<span class="_ _4"> </span>approximation<span class="_ _4"> </span>register.<span class="_ _6"> </span>The<span class="_ _5"> </span>8-channel<span class="_ _4"> </span>multiplexer<span class="_ _4"> </span>can</div><div class="t m0 x1 h4 yd ff2 fs2 fc0 sc0 ls0 ws0">directly<span class="_ _6"> </span>access<span class="_ _6"> </span>any<span class="_ _6"> </span>of<span class="_ _6"> </span>8-single-ended<span class="_ _6"> </span>analog<span class="_ _6"> </span>signals.</div><div class="t m0 x1 h4 ye ff2 fs2 fc0 sc0 ls0 ws0">The<span class="_ _0"> </span>device<span class="_ _a"> </span>eliminates<span class="_ _0"> </span>the<span class="_ _a"> </span>need<span class="_ _0"> </span>for<span class="_ _a"> </span>external<span class="_ _0"> </span>zero<span class="_ _a"> </span>and</div><div class="t m0 x1 h4 yf ff2 fs2 fc0 sc0 ls0 ws0">full-scale<span class="_ _4"> </span>adjustments.<span class="_ _4"> </span>Easy<span class="_ _4"> </span>interfacing<span class="_ _4"> </span>to<span class="_ _4"> </span>microprocessors</div><div class="t m0 x1 h4 y10 ff2 fs2 fc0 sc0 ls0 ws0">is<span class="_"> </span>provided<span class="_ _6"> </span>by<span class="_ _6"> </span>the<span class="_"> </span>latched<span class="_ _6"> </span>and<span class="_"> </span>decoded<span class="_ _6"> </span>multiplexer<span class="_ _6"> </span>address</div><div class="t m0 x1 h4 y11 ff2 fs2 fc0 sc0 ls0 ws0">inputs<span class="_ _6"> </span>and<span class="_ _6"> </span>latched<span class="_ _6"> </span>TTL<span class="_"> </span>TRI-ST<span class="_ _7"></span>A<span class="_ _b"></span>TE</div><div class="t m0 x2 h5 y12 ff2 fs3 fc0 sc0 ls0 ws0">&#174;</div><div class="t m0 x3 h4 y13 ff2 fs2 fc0 sc0 ls0 ws0">outputs.</div><div class="t m0 x1 h4 y14 ff2 fs2 fc0 sc0 ls0 ws0">The<span class="_ _6"> </span>design<span class="_ _6"> </span>of<span class="_ _4"> </span>the<span class="_"> </span>ADC0808,<span class="_"> </span>ADC0809<span class="_ _6"> </span>has<span class="_ _6"> </span>been<span class="_ _6"> </span>optimized</div><div class="t m0 x1 h4 y15 ff2 fs2 fc0 sc0 ls0 ws0">by<span class="_ _4"> </span>incorporating<span class="_ _6"> </span>the<span class="_ _4"> </span>most<span class="_ _4"> </span>desirable<span class="_ _4"> </span>aspects<span class="_ _4"> </span>of<span class="_ _6"> </span>several<span class="_ _6"> </span>A/D</div><div class="t m0 x1 h4 y16 ff2 fs2 fc0 sc0 ls0 ws0">conversion<span class="_"> </span>techniques.<span class="_"> </span>The<span class="_ _8"> </span>ADC0808,<span class="_"> </span>ADC0809<span class="_"> </span>of<span class="_ _7"></span>fers<span class="_"> </span>high</div><div class="t m0 x1 h4 y17 ff2 fs2 fc0 sc0 ls0 ws0">speed,<span class="_"> </span>high<span class="_ _8"> </span>accuracy<span class="_ _b"></span>,<span class="_"> </span>minimal<span class="_ _8"> </span>temperature<span class="_"> </span>dependence,<span class="_ _8"> </span>ex-</div><div class="t m0 x1 h4 y18 ff2 fs2 fc0 sc0 ls0 ws0">cellent<span class="_ _6"> </span>long-term<span class="_ _6"> </span>accuracy<span class="_ _6"> </span>and<span class="_ _6"> </span>repeatability<span class="_ _b"></span>,<span class="_ _6"> </span>and<span class="_ _6"> </span>consumes</div><div class="t m0 x1 h4 y19 ff2 fs2 fc0 sc0 ls0 ws0">minimal<span class="_ _2"> </span>power<span class="_ _7"></span>.<span class="_ _2"> </span>These<span class="_ _3"> </span>features<span class="_ _2"> </span>make<span class="_ _2"> </span>this<span class="_ _2"> </span>device<span class="_ _2"> </span>ideally</div><div class="t m0 x1 h4 y1a ff2 fs2 fc0 sc0 ls0 ws0">suited<span class="_ _4"> </span>to<span class="_ _6"> </span>applications<span class="_ _4"> </span>from<span class="_ _4"> </span>process<span class="_ _4"> </span>and<span class="_ _4"> </span>machine<span class="_ _6"> </span>control<span class="_ _4"> </span>to</div><div class="t m0 x1 h4 y1b ff2 fs2 fc0 sc0 ls0 ws0">consumer<span class="_"> </span>and<span class="_"> </span>automotive<span class="_"> </span>applications.<span class="_"> </span>For<span class="_"> </span>16-channel<span class="_"> </span>mul-</div><div class="t m0 x1 h4 y1c ff2 fs2 fc0 sc0 ls0 ws0">tiplexer<span class="_ _c"> </span>with<span class="_ _c"> </span>common<span class="_ _c"> </span>output<span class="_ _c"> </span>(sample/hold<span class="_ _c"> </span>port)<span class="_ _c"> </span>see</div><div class="t m0 x1 h4 y1d ff2 fs2 fc0 sc0 ls0 ws0">ADC0816<span class="_ _6"> </span>data<span class="_ _6"> </span>sheet.<span class="_ _6"> </span>(See<span class="_"> </span>AN-247<span class="_ _6"> </span>for<span class="_ _6"> </span>more<span class="_ _6"> </span>information.)</div><div class="t m0 x4 h3 y4 ff1 fs1 fc0 sc0 ls0 ws0">Features</div><div class="t m0 x4 h4 y1e ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Easy<span class="_ _4"> </span>interface<span class="_"> </span>to<span class="_ _6"> </span>all<span class="_ _4"> </span>microprocessors</span></div><div class="t m0 x4 h4 y1f ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Operates<span class="_ _4"> </span>ratiometrically<span class="_"> </span>or<span class="_ _6"> </span>with<span class="_ _4"> </span>5<span class="_"> </span>V</span></div><div class="t m1 x5 h6 y20 ff2 fs4 fc0 sc0 ls0 ws0">DC</div><div class="t m0 x6 h4 y21 ff2 fs2 fc0 sc0 ls0 ws0">or<span class="_ _6"> </span>analog<span class="_ _6"> </span>span</div><div class="t m0 x7 h4 y22 ff2 fs2 fc0 sc0 ls0 ws0">adjusted<span class="_ _6"> </span>voltage<span class="_ _6"> </span>reference</div><div class="t m0 x4 h4 y23 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">No<span class="_ _4"> </span>zero<span class="_"> </span>or<span class="_ _6"> </span>full-scale<span class="_ _4"> </span>adjust<span class="_"> </span>required</span></div><div class="t m0 x4 h4 y24 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">8-channel<span class="_ _4"> </span>multiplexer<span class="_"> </span>with<span class="_ _6"> </span>address<span class="_ _4"> </span>logic</span></div><div class="t m0 x4 h4 y25 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">0V<span class="_ _4"> </span>to<span class="_"> </span>5V<span class="_ _6"> </span>input<span class="_ _4"> </span>range<span class="_"> </span>with<span class="_ _6"> </span>single<span class="_ _4"> </span>5V<span class="_"> </span>power<span class="_ _6"> </span>supply</span></div><div class="t m0 x4 h4 y26 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Outputs<span class="_ _4"> </span>meet<span class="_"> </span>TTL<span class="_"> </span>voltage<span class="_ _6"> </span>level<span class="_ _4"> </span>specifications</span></div><div class="t m0 x4 h4 y27 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Standard<span class="_ _4"> </span>hermetic<span class="_"> </span>or<span class="_ _6"> </span>molded<span class="_ _4"> </span>28-pin<span class="_"> </span>DIP<span class="_ _6"> </span>package</span></div><div class="t m0 x4 h4 y28 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">28-pin<span class="_ _4"> </span>molded<span class="_"> </span>chip<span class="_ _6"> </span>carrier<span class="_ _4"> </span>package</span></div><div class="t m0 x4 h4 y29 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">ADC0808<span class="_ _4"> </span>equivalent<span class="_"> </span>to<span class="_ _6"> </span>MM74C949</span></div><div class="t m0 x4 h4 y2a ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">ADC0809<span class="_ _4"> </span>equivalent<span class="_"> </span>to<span class="_ _6"> </span>MM74C949-1</span></div><div class="t m0 x4 h3 y2b ff1 fs1 fc0 sc0 ls0 ws0">Key<span class="_ _3"> </span>Specifications</div><div class="t m0 x4 h4 y2c ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Resolution<span class="_ _d"> </span>8<span class="_ _6"> </span>Bits</span></div><div class="t m0 x4 h4 y2d ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">T<span class="_ _b"></span>otal<span class="_ _6"> </span>Unadjusted<span class="_ _6"> </span>Error</span></div><div class="t m0 x5 h7 y2e ff2 fs5 fc0 sc0 ls0 ws0">&#177;</div><div class="t m2 x8 h8 y2f ff2 fs6 fc0 sc0 ls0 ws0">1</div><div class="t m0 x9 h4 y30 ff2 fs2 fc0 sc0 ls0 ws0">&#8260;</div><div class="t m2 xa h8 y30 ff2 fs6 fc0 sc0 ls0 ws0">2</div><div class="t m0 xb h4 y30 ff2 fs2 fc0 sc0 ls0 ws0">LSB<span class="_ _6"> </span>and</div><div class="t m0 xc h7 y2e ff2 fs5 fc0 sc0 ls0 ws0">&#177;</div><div class="t m0 xd h4 y30 ff2 fs2 fc0 sc0 ls0 ws0">1<span class="_ _6"> </span>LSB</div><div class="t m0 x4 h4 y31 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Single<span class="_ _4"> </span>Supply<span class="_ _e"> </span>5<span class="_ _6"> </span>V</span></div><div class="t m1 xe h6 y32 ff2 fs4 fc0 sc0 ls0 ws0">DC</div><div class="t m0 x4 h4 y33 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Low<span class="_ _4"> </span>Power<span class="_ _f"> </span>15<span class="_ _6"> </span>mW</span></div><div class="t m0 x4 h4 y34 ff3 fs2 fc0 sc0 ls0 ws0">n<span class="_ _3"> </span><span class="ff2">Conversion<span class="_ _6"> </span>Time<span class="_ _10"> </span>100<span class="_ _6"> </span>&#181;s</span></div><div class="t m0 x1 h3 y35 ff1 fs1 fc0 sc0 ls0 ws0">Block<span class="_ _3"> </span>Diagram</div><div class="t m0 xf h6 y36 ff2 fs4 fc0 sc0 ls0 ws0">TRI-ST<span class="_ _7"></span>A<span class="_ _7"></span>TE</div><div class="t m0 x10 h9 y37 ff2 fs7 fc0 sc0 ls0 ws0">&#174;</div><div class="t m0 x11 h6 y36 ff2 fs4 fc0 sc0 ls0 ws0">is<span class="_"> </span>a<span class="_ _8"> </span>registered<span class="_ _8"> </span>trademark<span class="_ _8"> </span>of<span class="_ _8"> </span>National<span class="_ _8"> </span>Semiconductor<span class="_ _8"> </span>Corp.</div><div class="t m0 x12 ha y38 ff2 fs8 fc1 sc0 ls0 ws0">DS005672-1</div><div class="t m0 x13 hb y39 ff1 fs2 fc1 sc0 ls0 ws0">See<span class="_ _6"> </span>Ordering</div><div class="t m0 x14 hb y3a ff1 fs2 fc1 sc0 ls0 ws0">Information</div><div class="t m0 x15 h4 y3b ff2 fs2 fc1 sc0 ls0 ws0">June<span class="_ _6"> </span>1999</div><div class="t m3 x16 hc y3c ff1 fs9 fc1 sc0 ls0 ws0">ADC0808/ADC0809<span class="_ _2"> </span>8-Bit<span class="_ _1"> </span>&#181;P<span class="_ _2"> </span>Compatible<span class="_ _3"> </span>A/D<span class="_ _1"> </span>Converters<span class="_ _1"> </span>with<span class="_ _1"> </span>8-Channel<span class="_ _2"> </span>Multiplexer</div><div class="t m0 x17 hd y3d ff2 fsa fc1 sc0 ls0 ws0">&#169;<span class="_"> </span>1999<span class="_ _11"> </span>National<span class="_ _11"> </span>Semiconductor<span class="_ _11"> </span>Corporation<span class="_ _12"> </span>DS005672<span class="_ _13"> </span>www<span class="_ _7"></span>.national.com</div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • 51单片机
      51单片机
    • 51单片机教程
      来自平凡单片机网站(word)
    • 51单片机程序
      LED流水灯实验是能较好的引导单片机爱好者入门学习,该程序实现了LED间隔10ms循环点亮
    • 51单片机程序
      包含51单片机的基础程序,以及综合程序。供初学者学习,及编写一定模块程序
    • 51单片机万年历
      该资源为51单片机资源,采用DS1302为时钟源,用LCD1602进行显示,压缩包里面还有protuse的仿真图,从程序到仿真齐全。
    • 51单片机WIFI
      利用wifi对51单片机进行控制,内附原理图及PCB板制作
    • 51单片机相关
      哈哈很经典的单片机开发仿真,对于学单片机不想花很多钱的同学来说是一个不错的选择。
    • 51单片机学习
      适合想学习51单片机的新人,能够快速学习,里面有多种实例可以方便学习。另外有很多视频,如果想要的话可以发邮件到:www.gaoju1024@qq.com
    • 51单片机教程
      51单片机的初级教程,里面包含单片机的各个模块的详细介绍,以及各个模块的验证程序,能够学会单片机的操作
    • 单片机课件 51单片机
      课件 51单片机 C程序设计