Tuesday, 21 June 2016

Simulate program in proteus

In this post, we will cover how to simulate program files in proteus.

Proteus is a simuation software used for simulating analog/ digital circuits as well as for simulating embedded based projects. It can used for simulating 555 based, transistor based circuits. It's a very good tool for hobbyists, students and professionalists. This is not a freeware however one can download the trial version from the official website or simply purchase it.

Step 1: First of all, choose the components from the library by simply right clicking on grid area.

Search component in proteus library
Components from libraries
Step 2: In keywords box, type atmega 16 and  select appropriate components from the listed item.

            Keywords for led: LED-RED. 

component selection in proteus
Component selection

Step 3: Double click on controller area, there is a option program file. There is a folder icon, click on it and browse the directory for hex file. After that click on open and ok. You can change the crystal frequency as per your program.
browsing hex file in proteus
Browsing hex file

Step 4: Click on play simulation to start playing the simulation.
Step 4: Click on play to start the simulation. We can check the logic on PORTD.
simulation in proteus
Simulation



Red denotes +5 volt
Blue denotes 0 volt
Grey denotes Tri-state

Hope you had enjoyed the tutorial. Stay tuned for more updates !!
















No comments:

Post a Comment