Description: 实现pc机键盘(p/s2接口)与8位单片机连接使用
原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上
每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来
传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验)
1位结束位(1)
实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键
缺点:由于51单片机的容量有限所以缓冲区不可以开的太大,这就导致可以记录键盘的按键次数过少,
也就是容错性一般。不过如果正常使用键盘是不会出错的
-achieve PCs keyboard (p/s2 Interface) with 8-bit microcontroller connectivity principles : Then in the keyboard clock p3.2 mouth, both of 8051 int0 external interrupts, p1.0 keyboard data received on each button, the keyboard will be made to pulse so SCM SCM external interrupt occurred, data p1.0 I come in a one-to-data formats : a starting place (0), 8 data bits (which keys on the general code, used to identify keys), a parity bit (odd check) at the end of one (1) To achieve : keyboard will be sent back data in a buffer (the array) When the button after internal disruption to address shortcomings on the button : As the 51 SCM buffer capacity is limited not so much open, This has led to record the number of keys of the keyboard is too small, that is fault-tolerant general. However, if the Platform: |
Size: 4074 |
Author:jy |
Hits:
Description: 8051单片机控制外部设备,读取外部设备状态,外部中断的应用,中断的深入理解,变量和标记的灵活应用,定时器的灵活应用,可编程自动控制的方法,按键控制设备动作的方法,PWM 输出的设计,存储器的读写,延时报警器的设计,各种报警音的设计,音乐播放的设计,程序模块化的设计等等知识。-8051 to control external equipment, reading the state of the external equipment, external interrupt the application interruption in-depth understanding of the variables and markers flexible application of the flexible application of the timer, programmable control methods Press the movement and control equipment, the design of PWM output, memory, reading, writing, the alarm delay the design, various alarm sound design, music and broadcast design, programming, etc. Modular design knowledge. Platform: |
Size: 18689 |
Author:awerwe |
Hits:
Description: ps键盘驱动程序2 实现pc机键盘(p/s2接口)与8位单片机连接使用原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上-ps Keyboard Driver 2 pc for achieving keyboard (p/s2 Interface) with 8-bit MCU connecting Principle : keyboard clock in p3.2 I received both the 8051 int0 external interrupt, keyboard data received on p1.0 Platform: |
Size: 12806 |
Author:吴旭旭 |
Hits:
Description: ps键盘驱动程序2 实现pc机键盘(p/s2接口)与8位单片机连接使用原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上-ps Keyboard Driver 2 pc for achieving keyboard (p/s2 Interface) with 8-bit MCU connecting Principle : keyboard clock in p3.2 I received both the 8051 int0 external interrupt, keyboard data received on p1.0 Platform: |
Size: 12288 |
Author:吴旭旭 |
Hits:
Description: 实现pc机键盘(p/s2接口)与8位单片机连接使用
原理:键盘时钟接在p3.2口,既8051的外部中断int0上,键盘数据接到p1.0上
每次按键,键盘会向单片机发脉冲使单片机发生外部中断,数据有p1.0口一位一位传进来
传回的数据格式为:1位开始位(0),8位数据位(所按按键的通码,用来识别按键),1位校验位(奇校验)
1位结束位(1)
实现:将键盘发回的数据放到一个缓冲区里(数组),当按键结束后发生内部中断来处理所按的按键
缺点:由于51单片机的容量有限所以缓冲区不可以开的太大,这就导致可以记录键盘的按键次数过少,
也就是容错性一般。不过如果正常使用键盘是不会出错的
-achieve PCs keyboard (p/s2 Interface) with 8-bit microcontroller connectivity principles : Then in the keyboard clock p3.2 mouth, both of 8051 int0 external interrupts, p1.0 keyboard data received on each button, the keyboard will be made to pulse so SCM SCM external interrupt occurred, data p1.0 I come in a one-to-data formats : a starting place (0), 8 data bits (which keys on the general code, used to identify keys), a parity bit (odd check) at the end of one (1) To achieve : keyboard will be sent back data in a buffer (the array) When the button after internal disruption to address shortcomings on the button : As the 51 SCM buffer capacity is limited not so much open, This has led to record the number of keys of the keyboard is too small, that is fault-tolerant general. However, if the Platform: |
Size: 4096 |
Author:jy |
Hits:
Description: 8051单片机控制外部设备,读取外部设备状态,外部中断的应用,中断的深入理解,变量和标记的灵活应用,定时器的灵活应用,可编程自动控制的方法,按键控制设备动作的方法,PWM 输出的设计,存储器的读写,延时报警器的设计,各种报警音的设计,音乐播放的设计,程序模块化的设计等等知识。-8051 to control external equipment, reading the state of the external equipment, external interrupt the application interruption in-depth understanding of the variables and markers flexible application of the flexible application of the timer, programmable control methods Press the movement and control equipment, the design of PWM output, memory, reading, writing, the alarm delay the design, various alarm sound design, music and broadcast design, programming, etc. Modular design knowledge. Platform: |
Size: 18432 |
Author:awerwe |
Hits:
Description: 基于8051的生产线记件系统,外部中断1触发,6位LED显示,EEPROM保存数据。-Based on the 8051 piece production line system, one external interrupt trigger, 6 LED display, EEPROM data is preserved. Platform: |
Size: 61440 |
Author:景永年 |
Hits:
Description: This file provides an 8051 external data memory bus interface
for CoolRunner CPLDs. This file contains the state machine to
interface on the 8051 bus as well as the address registers, the address
decode logic, and example control registers, status registers, data input
registers, and data output registers. Interrupt logic is also included.
Note that this code should be modified to meet the requirements of the
system.
-This file provides an 8051 external data memory bus interface
for CoolRunner CPLDs. This file contains the state machine to
interface on the 8051 bus as well as the address registers, the address
decode logic, and example control registers, status registers, data input
registers, and data output registers. Interrupt logic is also included.
Note that this code should be modified to meet the requirements of the
system.
Platform: |
Size: 4096 |
Author:alex |
Hits:
Description: 8051单片机串口解码矩阵键盘显示报警示例程序
由于本程序是采用外部中断的方法-8051 serial decode matrix keyboard and display alarm sample application of this procedure is used as an external interrupt method Platform: |
Size: 1024 |
Author:郝艳彬 |
Hits:
Description: 基于8051核的红外遥控解码软件,使用外部中断1和定时器,通用性强,占用很少时间,特别支持长按和重复按键。-Infrared remote control based on 8051 core decoding software, use the external interrupt 1 and timer, versatile, take up little time, particularly in support of long and repetitive button press. Platform: |
Size: 16384 |
Author:赖恭平 |
Hits:
Description: 8051单片机用定时器和外部中断测量输入脉冲的频率和占空比-8051 measurement of the input pulse frequency and duty cycle timer and external interrupt Platform: |
Size: 70656 |
Author:骆叶 |
Hits:
Description: 8051,IO模拟串口通讯,用外部中断.可用于MCU之间通讯.-8051, IO analog serial communication with an external interrupt Platform: |
Size: 1024 |
Author:22 |
Hits:
Description: 8051单片机设计的遥控发射和接收控制系统,利用单片机的内部定时器和外部中断功能实现发射编码和接收解码,通过按键启动发射,通过led显示接收到的数据。-8051 microcontroller design of the remote control transmitter and receiver control system, the use of the microcontroller internal timer and external interrupt function to transmit encoding and receive decoding button to start the launch, the data received through the led display. Platform: |
Size: 1024 |
Author:yangtiantian |
Hits:
Description: 这个程序演示了如何利用8051单片机的外部中断0的功能,对于初学者非常有帮助!-This program demonstrates how to use the external interrupt 0 8051 features, very helpful for beginners! Platform: |
Size: 17408 |
Author:向楠 |
Hits:
Description: 这个程序是关于8051单片机的外部中断1的使用,对学8051单片机的同学会有帮助!-This program is about 8051 the use of external interrupt 1, 8051 for school students would be helpful! Platform: |
Size: 17408 |
Author:向楠 |
Hits:
Description: additional serial port for 8051 microcontroller using keil software, this is polling based serial port by using timer 0 and external interrupt. Platform: |
Size: 1024 |
Author:naman |
Hits: