1 / 6

实验十

实验十. A/D 转换实验. 实验要求. 1 、利用实验板上的 ADC0809 做 A/D 转换器,实验板上的电位器提供模拟量输入,编制程序,将模拟量转换成二进制数字量,用发光二极管显示。. 实验目的. 1. 掌握 A/D 转换与单片机的接口方法。 2. 了解 A/D 芯片 ADC0809 转换性能及编程。 3. 通过实验了解单片机如何进行数据采集。. 实验电路及连线. 开始. 初始化. 启动 A/D. 否. A/D 转换完. 数据输出. 清读数标志. 程序框图. 程序清单. CS0809 equ 08000h mov dptr, #CS0809

ganit
Download Presentation

实验十

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 实验十 A/D转换实验

  2. 实验要求 • 1、利用实验板上的ADC0809做A/D转换器,实验板上的电位器提供模拟量输入,编制程序,将模拟量转换成二进制数字量,用发光二极管显示。

  3. 实验目的 • 1.掌握A/D转换与单片机的接口方法。 • 2.了解A/D芯片ADC0809转换性能及编程。 • 3.通过实验了解单片机如何进行数据采集。

  4. 实验电路及连线

  5. 开始 初始化 启动A/D 否 A/D转换完 数据输出 清读数标志 程序框图

  6. 程序清单 CS0809 equ 08000h mov dptr, #CS0809 mov a, #0 movx @dptr, a ; 起动A/D mov a, #40h djnz ACC, $ ; 延时> 100us movx a, @dptr ; 读入结果 ljmp $ end

More Related