CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:main

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-12-04
  • 文件大小:
    2.39kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

1:读取输入P1.0口的电压值,由于硬件实现了将5V以上的电压转换为三分之一的输入定呀,

     由于电动车单个蓄电池最高电压为12v,经过运放电路,输入到P1.0口的电压值最高是4V

     2:当读取到的电压小于3V,声光报警电路接通并报警。

     3:P1.3口具有高低捕获功能,本程序设定是下降沿触发。

     将捕获到的数字经过转换后送到数码管显示。

     4:数码管是4位带小数点共阳数码管。用于显示转速大小。转速单位是Km/h。

     一般电动车最高时速不超过100Km/h,所以数码管前两位显示整数部分,

       后两位显示小数部分。

   5: 加入了按键切换里程与速度功能。定义P1.1口为按键功能-1: P1.0 port read input voltage value, due to the hardware implementation of the above 5V input voltage into a third set Yeah, because a single battery electric vehicle for the maximum voltage 12v, through the op-amp circuit, the input to the P1.0 mouth highest voltage value is 4V 2: When reading the voltage is less than 3V, sound and light alarm circuit is turned on and the police. 3: P1.3 port has a low capture feature, the program is set to trigger on the falling edge. The captured after the conversion to digital LED display. 4: Digital tube with a decimal point is four common anode digital. Size used to display speed. Speed ​ ​ unit is Km/h. General electric car a top speed of no more than 100Km/h, so the first two digital tube display the integer part, fractional part of the two displays. 5: adding buttons to switch mileage and speed capabilities. P1.1 port is defined function keys
(系统自动生成,下载前可以参看下载内容)

下载文件列表

main.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com