al hussein bin talal university college of engineering ... · proteus software integrated...
TRANSCRIPT
Al Hussein Bin Talal University
College of Engineering
Computer Engineering Department
Embedded Systems Laboratory
Experiment 4
Introduction to Proteus, LED
Objectives:
The main objectives of this experiment are to familiarize you with:
Proteus software integrated development environment , creating project,
performing schematic capture and simulating the designed circuits
Design simple circuit using Proteus, and simulating it using code written in
MPLAB
Introduction: Proteus is a Design Suite also know as Virtual System Modeling (VSM) offering the
ability to simulate micro-controller code and also circuits. The software suite containing
schematic, simulation and PCB designing.
Part 1: Design simple circuit This is the first windows you´ll see every day you open Proteus, this is the home screen.
Select icon to start schematic design
The ISIS environment:
You can select your component From the Library menu select Pick part from libraries or from object selector window click on P:
Select the components from categories or type the part name in Keywords text box
The selected components will appear in the devices list. Select the component and place
it in the design sheet by left-click
Place all the required components and route the wires i.e, make connections.
Either selection mode above the component mode or component mode allows to connect
through wires. Left click from one terminal to other to make connection. Double right-
click on the connected wire or the component to remove connection or the component
respectively
Double click on the component to edit the properties of the components and click on Ok
After connecting the circuit,click on the play button to run the simulation.
In this example simulation, the button is depressed during simulation by clicking on it to
make LED glow
Part 2: Using Proteus to prototype embedded system design
1. Design the following circuit:
2. Write the following code in MPLAB and build it:
3. Double click on the PIC ship in your design and download your program
4. Run the simulation and watch the result.
5. Change the program to switch all LEDs on.