0% found this document useful (0 votes)
42 views

5.2 Simulation The Hex File Using Proteus: Profesional

This document provides instructions for simulating a hex file using Proteus software. It describes how to: 1) Open Proteus and select the button "P". 2) Add components like a PIC16F877A microprocessor, resistors, LEDs, and buttons from the categories window. 3) Drag and drop the components onto the workspace and connect them. 4) Double click the microprocessor to open its properties window and select the hex file to simulate. 5) Click "Debug > Execute" to run the simulation and observe the circuit behavior in the workspace window.

Uploaded by

Radz Krishz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

5.2 Simulation The Hex File Using Proteus: Profesional

This document provides instructions for simulating a hex file using Proteus software. It describes how to: 1) Open Proteus and select the button "P". 2) Add components like a PIC16F877A microprocessor, resistors, LEDs, and buttons from the categories window. 3) Drag and drop the components onto the workspace and connect them. 4) Double click the microprocessor to open its properties window and select the hex file to simulate. 5) Click "Debug > Execute" to run the simulation and observe the circuit behavior in the workspace window.

Uploaded by

Radz Krishz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Page Number

Document Title

Page 12 of 22

LABORATORY
PRACTICUM

5.2 SIMULATION THE HEX FILE USING PROTEUS


1. Open Proteus by clicking START > ALL PROGRAM > PROTEUS 7 PROFESIONAL > ISIS 7
PROFESIONAL .

Figure 1-6

2. Proteus work area will appear; shows in Figure 1-7. Select button P and follow the next
instructions.

Figure 1-7

Page Number
Document Title

Page 13 of 22

LABORATORY
PRACTICUM

3. A window in Figure 1-8 will appear.

Figure 1-8
4. Select instruction bellows and doudle click your left mouse to input components inside category
window as shown in figure 1-9.
a) MICROPROCESSORS > PIC16F877A
b) RESISTORS > 3 WATT1K
c) OPTOELECTRONICS > LED-BIBY
d) SWITCHES & RELAYS > BUTTON

Figure 1-9

Page Number
Document Title

Page 14 of 22

LABORATORY
PRACTICUM

5. Drag and drop components by clicking at DEVICES window to working window as shown at
figure 1-10.

Figure 1-10
6. Right click mouse and select properties for rotate the components to your suitable positions as
shown at figure 1-11.

Figure 1-11
7. Connect and wiring all components.

Page Number
Document Title

Page 15 of 22

LABORATORY
PRACTICUM

8. Click Terminals Mode button to input POWER and GROUND to your working space as shown
at figure 1-12.

Figure 1-12

9. Arrange your components to suitable position and completed your work with the correct
connections as figure 1-13.

Figure 1-12

Page Number
Document Title

10.

Page 16 of 22

LABORATORY
PRACTICUM

Save your project at different folder and named it Projek1_circuit as figure 1-14.

Figure 1-13

Figure 1-14
11. From your working space, double click your PIC16F877A and follow the instructions number
inside figure 1-15. Setting your Edit Component window by following the step given. 1st setting
frequency to 4 MHz, 2nd click at browse button and select the hex file from the project folder
created by compiler (MPLAB or Micro C ) . 3rd click OK.

Page Number
Document Title

Page 17 of 22

LABORATORY
PRACTICUM

Figure 1-15
11. Click DEBUG > EXECUTE to simulate your program and click DEBUG > STOP ANIMATION to stop
the program. From your window project, you can animate your program by clicking suitable
button as shown in figure 1.16. Explain your observation.

Figure 1-16
12. The complete circuit as shown as Figure 1-17.

Figure 1-17

You might also like