资源列表
[单片机(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-12 上传 | 大小: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-12 上传 | 大小: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-12 上传 | 大小: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-12 上传 | 大小: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-12 上传 | 大小: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-12 上传 | 大小:603kb | 下载: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-12 上传 | 大小:46kb | 下载: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-12 上传 | 大小:313kb | 下载:0
[单片机(51,AVR,MSP430等)] Disinfection-clean-screen-program
说明:医院里空气净化器主芯片的主程序,主要芯片有STC89C54RD+,DS1302,ULN2003。-Hospital air purifier main chip of the main program, the main chip has STC89C54RD+, DS1302, ULN2003.<杜丹丹> 在 2025-06-12 上传 | 大小:469kb | 下载:0
[单片机(51,AVR,MSP430等)] steep
说明:LPc2101 步进电机,编程软件使用的是keil,只是简单的例程-lpc2101 steep<xuchangwei> 在 2025-06-12 上传 | 大小:97kb | 下载:0
[单片机(51,AVR,MSP430等)] 51Calcula
说明:利用51单片机开发板上面的矩阵键盘和数码管实现计算器-51 MCU development board above the keyboard and digital control using matrix was compiled Calculator<沈涛> 在 2025-06-12 上传 | 大小:31kb | 下载:0
[单片机(51,AVR,MSP430等)] modbus51
说明:基于51单片机的modbus协议,宏晶半导体芯片-Modbus protocol based on 51 single chip microcomputer<Lynn> 在 2025-06-12 上传 | 大小:75kb | 下载:0