Sie sind auf Seite 1von 7

RAJSHAHI UNIVERSITY OF ENGINEERING &

TECHNOLOGY

Course No. EEE-4210

EXP NO. 01

Date: 14.01.2019

EXP NAME: Introduction to Arduino development board & Proteus simulation


software.

Submitted By-

MD. KHALED ALAM

ROLL: 141063

DEP: EEE

SEC: B
Experiment Name: Introduction to Arduino development board & Proteus
simulation software.

Objectives: This experiment is to know about Arduino development board, IDE and
Proteus software.

Introduction: Arduino is an open-source electronics 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 on Wiring), and the
Arduino Software (IDE), based on Processing.

Over the years Arduino has been the brain of thousands of projects, from everyday
objects to complex scientific instruments. A worldwide community of makers -
students, hobbyists, artists, programmers, and professionals - has gathered around
this open-source platform, their contributions have added up to an incredible amount
of accessible knowledge that can be of great help to novices and experts alike.

Features ( Arduino UNO):


 An open source design: The advantage of it being open source is that it has a
large community of people using and troubleshooting it. This makes it easy to
find someone to help you debug your projects.
 An easy USB interface: The chip on the board plugs straight into your USB
port and registers on your computer as a virtual serial port. This allows you to
interface with it as through it were a serial device. The benefit of this setup is
that serial communication is an extremely easy (and time-tested) protocol, and
USB makes connecting it to modern computers really convenient.
 Very convenient power management and built-in voltage regulation: You can
connect an external power source of up to 12v and it will regulate it to both
5v and 3.3v. It also can be powered directly off of a USB port without any
external power.
 An easy-to-find, and dirt cheap, microcontroller "brain." The ATmega328
chip retails for about $2.88 on Digikey. It has countless number of nice
hardware features like timers, PWM pins, external and internal interrupts, and
multiple sleep modes. Check out the official datasheet for more details.
 A 16mhz clock. This makes it not the speediest microcontroller around, but
fast enough for most applications.
 32 KB of flash memory for storing your code.
 13 digital pins and 6 analog pins. These pins allow you to connect external
hardware to your Arduino. These pins are key for extending the computing
capability of the Arduino into the real world. Simply plug your devices and
sensors into the sockets that correspond to each of these pins and you are good
to go.
 An ICSP connector for bypassing the USB port and interfacing the Arduino
directly as a serial device. This port is necessary to re-bootload your chip if it
corrupts and can no longer talk to your computer.
 An on-board LED attached to digital pin 13 for fast an easy debugging of
code.
 And last, but not least, a button to reset the program on the chip.

Pin diagram of Arduino UNO:

Fig: Arduino UNO


IDE: Before starting anything with the Arduino, it’s needed to download and install
the Arduino IDE (integrated development environment). From this point on we will
be referring to the Arduino IDE as the Arduino Programmer.

The Arduino Programmer is based on the Processing IDE and uses a variation of the
C and C++ programming languages.

Fig: IDE window

There are two parts of IDE program:

1. Void setup: Here all the pin modes are written. Any value needed for
initialization are given here.
2. Void loop: Here the main program is written by. This program will continue
repeatedly.

Introduction to Proteus:

It is a software suite containing schematic, simulation as well as PCB designing.


 ISIS is the software used to draw schematics and simulate the circuits in real
time. The simulation allows human access during run time, thus providing real
time simulation.
 ARES is used for PCB designing. It has the feature of viewing output in 3D
view of the designed PCB along with components.
 The designer can also develop 2D drawings for the product.

Features:

ISIS has wide range of components in its library. It has sources, signal generators,
measurement and analysis tools like oscilloscope, voltmeter, ammeter etc., probes
for real time monitoring of the parameters of the circuit, switches, displays, loads
like motors and lamps, discrete components like resistors, capacitors, inductors,
transformers, digital and analog Integrated circuits, semi-conductor switches, relays,
microcontrollers, processors, sensors etc.

ARES offers PCB designing up to 14 inner layers, with surface mount and through
hole packages. It is embedded with the foot prints of different category of
components like ICs, transistors, headers, connectors and other discrete components.
It offers Auto routing and manual routing options to the PCB Designer. The
schematic drawn in the ISIS can be directly transferred ARES.

Example: A triangular pattern is created by three color (red,green,blue) led by


Arduino program. And it is simulated in Proteus.

IDE Code:

const int b1=6;


const int b2=7;
const int b3=8;
void setup() {
pinMode(b1,OUTPUT);
pinMode(b2,OUTPUT);
pinMode(b3,OUTPUT);
}
void loop() {
digitalWrite(b1,HIGH);
delay(500);
digitalWrite(b1,LOW);
digitalWrite(b2,HIGH);
delay(500);
digitalWrite(b2,LOW);
digitalWrite(b3,HIGH);
delay(500);
digitalWrite(b3,LOW);

Fig: Network in Proteus

Results:
Discussion: In this experiment objectives are done successfully. An IDE code has
been successfully attached in Proteus simulation software. From now, any kind of
project can be simulated in this software which are based on Arduino. Arduino
development board is also introduced in details. So, it was a successful experiment.

Das könnte Ihnen auch gefallen