1 / 9

实 验 四

实 验 四. 简单 I/O 口的扩展. 一、实验目的:. 1 、学习在单片机系统中扩展简单 I/ O 口 的基本方法。 . 二、实验内容:. 1 、 MCS—51 外部扩展空间很大,但数据总 线口和控制信号的负载能力是有限的,若 需要扩展的芯片较多,则 MCS—51 总线 口负载过重, 74LS244 是一个输入扩展 口,同时也是一个单向驱动器,以减轻总 线负担。 74LS373 做为同向输出口,控制 8 个发光二极管的亮灭。. 三、实验程序框图:. 源程序. 五、实验线路图:. 实验位置图.

minty
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. 实 验 四 简单I/O口的扩展

  2. 一、实验目的: 1、学习在单片机系统中扩展简单I/ O口 的基本方法。

  3. 二、实验内容: 1、MCS—51外部扩展空间很大,但数据总 线口和控制信号的负载能力是有限的,若 需要扩展的芯片较多,则MCS—51总线 口负载过重,74LS244是一个输入扩展 口,同时也是一个单向驱动器,以减轻总 线负担。74LS373做为同向输出口,控制 8个发光二极管的亮灭。

  4. 三、实验程序框图: 源程序

  5. 五、实验线路图: 实验位置图

  6. 六、实验步骤: 1、74LS244的输入端PI0—PI7接K1—K874LS373 的输出端PO0—PO7接L1—L8。 2、在EXIC插座上插上一片74LS32,然后按图连好 有关线路。 3、K1—K7全拨在上面(高电平),L1—L8全亮。 4、按F2键进入仿真1态,即“P.....”态。 5、用连续方式从起始地址0600H开始运行程序。 6、拨动K1—K8,观察L1—L8点亮情况。

  7. 本实验结束 返 回

  8. 简单I/O口扩展源程序: 流程图

  9. 实验位置图: 实验线路图

More Related