arduino simulation procedure

20
BY BY P.SIVA NAGENDRA REDDY ASSISTANT PROFESSOR DEPARTMENT OF ECE KUPPAM ENGINEERING COLLEGE Mail id:[email protected] 1 Siva Nagendra Reddy,ECE ,Assistant Professor

Upload: siva-nagendra-reddy

Post on 12-Jan-2017

140 views

Category:

Engineering


1 download

TRANSCRIPT

BYP.SIVA NAGENDRA REDDY

ASSISTANT PROFESSORDEPARTMENT OF ECE

KUPPAM ENGINEERING COLLEGEMail id:[email protected]

BYP.SIVA NAGENDRA REDDY

ASSISTANT PROFESSORDEPARTMENT OF ECE

KUPPAM ENGINEERING COLLEGEMail id:[email protected]

1Siva Nagendra Reddy,ECE ,Assistant Professor

PROCEDURE TO SIMULATEARDUINO USING PROTEUS

PROCEDURE TO SIMULATEARDUINO USING PROTEUS

2Siva Nagendra Reddy,ECE ,Assistant Professor

Install Arduino IDE First make sure that you have Proteus installed in your

operating system. If not, then download and installProteus. After run the Proteus software, If you don't find

Arduino in the library.

First make sure that you have Proteus installed in youroperating system. If not, then download and installProteus. After run the Proteus software, If you don't find

Arduino in the library.

3Siva Nagendra Reddy,ECE ,Assistant Professor

Procedure:Step 1: Download the ARDUINO Library Files from website. Open downloaded zip Folder Copy ARDUINO.LIB and ARDUINO.IDX files. Paste ARDUINO.LIB and ARDUINO.IDX files in to

Proteus Library folder. C drive>Program Files>Labcenter Electronics>Proteus 7

Professional>LIBRARYStep 2: Now open Proteus and Search Arduino.Step 3: Make Hex file.Step 4: Upload Code and run.

Step 1: Download the ARDUINO Library Files from website. Open downloaded zip Folder Copy ARDUINO.LIB and ARDUINO.IDX files. Paste ARDUINO.LIB and ARDUINO.IDX files in to

Proteus Library folder. C drive>Program Files>Labcenter Electronics>Proteus 7

Professional>LIBRARYStep 2: Now open Proteus and Search Arduino.Step 3: Make Hex file.Step 4: Upload Code and run.

4Siva Nagendra Reddy,ECE ,Assistant Professor

Step 1 Download the ARDUINO Library Files from website. Open downloaded zip Folder Copy ARDUINO.LIB and ARDUINO.IDX files. Paste ARDUINO.LIB and ARDUINO.IDX files in to

Proteus Library folder. C drive>Program Files>Labcenter Electronics>Proteus

7 Professional>LIBRARY

Download the ARDUINO Library Files from website. Open downloaded zip Folder Copy ARDUINO.LIB and ARDUINO.IDX files. Paste ARDUINO.LIB and ARDUINO.IDX files in to

Proteus Library folder. C drive>Program Files>Labcenter Electronics>Proteus

7 Professional>LIBRARY

5Siva Nagendra Reddy,ECE ,Assistant Professor

6Siva Nagendra Reddy,ECE ,Assistant Professor

Step 2Now open Proteus and Search Arduino.

7Siva Nagendra Reddy,ECE ,Assistant Professor

8Siva Nagendra Reddy,ECE ,Assistant Professor

Step 3:

Make .hex FileOpen Arduino SoftwareBefore start simulation need to make sure that in

File>>Preferences, compilation is marked. Because"compilation" compile the code and generate .hex file.This .hex file is needed for running the Proteus

simulation.

Make .hex FileOpen Arduino SoftwareBefore start simulation need to make sure that in

File>>Preferences, compilation is marked. Because"compilation" compile the code and generate .hex file.This .hex file is needed for running the Proteus

simulation.

9Siva Nagendra Reddy,ECE ,Assistant Professor

10Siva Nagendra Reddy,ECE ,Assistant Professor

Step 3: (Step-1)Proteus Simulation

11Siva Nagendra Reddy,ECE ,Assistant Professor

After writing your code, click on compile then you willget the Link of Your Hex file at the Output go to thatplace and get your Hex file.Then copy(Ctrl+C) the .hex file.

After writing your code, click on compile then you willget the Link of Your Hex file at the Output go to thatplace and get your Hex file.Then copy(Ctrl+C) the .hex file.

12Siva Nagendra Reddy,ECE ,Assistant Professor

Step 4

Upload code and run. Run the Proteus and draw the circuit like the picture.You can directly connect Led with pin 13.But it is a

good practice to add a 220 ohm resistor with led inseries. Resistor limits the current flow.Right click on Arduino and Paste the .hex file in

"Program File”.Run the simulation by clicking "Run the simulation"

button.LED is Blinking if everything is okay.

Upload code and run. Run the Proteus and draw the circuit like the picture.You can directly connect Led with pin 13.But it is a

good practice to add a 220 ohm resistor with led inseries. Resistor limits the current flow.Right click on Arduino and Paste the .hex file in

"Program File”.Run the simulation by clicking "Run the simulation"

button.LED is Blinking if everything is okay.

13Siva Nagendra Reddy,ECE ,Assistant Professor

14Siva Nagendra Reddy,ECE ,Assistant Professor

15Siva Nagendra Reddy,ECE ,Assistant Professor

16Siva Nagendra Reddy,ECE ,Assistant Professor

17Siva Nagendra Reddy,ECE ,Assistant Professor

18Siva Nagendra Reddy,ECE ,Assistant Professor

19Siva Nagendra Reddy,ECE ,Assistant Professor

20Siva Nagendra Reddy,ECE ,Assistant Professor