资源列表
[单片机(51,AVR,MSP430等)] MCU-IO-simulate-the-PS2-protocol
说明:用单片机普通的I/O脚(非中断)模拟PS2协议,通过引脚的的拉高和拉低来读取按键的时序,从而读出键值并且把读出的键值显示到1602液晶显示屏上,并且按键时蜂鸣器会响-Ordinary MCU I/O foot (not interrupt) to simulate the PS2 protocol, through the pins of the sequence of up and down to read the buttons, to read out the key value and<无情公子> 在 2025-06-07 上传 | 大小:110kb | 下载:0
[单片机(51,AVR,MSP430等)] MCU--simulate-frared-receiving-
说明:本例程是通过单片机普通的I/O脚(非中断)模拟红外接收时序 -This routine is by single-chip microcomputer common I/O foot (not interrupt) simulation of infrared receiving sequence<无情公子> 在 2025-06-07 上传 | 大小:99kb | 下载:0
[单片机(51,AVR,MSP430等)] responder
说明:系统上电后,显示提示符P.,按K1进入抢答界面,如果主持人没按K1开始键,选手按动 则视为违规抢答,数码管显示违规选手号,蜂鸣器报警,违规指示灯亮,-After the system is powered on, according to the prompt p., press K1 vies to answer first into the interface, if the host doesn t press K1 start, press is considered illegal v<无情公子> 在 2025-06-07 上传 | 大小:113kb | 下载:0
[单片机(51,AVR,MSP430等)] PWM-C
说明:PWM周期为20ms,分成100等份,每一份0.2ms。P1.0输出占空比为3/10PWM方波,使用T0方式1中断控制方式,设置一个软件计数器count,如果占空比为30 ,-#include<reg51.h> #define uchar unsigned char #define uint unsigned int uchar count sbit PWM=P1^0 void T0_init(void) void delay(uint<jie> 在 2025-06-07 上传 | 大小:4kb | 下载:0
[单片机(51,AVR,MSP430等)] stepper-c
说明:这是利用单片机进行步进电机的控制,效果可以达到正反转,速度调节,对于初学者来说,是一个很好的实验-#include <reg51.h> #define uchar unsigned char sbit P1_0=P1^0 sbit P1_1=P1^1 sbit P1_3=P1^3 sbit P1_4=P1^4 sbit P1_5=P1^5 sbit P1_6=P1^6 sbit P1_7=P1^7 uchar RRR,flg,KKK<jie> 在 2025-06-07 上传 | 大小:27kb | 下载:0
[单片机(51,AVR,MSP430等)] PWM-ULN2003A
说明:利用ULN2003A进行驱动,产生PWM波,里边有照片,可供参考,通过本例程了解PWM 的基本原理和使用 -#include <reg52.h> unsigned char timer1 sbit PWM=P1^2 void system_Ini() { TMOD|= 0x11 //PWM TH1 = 0xfe //11.0592 TL1 = 0x33 TR1 = 1 IE =0x8A<jie> 在 2025-06-07 上传 | 大小:603kb | 下载:0
[其他嵌入式/单片机内容] bj
说明:电话报警器的源码,实现电话拨号,防盗打功能,使用51单片机-Telephone alarm source, realize telephone dial-up, anti-theft playing function, use 51 single<时浩东> 在 2025-06-07 上传 | 大小:13kb | 下载:0
[单片机(51,AVR,MSP430等)] PWM12-simulate-proteus
说明:这是利用proteus进行仿真,利用的是AVR单片机,对步进电机进行控制,有详细的仿真图-#include "config.h" #include "PWM.h" void PWM_Init(uint8 Mode, uint8 FioSelect) { switch(Mode) { case FAST_PWM: TCCR0 &= (~(1 << WGM01) & ~(1 << WGM00))<jie> 在 2025-06-07 上传 | 大小:46kb | 下载:0
[其他嵌入式/单片机内容] k
说明:智能定时器的源程序,实现两路定时功能,51单片机实现-Intelligent timer source to achieve two-way timing function, 51 MCU<时浩东> 在 2025-06-07 上传 | 大小:3kb | 下载:0
[其他嵌入式/单片机内容] x
说明:汽车油泵清洗器源程序,实现汽车油泵清洗监控功能51单片机实现-Car washer pump source to achieve the car wash pump monitoring MCU 51<时浩东> 在 2025-06-07 上传 | 大小:3kb | 下载:0
[其他嵌入式/单片机内容] xbj
说明:51单片机控制的微型报警器的源程序,能自动记录报警时间等功能-51 Single Chip Microcomputer alarm source, can automatically record the alarm time and other functions<时浩东> 在 2025-06-07 上传 | 大小:4kb | 下载:0
[单片机(51,AVR,MSP430等)] chaoshengbo
说明:HC-SD04超声波模块,负载已经调好的程序,可测障碍范围4cm-200cm-HC-SD04 ultrasonic module, load has been tuned procedure, measurable disturbance range 4cm-200cm<王累> 在 2025-06-07 上传 | 大小:313kb | 下载:0