The Application of Cvavr, Avrstudio, Proteus in Mcu Teaching

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

The Application of CVAVR, AVRstudio, Proteus

in MCU Teaching

Lee Xingang, Jia Zhenhong, Wang Liejun, and Huang Xiaohui

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.

Keywords: Proteus, AVRStudio, step debugging.

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.

2 AVR MCU and Simulink Software

2.1 AVR MCU

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.

2.2 CVAVR Software

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

AVRStudio is provided freely at AVR-ATMEL webnet for MCU development


platform. The software set programming, assembly language compiler, software
simulator, download chip, chip hardware emulation and a series of basic functions in
one. Note that even with the Proteus and AVRstudio emphasized the need to at least
version 4.18a.

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.

3.1 Schematic Design

After select complete hardware devices schematic designed by Proteus. After


schematic design AVRStudio circuit simulation debugging. First, in the software menu
interface found File/New Design, circuit simulation to create a new file, save it as
PWM_Motor.DSN. Next, draw the circuit diagram, find ATmega16, L298N, motor
and other components. Layout components connected wiring. Designed circuit as
shown in figure 1.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy