Proteus 6 Professional Getting Started Tutorial

Publisher:JoyfulHeartedLatest update time:2020-02-22 Source: eefocusKeywords:Proteus  6  Professional Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Introduction: This article only briefly introduces how beginners can use Proteus 6 Professional to simulate AVR microcontrollers. As for other functions of Proteus 6 Professional, they are not introduced here. If you are interested, please refer to the English help document of Proteus 6 Professional.


1. Introduction to Proteus 6 Professional


Proteus 6 Professional window interface:


First briefly introduce the functions of each part:

1. The Editing Window: As the name implies, it is used to draw schematics. Note that this window does not have a scroll bar. You can use the preview window to change the visible range of the schematic. At the same time, its operation is different from that of common WINDOWS applications. The correct operation is: middle key to zoom in and out of the schematic; left key to place components; right key to select components; double-click the right key to delete components; right key first and then left key to edit component properties; right key first and then left key to drag components; left key to connect and right key to delete.


2. The Overview Window: It can display two contents. One is: when you select a component in the component list, it will display the preview of the component; the other is that when your mouse focus falls on the schematic editing window (that is, after placing a component in the schematic editing window or clicking the mouse in the schematic editing window), it will display a thumbnail of the entire schematic and a green box. The content in the green box is the content displayed in the current schematic window. Therefore, you can click on it with the mouse to change the position of the green box, thereby changing the visible range of the schematic.

3. Mode Selector Toolbar:

Main Modes:

1* Select components (selected by default)

2* Place connection points (intersection points)

3* Label (used when using the bus)

4* Text

5* Used to draw the bus

6* Used to place subcircuits

7* Used to edit components instantly (Usage: click the icon first and then click the component to be modified)


Accessories (Gadgets):


1* Terminal interface (terminals), including VCC, ground, output, input and other interfaces

2* Device pins

3* Simulation graph

4* Voice Recorder

5* Signal generators

6* Voltage probe

7* Current probe

8* Virtual instruments, including oscilloscope, etc.


2D Graphics:

I don’t want to introduce this.


4. Component List (The Object Selector):

Used to select components, terminals, generators, simulation graphs, etc. For example, when you select "Components

(components)", click the "P" button to open the component selection dialog box. After selecting a component (pressing "OK"), the component will be displayed in the component list. When you want to use the component in the future, just select it in the component list.


5. Orientation Toolbar:

Rotation:  The rotation angle can only be an integer multiple of 90.

Flip:  Complete horizontal and vertical flip.

How to use: Right-click the component first, then click (left-click) the corresponding rotation icon.


6. Simulation Toolbar

Simulation control buttons

1* Run

2* Single step operation

3* Pause

4* Stop


2. Simulation Example of AVR MCU

This example is to realize AVR driving LCD1602 and use oscilloscope to monitor the data line.

Before you start, you need to prepare the simulation file, which is the debug or download file generated by the compiler. Different compilers generate different file formats, such as ICC is COF, IAR is D90. Proteus 6 Professional supports COF, D90, HEX, etc. This example uses: lcd_C.hex.

here we go!!!!!

Run Proteus 6 Professional (ISIS6 Professional)

The following window appears:


1. Place components:

The components used in this example are: ATMEGA16, LM016L (LCD1602), "ground", and oscilloscope.

Click the "P" button and the component selection dialog box will appear.



Enter ATMEGA16 in the KEYWORDS field of the dialog box and you will get the following result:

Click OK and close the dialog box. ATMEGA16 is now listed in the component list. Similarly, find LM016L.

Final Results:

Select ATMEGA16 with the left mouse button, and then click the left mouse button in the schematic editing window. ATMEGA16 will be placed in the schematic editing window. Place LM016L in the same way.


Add "ground": left-click and select the icon in the model selection toolbar  , and the following will appear:

Select GROUND with the left mouse button and left-click in the schematic editing window, so that the "ground" is placed in the schematic editing window.


Add an oscilloscope: Left-click and select the icon in the model selection toolbar  , and the following will appear:

Select OSCILLOSCOPE with the left mouse button and left-click in the schematic editing window. The oscilloscope will be placed in the schematic editing window.

2. Connection

The VSS, VDD, and VEE of AVR and LCD do not need to be connected. The default values ​​are VSS=0V, VDD=5V, VEE= -5V, and GND=0V.


3. Add simulation files

First right-click ATMEGA16 and then left-click, and the

Click in Program File to  bring up the file browsing dialog box, find the lcd_C.hex file, click OK to complete adding the file, change the frequency to 8MHz in Clock Frequency, and click OK to exit.


4. Simulation

Click  Start Simulation.

Note: Red represents high level, blue represents low level, and gray represents uncertain level (floating). If the COF file format is used, you can view the AVR related resources in the Debug menu during operation.

Keywords:Proteus  6  Professional Reference address:Proteus 6 Professional Getting Started Tutorial

Previous article:AVR MCU RTOS-AVRX Application
Next article:Design of a new type of safety device to prevent automobile rear-end collision based on AVR

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号