搜索资源列表
Timer1_pwm
- 利用AVR单片机的定时器1分别从PB1(OC1A)和PB2(OC1B)两引脚输出PWM波形。为了演示PWM的功率调节功能,我们在PB1和PB2引脚分别接了发光二极管,用10K电位器模块从PC0引脚接入0 - 5V电压。程序中,主循环内不断采集ADC端口0(PC0引脚)的电压值,根据变化改变OCR1A和OCR1B两个输出比较寄存器的值。PB1和PB2引脚上的PWM波形也随之发生改变,从而调节了送给发光二极管的电压,控制发光二极管的明暗。实验时,调节电位器的电阻值改变电压,会看到两个发光二极管明暗变
AVR_program
- 微雪电子AVR例程,包括I2C,硬件操作库函数,软件操作库函数,74LS164将串口扩为并口,定时器ICP,RCF8563,PS/2,LCD12864-Snow electronic AVR micro routines, including I2C, hardware, operating library functions, the software library functions operate, 74LS164 will expand as the parallel port, ti
ding
- avr定时器,实现led灯一亮一灭间隔1秒-avr timer
timeCTC
- 定时器CTC模式的单个程序描述,我自己的AVR单片机上运行-CTC timer mode descr iption of a single program, my own AVR microcontroller running
201071110336885
- 有关VB和单片机的实例一般都是基于串口、485、TCP等进行控制,直接能跑VB的单片机好像国外的一款AVR单片机可以跑VB(其实是BASIC脚本)。 现在发布一个和本站继电器控制有关的事例代码,主要功能用来通过串口控制各种设备,如电灯、电器,进行开关,扩张可以进行定时。这个代码主要是演示串口的事例程序。 当然,大家自己可以扩展通过RF无线、GPRS等多种通讯方式进行控制. -For examples of VB and SCM are generally based on the s
ms_ds
- 本程序是基于AVR Studio 4.16编译环境的AVR定时器的简单应用,主要实现秒表倒计时功能。-This procedure is based on the AVR Studio 4.16 AVR compiler environment, simple application of the timer, the main achievement stopwatch countdown function.
avr
- 基础程序,中断 定时器 端口 输出脉冲-Based program, the interrupt timer pulse output port
TIMER_main
- AVR定时器源程序,简单示范了如何使用ATIMEGA的16定时器。AVR定时器的要点介绍。-AVR timer source, a brief demonstration of how to use the ATIMEGA 16 timer. A brief introduction to AVR timer.
PID
- avr单片机四驱小车 PID 算法 PWM模式 定时器中断 串口收发 ADport采样 计算轮速-PID algorithm for four-wheel drive car avr microcontroller PWM mode timer interrupt serial transceiver ADport calculated wheel speed sampling
AVR-IO-ports-communications-line
- AVR单片机利用定时器普通IO口实现一线通信-AVR microcontroller IO ports using timers to achieve common communications line
AVR
- AVR初始化配置,定时器,串口,PWM,-Initial configuration initial configuration AVR AVR AVR AVR initialization initialization initialization configuration configuration configuration AVR AVR AVR initial configuration initial configuration
AVR-examples
- AVR实例,包含串口操作、中断程序和定时器-AVR instance, include serial port operation, and timer interrupt program
AVR-TC0
- AVR单片机定时器0 TC0的四种工作模式-AVR microcontroller timer 0 TC0 four modes
AVR
- avr单片机 atmega16 定时器的运用-avr atmega 16 i/o interrupt
avr
- AVR的所有模块,EEPROM,USART,AD,定时中断,AVR软件界面熟悉,软件运行,-All modules in the AVR EEPROM, USARTs, the AD, timer interrupt, familiar with the AVR software interface, the software runs, etc.
timer.PWM.ICP
- 本程序简单的示范了如何使用ATMEGA16的定时器 AVR定时器的要点介绍 T0工作于CTC模式,输出1KHz/2KHz 50 占空比的方波 T1工作于快速PWM模式兼输入捕捉 T2工作于相位修正PWM模式,输出490Hz的8bit PWM波-This procedure is simple demonstration how to use the ATMEGA16 the timer To AVR timer points The T0 work in CTC mode
AVR-PWM
- PWM功能在电机和舵机的控制中有广泛的应用,本程序利用AVR单片机的定时器实现PWM功能-PWM function in the motor and servo control has a wide application of this procedure by using the AVR microcontroller timer PWM function
AVR--light-control-system-
- 本设计采用AVR单片机为主控制器实现了对交通灯系统的控制。系统不仅能够提供常规的交通灯定时切换,而且能够在液晶上显示时钟,具备现场调时,调日期及在特定时段实现特殊功能。该系统工作稳定、LCD显示清晰直观、计时准确,比较理想的实现了设计指标的要求。除此以外,该系统还能够进行简单的单片机实验,包括程序下载、流水灯等。-This design uses the AVR microcontroller-based controller for the control of traffic signal
AVRtimer0
- 本文讲述AVR定时/计数器0的各种使用,包括各个寄存器的使用方法、电路、波形,并给出了几个不同的程序,有计数实验、定时实验、比较匹配实验、快速PWM实验、相位修正PWM实验。-This article describes the AVR timer/counter of a variety of uses, including the use of various registers, circuit, waveform, and gives a few different programs,
AVR
- ATmega128开发程序已测试通过,其中包括pwm波,ADC,定时器等应用程序,注:使用ICCAVR编译器-AVR ATmega128