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实现的PS2协议的PC键盘,有详细注释-8051 with the realization of the agreement PS2 PC keyboard, a detailed Notes Platform: |
Size: 32952 |
Author:wwwwww888 |
Hits:
Description: 这是一个51单片机与PC的通信系统:利用3*4小键盘输入0~9的一串数字(不大于5),通过8051自带的串口发送给PC并显示在系统的6位LED上;单片机接收上位机的输入并显示在LED上。8051串行口经232电平转换后,与PC机串行口相连。PC机使用串口调试应用程序V2.2.exe,实现上位机与下位机的通讯。-This is a 51 microcontroller and PC communication system : use 3 * 4 0 small keyboard input of a bunch of nine-figure (no more than 5), by 8051, bringing their serial sent to the PC and display system in the six LED; SCM receiving PC input and displayed on the LED on. 8,051 by 232 serial port-level conversion, and the PC serial port connected. PC using serial debugging applications V2.2.exe achieve PC and the next crew communications. Platform: |
Size: 204344 |
Author:Jawen |
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实现的PS2协议的PC键盘,有详细注释-8051 with the realization of the agreement PS2 PC keyboard, a detailed Notes Platform: |
Size: 32768 |
Author:wwwwww888 |
Hits:
Description: 这是一个51单片机与PC的通信系统:利用3*4小键盘输入0~9的一串数字(不大于5),通过8051自带的串口发送给PC并显示在系统的6位LED上;单片机接收上位机的输入并显示在LED上。8051串行口经232电平转换后,与PC机串行口相连。PC机使用串口调试应用程序V2.2.exe,实现上位机与下位机的通讯。-This is a 51 microcontroller and PC communication system : use 3* 4 0 small keyboard input of a bunch of nine-figure (no more than 5), by 8051, bringing their serial sent to the PC and display system in the six LED; SCM receiving PC input and displayed on the LED on. 8,051 by 232 serial port-level conversion, and the PC serial port connected. PC using serial debugging applications V2.2.exe achieve PC and the next crew communications. Platform: |
Size: 203776 |
Author:Jawen |
Hits:
Description: 开发工具:iar for c51
主要IC:tusb2136(ti)(8052内核)
主要应用:PC外接usb键盘,智能手机/PDA外接usb键盘
备注:使用keil开发工具编译时需要将地址分配固定,对照firmware/release/list下map文件修改源码-Tools : iar for major decoder IC : tusb2136 (ti) (8052 kernel) main applications : PC external usb keyboard, smartphone/PDA external usb keyboard Remarks : keil use development tools needed to build a fixed address, control firmware/release/list under the map files FOSS Platform: |
Size: 1454080 |
Author:kvb |
Hits:
Description: 摘 要: 本文件是C8051单片机串口0、1测试程序,使用外部22.1184MHz晶振。
功能:Uart驱动程序,包括初始化、波特率设置,单字节发送接收、字符串发送接受等。
程序运行时向PC机发送字符串;接收到PC机的数据后,再将该数据发送回PC机。
按开发板上键盘,将该键值发送到PC机;本开发板提供的串口调试助手不支持中文显示。-Abstract : This document is C8051 MCU serial 0,1 testing procedures use of external 22.1184 MHz oscillator. Function : Uart driven procedures, including initialization, set baud rate, single-byte receive this, the string this acceptability. Procedures to the PC this string; PC to receive the data and then send that data back to PC. Development board on the keyboard, this pair sent to the PC; The development board for the serial debugging assistants do not support the Chinese show. Platform: |
Size: 61440 |
Author: |
Hits:
Description: 实用数字万年历设计:该系统的设计电路是以 AT89S52 单片机为核心控制器,其外围电路主要包括时钟模块,键盘模块,液晶模块,
闹钟模块和与PC 机通信模块等。这种电子时钟不仅具有了一般电子时钟的基本功能,并且具有以下功能:闹
钟时间设置,闹钟音乐选择,显示年月日与星期,显示农历,通过PC 机在Internet 上同步时间,与PC 通信时
PC 机上会显示友好界面等一系列功能。整个系统使用单片机C51 语言进行编程,PC 机上的通信界面有VB 编
程,实现其设计的各种功能。-Practical digital calendar design: The system is based on the design of circuits as the core controller AT89S52 Single-chip, and its peripheral circuits include clock module, a keyboard module, LCD module, the alarm module and communication module with PC and other machines. This electronic clock not only has the general basic functions of electronic clock, and has the following functions: setting the alarm time, alarm clock, music selection, show date and week, showing Chinese, through the Internet on the PC-sync in time with the PC communication PC-friendly interface will show a series of functions. The entire system using single-chip microcomputer C51 language programming, PC machine communication interface VB programming, designed to achieve its various functions. Platform: |
Size: 516096 |
Author:禹佳发 |
Hits:
Description: 下位机:基于8051内核双列直插式芯片实现,自动控制寻迹、小车运行状态显示。上位机:使小车与计算机实现串口通信,用VC编制一个控制界面,可以通过键盘上的上下左右按扭或则鼠标键实现小车实时控制和加速控制。
-Under-bit machine: Based on the 8051 dual in-line core chip, automatic control tracing, running car show. PC: The car with the computer serial port communication, with preparation of a VC control interface can be up and down on the keyboard or mouse button or the car keys to achieve real-time control and acceleration control. Platform: |
Size: 742400 |
Author:李 |
Hits:
Description: 《单片机C语言程序设计实训100例——基于8051+Proteus仿真》全部是Proteus的仿真,DSN文件和hex文件。
推荐做毕业设计和学习单片机的下载。
内容包括:
第 01 篇 基础部分: 01 闪烁的LED 02 从左到右的流水灯 03 左右来回的流水灯 04 花样流水灯 05 LED模拟交通灯…… 48 单片机与PC机串口通讯仿真
第 02 篇 硬件应用:01 74LS138译码器应用 02 74HC154译码器应用 03 74HC595串入并出芯片应用 04 74LS148扩展中断 05 IIC-24C04与蜂鸣器 ……28 键控看门狗
第 03 篇 综合设计: 01 可以调控的走马灯 02 按键选播电子音乐 03 可演奏的电子琴 04 1602LCD显示仿手机键盘按键字符 05 1602LCD显示电话拨号键盘按键实验 …… 41 射击训练游戏
芯片手册:74HC595.pdf-《Microcontroller C Programming Language Training 100 cases》 based on 8051+ Proteus simulation," all Proteus simulation, DSN file and the hex-wen
Pieces.
Recommended to do graduate design and learning microcontroller downloads.
Include:
The basis of Article 01 parts: 01 flashing LED 02 from left to right of the water flowing back and forth about 03 lights 04 lights 05 LED lights synchronized flow
Simulated traffic lights ... ... 48 MCU and PC-Serial communication simulation
No. 02 hardware applications: 01 74LS138 decoder application 02 74HC154 decoder application 03 74HC595 string into and out of chip applications 04
74LS148 extended interrupt 05 IIC-24C04 and the buzzer ... ... 28 keying Watchdog
No. 03 Integrated Design: 01 can be a revolving door control button 02 Anycast electronic music can be played by keyboard 03 display 04 1602LCD imitation
Keypad key character 05 1602LCD show dial keypad key experimental training ... ... 41 Shooting Games
Chip Manual: 74H Platform: |
Size: 11717632 |
Author:tong |
Hits:
Description: 利用8051单片机串行口,实现与PC机通讯。
本实验实现以下功能,将从实验板键盘上键入的字符或数字显示到PC机显示器上,再将PC机所接收的字符发送回单片机,并在实验板的LED上显示出来。-Using 8051 serial port communication with the PC. The experimental realization of the following functions from the experimental board characters typed on the keyboard or digital display to a PC monitor, and then sent back to the microcontroller characters received by the PC, and on the the experiment board of LED display. Platform: |
Size: 3072 |
Author:尚贤丹 |
Hits: