0% found this document useful (0 votes)
114 views4 pages

Lab Report#2: Introduction To Atmega 328p/ardunio Ide Uno, Arduino Ide and Proteous

This lab report discusses using Arduino and Proteus to control outputs. It introduces Arduino as an open-source prototyping platform that can read inputs and turn them into outputs. The report explains how to write code in the Arduino IDE, compile it to a .hex file, import that file into a Proteus simulation, and simulate controlling an LED connected to an Arduino board. Screenshots show the successful compilation of code and LED blinking in the Proteus simulation, demonstrating control of an Arduino output.

Uploaded by

hamza shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views4 pages

Lab Report#2: Introduction To Atmega 328p/ardunio Ide Uno, Arduino Ide and Proteous

This lab report discusses using Arduino and Proteus to control outputs. It introduces Arduino as an open-source prototyping platform that can read inputs and turn them into outputs. The report explains how to write code in the Arduino IDE, compile it to a .hex file, import that file into a Proteus simulation, and simulate controlling an LED connected to an Arduino board. Screenshots show the successful compilation of code and LED blinking in the Proteus simulation, demonstrating control of an Arduino output.

Uploaded by

hamza shahbaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Lab Report#2

Introduction To Atmega 328p/Ardunio Ide Uno, Arduino Ide And Proteous


Objective:
How to create project on protious.
How to control Arduino and get output.

Tools:
Arduino IDE, Proteousetc

Apparatus:
Arduino ,Resistor, Led

Theory:
Introduction:
Arduino is an open-source prototyping platform based on easy-to-use
hardware and software. Arduino boards are able to read inputs - light on a
sensor, a finger on a button, or a Twitter message - and turn it into an output
- activating a motor, turning on an LED, publishing something online. You can
tell your board what to do by sending a set of instructions to the
microcontroller on the board. To do so you use the Arduino programming
language (based onWiring), and the Arduino Software (IDE), based
on Processing.

Advanteges:

Inexpensive - Arduino boards are relatively inexpensive compared to


other microcontroller platforms.

Cross-platform - The Arduino Software (IDE) runs on Windows,


Macintosh OSX, and Linux operating systems. Most microcontroller systems
are limited to Windows.

Simple, clear programming environment - The Arduino Software (IDE) is


easy-to-use for beginners, yet flexible enough for advanced users to take
advantage of as well.

Open source and extensible software - The Arduino software is


published as open source tools, available for extension by experienced
programmers.

Open source and extensible hardware - The plans of the Arduino


boards are published under a Creative Commons license, so experienced
circuit designers can make their own version of the module, extending it and
improving it.

Procedure:

Write Arduino Codes in Arduino Software IDE.


Build .hex file from Arduino Software.
Now click Compile button. Compilation yields .hex file, go to the
directory location marked above (may be different location in your
case), this is the location of your .hex file. Copy the file and keep it in a
safe location.
We are turning the Proteus as a Simulator for Arduino with the help
of Arduino Preoteus library files.
Draw the required schematic diagram of Proteus that you would like to
Simulate, you can choose the Arduino board from the menu.
To load .hex file to the Arduino board, just double click on the board
and browse the .hex file in the Program File section.

Lab Task:
Screen Shoots:

Compilation yields .hex file, go to the directory location (may be different


location in your case), this is the location of your .hex file. Copy the file and
keep it in a safe location.
Im using LED blinking program and my schematics is shown below.

Result:

We simulate the circuit and load hex file.finaly the liht blinking which insert
on 13 location.

You might also like