文件名称:AVR_M16_PWM_KeyScan_7Seg_Interrupt
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-07-20
- 文件大小:
- 34kb
- 下载次数:
- 0次
- 提 供 者:
- xia***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
自己工作需要,需输出可调脉宽、频率的PWM波,网上找的资料都是介绍AVR快速PWM的,没有使用AVR相頻修正实现PWM控制的。就自己查资料,仿真、做板子。自己做了一个,调试通过了,如果需实际使用,部分参数需稍加修正。
功能:AVR ATmega16 相頻修正PWM波实现
涉及模块:7Seg(7段数码管驱动)
键盘扫描(包括长按和短按,稍加修改可实现多键检测)
定时器0,2的定时使用
定时器1的相頻修正PWM输出
PWM频率范围:0.1-99.9Hz,占空比:0.1-99.9可调
ATmega16 工作频率:内部RC 8MHz
仿真工具:Proteus
编译工具:WinAVR-Own work needs, the need adjustable output pulse width, frequency PWM wave, are introduced Internet to find information fast PWM AVR, AVR without using phase and frequency correct PWM control to achieve. Check the information on their own, simulation, do the board. Own one, debugging, and if need practical use, some parameters need a little correction.
Function: AVR ATmega16 phase and frequency correct PWM wave realization
Involves modules: 7Seg (7 segment LED driver)
Keyboard scanning (including long press and short press, slightly modified to achieve multi-key detection)
Timer timing using 0,2
Timer phase and frequency correct PWM outputs 1
PWM Frequency range :0.1-99 .9 Hz, Pulse Width: 0.1-99.9
ATmega16 Operating frequency: I
功能:AVR ATmega16 相頻修正PWM波实现
涉及模块:7Seg(7段数码管驱动)
键盘扫描(包括长按和短按,稍加修改可实现多键检测)
定时器0,2的定时使用
定时器1的相頻修正PWM输出
PWM频率范围:0.1-99.9Hz,占空比:0.1-99.9可调
ATmega16 工作频率:内部RC 8MHz
仿真工具:Proteus
编译工具:WinAVR-Own work needs, the need adjustable output pulse width, frequency PWM wave, are introduced Internet to find information fast PWM AVR, AVR without using phase and frequency correct PWM control to achieve. Check the information on their own, simulation, do the board. Own one, debugging, and if need practical use, some parameters need a little correction.
Function: AVR ATmega16 phase and frequency correct PWM wave realization
Involves modules: 7Seg (7 segment LED driver)
Keyboard scanning (including long press and short press, slightly modified to achieve multi-key detection)
Timer timing using 0,2
Timer phase and frequency correct PWM outputs 1
PWM Frequency range :0.1-99 .9 Hz, Pulse Width: 0.1-99.9
ATmega16 Operating frequency: I
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AVR_M16_PWM_KeyScan_7Seg_Interrupt
..................................\KeyScan.DSN
..................................\main.c
..................................\main.hex
..................................\Makefile
..................................\ReadMe.txt
..................................\说明.txt