The Application of Cvavr, Avrstudio, Proteus in Mcu Teaching
The Application of Cvavr, Avrstudio, Proteus in Mcu Teaching
The Application of Cvavr, Avrstudio, Proteus in Mcu Teaching
in MCU Teaching
College of Information science & engineering, Xinjiang University, Urumqi China 830046
Abstract. MCU courses of C51 and AVR have opened in major colleges and
universities Most of the current teaching methods are teaching the theory and
experimental chamber exercise. The downside is lack of Intermediate links. In
this paper, the software AVRstudio and Proteus, can achieve visual classroom
teaching, and can single-step debugging AVR microcontroller program. Proteus
simulation discussed in the actual feasibility and necessity of teaching.
1 Introduction
With the automation technology widely used in industry, agriculture and the popularity
of daily life. Most colleges and universities has also opened a lot of theoretical and
experimental courses of MCU, most of them are belong to 89C51 family, while AVR
microcontroller with more excellent performance its internal functions more complex,
so just minority of college offers AVR courses.
At present most of the college offered MCU courses of supplemented teaching, and
experimental multi-chamber , which limit the creative thinking of students of
development, it also has kill some new ideas to innovation. And also user can
debugging single-step project while without the microcontroller hardware emulator.
In this paper, we combined AVRstudio and Proteus to develop programe. Students
through the Proteus schematic drawing board can help them understanding the function
of MCU such as the pin connections to each external hardware circuit, which will
benefit to programe. You can use the Proueus to emulator MCU single-step debugging.
At 1997 Mr. A, Mr. V using the company's Flash technology, jointly developed
high-speed RISC reduced instruction set 8-bit microcontroller in ATMEL Corporation
Design Center of Norway, referred to AVR. Compared to 8-bit microcontroller core
C51 is, AVR microcontroller largest features are: It internal use Harvard structural
Y. Wang (Ed.): Education Management, Education Theory & Education Application, AISC 109, pp. 791–797.
springerlink.com © Springer-Verlag Berlin Heidelberg 2011
792 L. Xingang et al.
design, can achieve high-speed processing speed 1Mips/MHz; Part of the AVR MCU
does not require external components, which could use its internal resources to work.
Most beginner study AVR is in contact ICCAVR the programming tools, but few
people know CVAVR. In fact, it compared ICCAVR, There are several advantages: the
interface more friendly than ICCAVR, and the integration of the code wizard to help
beginners to quickly master the procedures of AVR microcontroller.
2.3 AVRstudio
2.4 Proteus
Proteus is known that developed by the British Labcenter with circuit analysis and
physical simulation function. This software can simulate, analyze a variety of analog
devices and integrated circuits. MCU systems support mainstream simulation and
debugging. In the simulation system has full, single step, set breakpoints, etc.
3 Teaching Case
In this paper, we take "AVR generate PWM control motor speed" for example to do an
introduction. According to the general project design process based on specific
requirements for hardware design. This motor speed control chip select AVR
ATmega16, motor drive with integrated L298N, photoelectric coupler between the core
and the motor to do electrical isolation, improve system stability.