登录
首页 » SCM » 红外线遥控器按键检测程序. 通过检测两次下降沿之间的时间差判断接受到的数据位. 已经通过了测试,能够正确区分出32bit数据的遥控器按键键值. 具有

红外线遥控器按键检测程序. 通过检测两次下降沿之间的时间差判断接受到的数据位. 已经通过了测试,能够正确区分出32bit数据的遥控器按键键值. 具有

于 2022-07-15 发布 文件大小:2.76 kB
0 131
下载积分: 2 下载次数: 1

代码说明:

红外线遥控器按键检测程序. 通过检测两次下降沿之间的时间差判断接受到的数据位. 已经通过了测试,能够正确区分出32bit数据的遥控器按键键值. 具有数据重发功能,但是数据的重发有点频繁. 使用晶震频率为11.0592MHz,所有定时值都是基于这个频率计算. 占用很少量的CPU时间,使用了外部中断0接受数据,定时器0进行计数, 定时器1作为串口的波特率发生器(Band = 9600).-Infra-red remote control button detection program. By detecting falling edge twice to determine the time difference between the received data bit. Has passed the test, could correctly distinguish 32bit data button remote control key. With data re-issued, but data a bit of re-issued frequent. Zhenyuan frequency of use of crystal 11.0592MHz, all timing values are calculated based on this frequency. occupied by small quantities of CPU time, use the external interrupt 0 to accept data, timer 0 to count, timer 1 as a string port baud rate generator (Band = 9600).

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C51 microcontroller introduce Chinese
    C51单片机中文介绍-C51 microcontroller introduce Chinese
    2022-03-10 10:24:39下载
    积分:1
  • Self-tuning PID Controllers ,有需要的朋友可以参考 !-Self-tuning PID Controllers, there is a need of a friend can refer to the reference!
    2022-03-09 20:05:35下载
    积分:1
  • 基于51系列单片机实现8字数码管对时钟秒表的显示
    基于51系列单片机实现8字数码管对时钟秒表的显示-MCU eight characters of the digital clock shows the stopwatch
    2022-09-20 09:25:02下载
    积分:1
  • avr rtos AVR单片机上的实时操作系统
    avr rtos AVR单片机上的实时操作系统-avr Byelorussian AVR on the real-time operating system
    2022-02-21 09:30:53下载
    积分:1
  • DS1990A的C51读写程序
    DS1990A的C51读写程序-DS1990A read and write procedures for the C51
    2023-07-12 18:40:03下载
    积分:1
  • 详细介绍RS
    详细介绍RS-485/422原理与区别、元件选择、参考电路、通讯规约、程序设计等方面的应用要点,以及在产品实践中总结出的一些经验、窍门-Detail the difference between theory and RS-485/422, component selection, reference circuits, communications statute, procedures for the application of design elements, as well as practice in the products sum up the experience, know-how
    2022-10-02 15:25:03下载
    积分:1
  • Snake in the game in single
    单片机在游戏贪吃蛇中的应用,供大家参考,有什么一件可以发邮件给我-Snake in the game in single-chip applications, for reference, what can be an email to me
    2022-01-26 02:00:27下载
    积分:1
  • 低电压检测. A口低8位接键盘列线,键盘行线接VDDIO;B口高8位接LED // 按K1键 低电压为2.4v // 按K2键 低电压2.8v...
    低电压检测. A口低8位接键盘列线,键盘行线接VDDIO;B口高8位接LED // 按K1键 低电压为2.4v // 按K2键 低电压2.8v // 按K3键 低电压3.2v // 按K4键 低电压为3.6v
    2022-03-14 07:54:44下载
    积分:1
  • 单片机时钟代码, 单片机时钟代码
    单片机时钟代码, 单片机时钟代码-mcu clock code
    2023-07-04 11:20:03下载
    积分:1
  • 12864LCD(带汉字库)显示遥控键值读取器 * * LCD型号:TS12864A
    12864LCD(带汉字库)显示遥控键值读取器 * * LCD型号:TS12864A-3(带汉字库)或兼容型号 控制器ST7920 * * MCU:AT89S52 ,晶体频率:11.0592MHz * * P0口为128*64LCD的数据 D0-D7 * * K17键按下,继电器吸合。K19键按下,继电器关闭 * * 显示程序在中断服务程序之中-12864LCD (with汉字库) shows the remote control key reader** LCD Model: TS12864A-3 (with汉字库) or compatible controller Model ST7920** MCU: AT89S52, crystal frequency: 11.0592MHz** P0 population is 128* 64LCD data D0-D7** K17 button pressed, the relay pull-in. K19 button pressed, the relay to close** display program in the interrupt service routine of
    2022-03-04 06:38:26下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载