搜索资源列表
51-microcontroller-project-set
- 51单片机项目集: 1.基础项目 项目1-P0口驱动LED闪烁 项目2-跑马灯 项目3-P0口驱动一个数码管显示 项目4-单片机的中断系统 项目5-定时器计数器应用 项目6-单片机的按键 项目7-数码管动态显示 项目8-电子表程序设计 项目9-串口通信 项目10-步进电机 2.提高项目 项目1-A_D转换器应用 项目2-D_A转换器应用 项目3-数字温度传感器DS18B20应用 项目4-I2C总线器件应用 项目5-字符型LCD1
danpianji
- 利用定时器T1的模式2对T1引脚输入的外部信号计数,要求计满100个脉冲,将P1.0引脚取反。-External signal on T1 pin count of timer T1 mode requires the expiration of the 100 pulse P1.0 pin negated.
traffic_lights
- 交通灯: 1:利用单片机的定时器产生秒信号,控制十字路口的红绿黄灯交替点亮和熄灭, 2:能够用4只LED数码管显示十字路口两个方向的剩余时间。要求能用按键设置两个方向的通行时间(绿灯点亮的时间)和暂缓通行时间(黄灯点亮的时间)。 -Traffic lights: 1: the microcontroller timer seconds signal alternately turned on and off, control the red, green and ye
Cross-traffic-lights
- 1:利用单片机的定时器产生秒信号,控制十字路口的红绿黄灯交替点亮和熄灭, 2:能够用4只LED数码管显示十字路口两个方向的剩余时间。要求能用按键设置两个方向的通行时间(绿灯点亮的时间)和暂缓通行时间(黄灯点亮的时间)。 3:系统的工作应符合一般交通灯控制的要求。-1: SCM the timer generates seconds signal alternately turned on and off, control the red, green and yellow of the
Protues
- 基于Protues软件下的综合仿真 福利贴..........把这次自己整的单片机综合实验发出来分享下.........(含报告)... 1、掌握Protues硬件仿真软件的使用。 2、掌握单片机IO口输入、输出的控制。 3、掌握单片机定时器、串口等资源的控制。 4、掌握数码管动态显示的方法。 5、掌握用单片机驱动DA、AD芯片。 6、掌握用单片机驱动1602液晶、8*8点阵列屏。 一个工程包含所有功能.......包含源码-Based o
MCU
- 1、流水灯 2、数码管轮流显示 3、定时器+秒表显示 4、篮球比赛秒表 5、串口通讯测试 6、pwm控制灯-1,water lights,2, digital tube display in turn 3 , Timer Stopwatch display 4,stopwatch+basketball game 5 serial communications test 6, PWM control lamp
TEST19
- C8051F410驱动DHT11检测温湿度,SMS1802液晶显示。使用T2定时器每2秒刷新一次显示与温湿度。-C8051F410 drive DHT11 to obtain the temperature & humidity every 2 secs. All the data are displayed by SMS1802 LCD.
51watch
- 程序目的:使用定时器学习秒表计时,中断0控制走表,中断1控制清零。硬件要求:数码管、晶振12M-A program purpose: use a timer learning stopwatch timing interrupt 0 control go table, interrupt control cleared 2 hardware requirements: digital tube, crystal 12M
t2fangbo
- 用定时器/计数器2从P1.0产生一个5000Hz的方波,假设晶振频率fosc为12MHz-Timer/counter 2 from P1.0 generates a 5000Hz square wave assumption is 12MHz crystal oscillator frequency fosc
honglvdeng
- 1、程序目的:使用定时器学习 倒计时 红绿灯原理 主要程序和倒计时一样 2、硬件要求:数码管、晶振12M-1, the program purpose: Use timers learning the countdown traffic lights principle of the main program and the countdown hardware requirements: Digital Crystal 12M
PWM
- PWM调光 1、学习目的:利用定时器产生PWM,了解原理和使用方法 2、硬件要求:LED灯 定时器 3、试验现象:LED灯由亮到灭,由灭到亮逐步变化,也就是调光现象-PWM dimming, learning objectives: the use of the timer to generate PWM understand the principles and use hardware requirements: LED lamp timer test phenomenon: L
interrupt1
- 1:P1口接8个LED,单脉冲电路的负脉冲端接到单片机的P3.2引脚上。编写程序,使定时器0的中断方式产生100ms的延时,实现8个LED的亮点流动。在流动的过程中,如果按下单脉冲键,8个LED的发光状态将改变为同时闪烁,闪烁8次恢复亮点流动(闪烁时间间隔由延时程序完成)。 -1: P1 mouth 8 LED the negative pulse end of the single-pulse circuit connected to the MCU P3.2 pin. Writing p
Timer-interrupt-to-00.00-stopwatch
- 标题: 定时器中断 精确到00.00秒表 效果: 按1键启动或按2键停止数码管做精确的秒计数-Title: timer interrupt accurate to 00.00 stopwatch effect: Press 1 to start or Press 2 to stop the digital tube to do the exact second count
programme
- 1. 用51单片机内部的定时器实现秒计数,用两个七段LED显示器上显示秒时间,用一个按键控制秒表的计数和清零。 2. 按键入口选用P1口。 3. 按键采用软件去抖动。 4. 七段显示器接口采用串行口扩张并行口,显示方式为静态显示。 -With 51 MCU internal timer to count seconds and display the second time with two seven-segment LED display, a button control
wenduPLCD
- 其实用74HC595也是一种动态显示,所以必须利用循环才行。 运用74HC595串入并出的方式显示8位共阴数码管,本实验是用P2.0,P2.1,P2.2 利用看门狗定时器,实现电子表。即:数码管第4位显示时,第5.6位显示分 最后7,8显示秒。并且利用DS18B20温度传感器,在最高三位显示温度。-Actually with 74 hc595 are needed is also a kind of dynamic display, so must use cycle.
two
- 利用定时器定时一秒,显示2位数字,从00到-The timer timing second, show two numbers, from 00 to 99
SmarHome
- 这是一个通用的STM32启动及控制代码集.它没有使用ST的库,完全是基于寄存器的操作.它包括三部分: 1,sys sys部分包含了STM32的系统级别的代码,包括:时钟配置,IO口输入输出管理,中断管理,待机模式设置,BKP操作,软复位,JTAG配置等. 2,usart usart部分包含了对串口1的初始化,用于串口调试,或者串口打印信息. 3,delay delay部分包含了2个基本的延时数,delay_us和delay_ms,这两个函数采用STM32的SYSTIC
dingshiqijijishuqi
- 1、熟悉8051的t0作为定时器的设置及使用方法 2、掌握t0作为计数器的软件使用方法 3、掌握单脉冲发生电路的硬件线路连接方式 -1, familiar the 8051 t0 as a timer set up and use, master t0 software to use as a counter, grasp the one-shot pulse generating circuit hardware line connection
stm32-PWM-output-waveform-display
- stm32 ARM单片机的PWM输出,然后通过通过ADC采样,并且在2.8寸液晶触摸屏幕上显示PWM动态的电压点位和ADC值,pwm频率和占空比可以通过改变定时器值而调整-STM32 ARM microcontroller PWM output, and then passed through the ADC sampling, and dynamic voltage point of the PWM and ADC values 椠渀 the 2.8-inch LCD touch screen
6-homework
- T1定时器定时,工作方式一,定时周期2秒,高低电平占空比1:1-failed to translate