08.01.2013 Views

MCS-51 单片机设计应用程序实例 - Read

MCS-51 单片机设计应用程序实例 - Read

MCS-51 单片机设计应用程序实例 - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

说明:<br />

<strong>MCS</strong>-<strong>51</strong> 系 列 单 片 机 设 计 实 例<br />

例 7 自 行 车 里 程 /速 度 计 的 设 计<br />

采用 AT89C52 单片机,速 度及里程传感器采用霍尔元件,能自动记录自行车的行驶里程,<br />

能选择显示自行车速度值或里程值,当车速超出 40 公 里 /小 时时能发声提醒。小开关用于设<br />

置自行车的轮胎尺寸,其中一只用于速度与里程的显示转换。存储器用 24C08, TC4024 用 于<br />

二 分频,转速脉冲用霍尔元件。电路如图<br />

PDF created with FinePrint pdfFactory trial version http://www.fineprint.com<br />

50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!