Welcome![Sign In][Sign Up]
Location:
Search - AVR CAN timer

Search list

[Other resourceak1

Description: 一些应用中,经常要用到双串口,但是一般单片机只提供一个串口,其实完全可以用普通I/O口模拟一个串口。以下的程序是我编写的模拟串口程序,程序中使用了单片机的定时器0,和INT0中断。数据的发送和接收由中断程序自动进行。程序已经过AVR仿真器仿真和实际烧片使用,证明可靠。有一点需要说明的是,此模拟的串口为半双工方式。 主程序中,单片机将标准串口设置为115200bps,将模拟串口设置为19200bps。单片机将标准串口收到的数据从模拟串口发送出去,将模拟串口接收到的数据从标准串口发送回来。-some applications, the regular use of the dual serial port, but most only provide a microcontroller serial, In fact, the general can use I / O simulation of a serial mouth. Following the procedure is that I serial simulation procedure is the use of the computer's timer 0, and INT0 interruption. Data sending and receiving process by automatically suspended. Procedures have been AVR Simulator simulation and actual use of burn unit proved reliable. It should be explained that this simulation of half-duplex serial port. Main program, SCM standard serial port set to 115,200 bps. Serial analog set to 19,200 bps. SCM standard serial data received from analog to serial sent, Serial analog to receive data from the standard serial sent back.
Platform: | Size: 2007 | Author: 张永余 | Hits:

[SCMak1

Description: 一些应用中,经常要用到双串口,但是一般单片机只提供一个串口,其实完全可以用普通I/O口模拟一个串口。以下的程序是我编写的模拟串口程序,程序中使用了单片机的定时器0,和INT0中断。数据的发送和接收由中断程序自动进行。程序已经过AVR仿真器仿真和实际烧片使用,证明可靠。有一点需要说明的是,此模拟的串口为半双工方式。 主程序中,单片机将标准串口设置为115200bps,将模拟串口设置为19200bps。单片机将标准串口收到的数据从模拟串口发送出去,将模拟串口接收到的数据从标准串口发送回来。-some applications, the regular use of the dual serial port, but most only provide a microcontroller serial, In fact, the general can use I/O simulation of a serial mouth. Following the procedure is that I serial simulation procedure is the use of the computer's timer 0, and INT0 interruption. Data sending and receiving process by automatically suspended. Procedures have been AVR Simulator simulation and actual use of burn unit proved reliable. It should be explained that this simulation of half-duplex serial port. Main program, SCM standard serial port set to 115,200 bps. Serial analog set to 19,200 bps. SCM standard serial data received from analog to serial sent, Serial analog to receive data from the standard serial sent back.
Platform: | Size: 2048 | Author: 张永余 | Hits:

[SCMfan_controller

Description: 基于AVR单片机,利用定时器功能,和DS18B20对温度采样,进而控制风扇启停。用户可以定时,18B20检测环境温度,当温度低于15摄氏度时,自动关闭风扇。数码管显示。-Based on the AVR microcontroller, using the timer function, and DS18B20 temperature sampling, then control the fan start and stop. Users can from time to time, 18B20 detect the ambient temperature, when the temperature is below 15 degrees Celsius, the fan shut down automatically. Digital tube display.
Platform: | Size: 46080 | Author: 魏昊 | Hits:

[SCMtimer1

Description: AVR单片机定时器1使用源程序,使用人员使用 ICCV7 for AVR编译后可直接使用-AVR single-chip timer to use one source, the use of the use of ICCV7 for AVR compiler can be used directly
Platform: | Size: 1024 | Author: renxianjun | Hits:

[SCMavrPTest

Description: AVR基本外设测试程序,包括1602LCD,外部中断,定时计数器0,键盘扫描等。本工程是基于Mega8而进行的,可以基本不用修改而应用到AVR的其他芯片上,比如Mega16,Mega162等。-AVR basic peripherals testing procedures, including 1602LCD, external interrupt, timer counter 0, keyboard scanning. The project is carried out based on Mega8, you can not modify the basic and applied to other AVR chips, such as the Mega16, Mega162 such.
Platform: | Size: 57344 | Author: 小马哈 | Hits:

[SCMtc

Description: avr atmega168v Timer counter的程序,可以使用-avr atmega168v Timer counter program, can work
Platform: | Size: 11264 | Author: york | Hits:

[SCMTIMER_main

Description: AVR单片机C语言, 关于定时器的应用, 大家可以去看看,里面有说明-AVR single-chip C language, on the application of the timer, we can see that there are
Platform: | Size: 5120 | Author: 陈爱芳 | Hits:

[SCMT0shumaguan

Description: avr单片机定时器的数码管显示程序,初学者看还可以啊-avr timer single-chip digital control display program, a beginner can look at ah
Platform: | Size: 6144 | Author: 田秀超 | Hits:

[SCMTemplate_With_Schedule_And_COM_Singal_Interface.ra

Description: 该模板拥有严格的层次和模块划分,具有可移植性强,替换硬件抽象 层的部分内容即可实现整个工程的AVR芯片间移植。该模板使用时,只需要使用ICC代码向 导生成必要的定时器0毫秒中断初始化代码、串口初始化代码填写到HD_Support.c中的对 应函数中,就可以使用了。-The template has a strict hierarchy and modules division, with portability, strong, and replace part of the hardware abstraction layer can be realized throughout the project between the portable AVR chips. The template to use, only need to use the ICC Code Wizard to generate the necessary millisecond timer 0 interrupt initialization code, serial port initialization code into the HD_Support.c fill in the corresponding function, you can use.
Platform: | Size: 119808 | Author: yy | Hits:

[SCMAVR_IO_tests

Description: AVR单片机的实验代码,经过测试可以用的。包括普通IO口实验、定时器实验、数码管显示实验、AD转换并显示实验和EEPROM 读写实验.不但有代码,还有简单解释和原理说明-AVR microcontroller experimental code, tested can be used. Including general IO port test, test timer, digital display experiment, AD conversion and display experimental and EEPROM read and write experiments. Not only code, there are simple principles of interpretation and explanation
Platform: | Size: 7168 | Author: | Hits:

[SCMtime1

Description: AVR单片机定时器2的异步操作功能用作实时时钟的效果。同时讲解了BASCOM-AVR中关于时钟硬件配置方面的语句。在BASCOM的概念里主要分为SOFT和USER两大类时钟产生的方法。利用芯片定时器的异步功能称为软时钟,利用专用时钟芯片则要用户自己编写相应的处理程序,所以称USER。但不管采用哪种方式,相关的中断服务程序或是函数都要支持DATE$和TIME$以及_sec , _min , _hour, _day , _month , _year等系统内部变量。程序的其他部分可以直接存取这些变量,使得时间操作变得规范化,大大方便了程序设计-AVR microcontroller Timer 2 functions as a real-time clock asynchronous operation results. Also explained the BASCOM-AVR clock hardware configuration on the statement. Concept of years in BASCOM divided into two categories USER SOFT and clock generation method. Use of chip asynchronous timer feature called soft clock, using dedicated clock chip will have to write the corresponding user' s own procedures, so that USER. But Either way, the relevant interrupt service routine, or function must support DATE $ and TIME $ and _sec, _min, _hour, _day, _month, _year other variables within the system. Other parts of the program can directly access these variables, making time operation has become standardized, greatly facilitates programming
Platform: | Size: 182272 | Author: kevin cheng | Hits:

[ARM-PowerPC-ColdFire-MIPSM16_T0_Timer

Description: 这是一个关于 AVR ATMEL16的定时器的应该程序。可以实现计数定时-This is a timer on the AVR ATMEL16 should process. Can count time
Platform: | Size: 110592 | Author: 梁永安 | Hits:

[SCMclock-timer

Description: bascom-avr源码 一个专业时钟,可以驱动一个继电器定时。含原理图-AVR Clock and Timer Project: This is a professional Clock, Calendar and Timer with a relay. furthermore this is a Alarm clock and you can set Alarm or relay for 100 year. this project get two time for relay: on time and off time. also there are a beep on every houre. by default this project have a 100 year persian calendar written in Bascom and is changeable to ANSI date format.
Platform: | Size: 137216 | Author: lupo | Hits:

[SCMtest

Description: AVR单片机的定时器中断程序,用来控制数码管显示数字,可以在ICC软件中编译通过。现在到AT16单片机中运行-The timer interrupt program of the AVR microcontroller used to control digital display digital, you can compile in the ICC software through. Now run to the AT16 microcontroller
Platform: | Size: 1024 | Author: 王磊 | Hits:

[SCMmega16csb

Description: 编译环境iccavr 芯片avr16 8M晶振 超声波的可收发距离在3m左右,利用了avr的定时器1和外部中断,1602显示具体距离-The compiler environment iccavr chip avr16 8M crystal can send and receive distance of about 3m using avr timer and external interrupt, 1602 distance
Platform: | Size: 98304 | Author: 刘林 | Hits:

[Embeded-SCM DevelopPWM

Description: Atmega 16单片机,这里利用T/C1定时器中断来产生PWM波形。在ICC AVR编译环境下,利用tool 菜单中的application builder生成一个简单的PWM波程序。这段程序以PA0作为PWM波的输出端口。利用T/C1定时器比较匹配和溢出产生两次中断来改变PA0的输出电平。具体过程为:计数器TCNT1从初始值开始不断计数,当发生比较匹配时,把PA0置为低电平,计数器继续计数,当发生溢出中断时,计数器回到初始设定值,并把PA0置为高电平。从而在PA0端口获得一稳定持续的PWM波形,在主程序中改变比较值,即可改变波形占空比,而频率不变。-Atmega 16 microcontroller, T/C1 timer interrupt to generate a PWM waveform. ICC AVR compiler environment, the application builder tool menu to generate a simple PWM wave program. This program PA0 as PWM wave output ports. The use of T/C1 timer compare match and overflow twice interrupted PA0 to change the output level. Process: the counter TCNT1 from the initial value began to count, compare match occurs, the PA0 set low, the counter continues to count when an overflow interrupt occurs, the counter back to the initial setting, and PA0 is set to the high level. PA0 port access to a stable and sustainable PWM waveform, change the comparison value in the main program, you can change the waveform duty cycle, and the frequency is the same.
Platform: | Size: 5120 | Author: 陈勇 | Hits:

[Embeded-SCM DevelopTimerOne-v9

Description: arduino 内置Timer的类,很好用!只要是AVR系列都可以修改后使用-arduino timer object can be used on avr
Platform: | Size: 6144 | Author: jiaji | Hits:

[OtherAVRTimer

Description: VC编程的AVR定时器初值计算,输入预分频的时钟频率即可计算出定时器初值。用于弥补codevisionAVR软件不能帮助计算初值。-VC programming AVR timer initial calculations, input clock frequency prescaler timer initial value can be calculated. Software can not be used to make up codevisionAVR help calculate the initial value.
Platform: | Size: 3465216 | Author: 杨奕庆 | Hits:

[Other Embeded programtimedplug2

Description: timed plug: an AVR based system. can set the duration for being on. simply the powerplug is attached with a timer.
Platform: | Size: 63488 | Author: sanukrishnan | Hits:

[Documents数字时钟

Description: avr单片机定时器实现对时间 日期的累积,可以通过按键修改时间 日期,数码管显示(AVR single chip timer realizes the accumulation of time and date, can modify time and date by key, digital tube display)
Platform: | Size: 120832 | Author: jiandan1 | Hits:
« 12 »

CodeBus www.codebus.net