搜索资源列表
T01
- 51单片机定时器程序编写实例,对于初学者很有帮助。
多任务 多进程
- 多任务 多进程 51 单片机 C 语言 1.本程序不使用任何汇编指令 2.由定时器T0产生中断,切换进程 3.由于中断或调用子程序,要把PC堆栈,故可以以SP为基址的地方找到PC 4.中断或子程序返回,要把SP出栈给PC,故可以操作SP改变程序入口 5.本程序经调试运行 电路图已上传 6.程序编译是会有一个警告提示,为正常现象,因为保存R0-R7时,重新定义地址, 出现地址覆盖的警告提示。 7.用户以此模板写程序只需写用户的进程子程序和用户初始化子程序,并把各进程
51单片机电子琴
- 摘要:本系统以Atmel的AT89c52单片机为主控制器,通过制作硬件电路和软件的设计编写,然后进行软硬件的调试运行,最终达到设计电路乐曲弹奏播放功能和存储重放音乐功能。设计中运用中断系统和定时/计数原理控制电子音乐器发生,并对所需的音阶和贝斯用相应的程序语言编写来实现,用8段数码显示管显示所弹奏的乐谱内容。将两个89c52单片机的串行口连接起来,实现5米以外的通信。输出通道通过一个功率放大器驱动扬声器发声。 关键词:单片机,音乐演奏器 目录: 摘要……………………………………………………
基于单片机的100秒计时器设计
- 实验原理: (1)对AT89C51单片机内部定时器T1进行初始化,T1定时成50ms一次中断。 (2)在MCS-51内部RAM单元,设立数据单元,20次中断为1秒,99秒就清零。 (3)数码管采用动态扫描的方法
iocom
- 51单片机的IO口模拟串口的程序 使用两种方式的C程序 占用定时器0 -51 MCU Serial IO mouth simulation procedures for the use of two methods of C procedures occupied timer 0
51mcu
- 51 单片机的c程序,看了就知道,定时器计数值,步进电机-51 Singlechip c procedures, read on to know the timer total value, stepper motor
main
- 本程序为51单片机超声波测距c程序,利用单片机定时器做延时测量 -This procedure for the 51 single-chip ultrasonic rangefinder c procedures, the use of single-chip delay measurement timer done
51kaifaban
- 51单片机全套学习资料 提供电路原理图 各种C语言实验程序 包括LED流水灯,数码管显示,中断,定时器,串口通信,DS18B20温度显示,液晶1602,12864显示,看门狗,按键检测,音乐播放等程序.-51 Singlechip a full set of learning materials to provide a variety of circuit schematics C language experimental procedures, including water LED li
clock
- 程序经典!编程控制51单片机定时器实现的电子钟功能-Procedures classic! Programming control 51 single-chip realization of the electronic clock timer function
51shiyongC
- 44键盘C51单片机程序,51单片机的软件复位程序,单片机IO驱动74LS164的C51程序,单片机T2定时器实现1秒精确定时程序,单片机做的AD转换程序( adc0809程序 ),电子钟程序,流复杂一点的水灯程序-44 keyboard C51 single-chip procedure, 51 single-chip software reset procedures, single-chip IO driver 74LS164 procedures of the C51, single-c
trafficlight
- 51单片机控制的交通灯,通过定时器精确定时。此文件包中含有Proteus仿真图,PCB图,c程序并有注释,学习单片机的好资料。-51 single-chip microcomputer to control traffic lights, from time to time through the timer precision. This package contains Proteus simulation diagram, PCB map, c program and the Notes,
key
- 基于雨亭的51/AVR单片机开发板的按键扫描程序,在定时器中断中定时扫描,使用状态机进行按键去抖,与延时扫描相比效率较高,占用资源少-Yu Ting s 51/AVR microcontroller based development board scanner button, the timer interrupt in time scan, using the state machine button to shake, as compared with the delayed scan m
time1
- 51单片机定时器程序,已进行封装,可直接调用-51 single-chip timer program has been encapsulated, can be called directly
time1_51_test-(2)
- 51单片机定时器程序,已进行封装,可直接调用-51 single-chip timer program has been encapsulated, can be called directly
方波频率测量51
- 可测1~100kHz方波频率,使用的是外部中断0和定时器一起完成(Measurable 1~100kHz square wave frequency)
16.定时器0中断控制LED
- 基于51单片机实现定时器0中断控制LED程序,完成定时器定时问题(Based on 51 singlechip timer 0 interrupt control LED procedures, the completion of the timer timing problem)
46-定时器1
- 本程序能够在51单片机上让蜂鸣器发出生日快乐的声音。(It can make the buzzer make a happy birthday.)
程序方面
- 单片机小示例c51一些简单的应用实例串口定时器rs485(Small sample single chip C51 some simple application examples serial port timer RS485)
lesson5_1
- 实现51单片机的定时/中断功能,在流水灯上的实现。(Realizing the timing / interruption function of 51 Singlechip)
1-程序注释
- 系统以AT89C51单片机为核心,以红外发光二极管和光敏三极管为传感器,利用单片机系统内部定时器来计算时间,由光敏三极管感应心跳脉冲,单片机通过脉冲累加得到心脏跳动次数,在数码管上显示心跳次数和时间。系统实现了心率的实时监测与显示、定时测量以及报警提醒等功能。(It is mainly used in the image processing of fog world, and the effect is remarkable.)