By Asst.Prof.D.R.Bhise Electrical Engineering Department Matoshri College of Engineering & Research Center, Nashik
1. Subject: Electrical and Electronics Engineering
Unit01:Introduction to Arduino
By
Asst.Prof.D.R.Bhise
Electrical Engineering Department
Matoshri College of Engineering & Research
Center, Nashik
5. Introduction to Arduino IDE (Contd.)
Arduino is an open source physical computing platform based on a simple
input output board.
Arduino is microcontroller board , contain on board power supply , USB , port
to communicate with PC , and Atmega microcontroller chip.
Arduino is a Computer and software company that design and manufacture
microcontroller kits for building digital devices.
The Arduino Integrated Development Environment (IDE) or Arduino
Software contains a text editor for writing code, a message area, a text
console, a toolbar with buttons for common functions and a series of menus.
It connects to the Arduino and Genuino hardware to upload programs and
communicate with them.
7. Arduino IDE Features
It is a Multiplatform environment it can run on windows, Mac and Linux.
It is open source hardware and software
The hardware is cheap.
User friendly interface.
You program it via USB cable not a serial port
There is active community at user.
Arduino project was developed in an educational environment helpful
for new comer.
There are many different types of Arduino board available we can focus
on Arduino Uno.
9. Arduino Uno board features
Microcontroller Atmega 328P
Input voltage limit 6 to 20 (recommended 7 to 12 V)
Operating voltage 5V & 3.3V
Digital input/output pins 14 (of which 6 provide PWM output )
Analog pins 6
DC Current per I/O pins 40 mA
DC Current for 3.3 V pin 50mA
Flash memory 32 KB (Atmega 328P)
Boot loader requirement 512 B
SRAM 1 KB (Atmega 328P)
EEROM 2 KB (Atmega 328P)
Clock speed 20 MHz
11. Arduino Uno Pins Description
PIN NO Pin Description
1 Power USB Arduino Board can be Powered by using the USB
cable from your Computer.
2 Power (Barrel Jack) Arduino boards can be powered directly from
the AC Mains power supply by Connecting it
to the Barrel Jack .
3 Voltage Regulator The function of VR is to control the Voltage
given to the Arduino board . Or Stabilize the
Voltage.
4 Crystal Oscillator The Crystal Oscillator helps Arduino dealing
with time issue.
5 & 17 Reset Pin You Can Reset Your Arduino Board means start
new your program from Beginning . (5)
External Reset Button. (17) on Board Rest
Button .
12. Arduino Uno Pins Description (Contd.)
PIN NO Pin Description
3.3 V (6) Supply 3.3 Output volt
5 V (7) Supply 5 Output volt
8 Ground There are several GND pins on the Arduino
any one used and Ground Circuit .
9 (Vin) This Pin also can be used to power the
Arduino board from an external power source
like Ac Mains .
10 Analog Pin
The Arduino UNO Board has Six analog input
pins A0 To A5. the Function of these pin read
signal from Analog and Convert into Digital
from .
13. Arduino Uno Pins Description (Contd.)
PIN NO Pin Description
11 M C
Each Arduino board has its own MC. You Can
Assume it as brain of your Board.
12 In Circuit Serial
Programming ICSP
A Tiny Programming header for the Arduino
consisting of MOSI (Master Out Slave In) ,
MISO (Master In Slave Out ),RESET, VCC.
13
Just Checking your Arduino Board start or not
With LED Pins.
15 D I/O
In Arduino UNO board has 14 Digital I/O. Out
of 14 , 6 PIN PWM
16 AREF
AREF stand for Analog Reference .
14 Tx (Transmit) and Rx (Receive)
14. Atmega328P Microcontroller Feature
Operating freq 20 MHz.
Operating Tem -40C to +105 C.
Microcontroller 328P
SRAM (Bytes) 2 KB
Flash (Bytes) 32 KB
8 bit timer/counter 2
16 bit timer /counter 1
USART 1
Digital I/O pins 14 (6 pins PWM)
Input voltage limit 6 To 20 V
Operating voltage 1.8 V To 5.5 V
ADC channels 8
EEPROM 1K
GPIO pins 23
15. Atmega328P Port Diagram
Atmega 328P it consist of
Three Multifunctional port.
In that P stand for Pico power.
operating voltage 5V.
20 mA current DC.
clock speed 100 MHz.
Memory 32KB flash memory.
Port (D) - 8 Bits
Port (C) - 7 Bits
Port (B)- 8 Bits
16. Arduino Software (IDE) Supports
Sketches- Programs written using
Arduino Software (IDE) are called
sketches.
Verify: Checks your code for errors
compiling it.
Upload: Compiles your code and
uploads it to the configured board. See
uploading below for details.
New: Creates a new sketch.
Open: Presents a menu of all the
sketches in your sketchbook. Clicking
one will open it within the current
window overwriting its content.
Save: Saves your sketch.
17. Arduino Software (IDE) Supports (Contd.)
Serial Monitor: Opens the serial monitor.
File:- File menu includes options such as Open,
Recent Close, Save, Save as..., Page Setup, Print,
Preferences, Quit.
Edit:- Edit menu includes options such as Undo/
Redo, Cut, Copy, Copy for Forum, Copy as HTML,
Paste, Select All, Comment/ Uncomment, Increase/
Decrease Indent, Find, Find Next, Find Previous
Sketch:- Verify/Compile, Upload, Upload Using
Programmer, Export Compiled Binary, Show Sketch
Folder, Include Library, Add File.
Tools :- Auto Format, Archive Sketch, Serial Monitor,
Board Port Programmer, Burn Boot loader
Language Support: - Arduino Software (IDE) has
been translated into 30+ different languages. By
default, the IDE loads in the language
Help
18. Summary
In this video we are studied
Introduction to Arduino IDE.
Different types of Arduino board.
Arduino UNO board.
Pin description of Arduino UNO board.
Atmega 328P Microcontroller.
Port diagram of Atmega 328P Microcontroller.
19. Assignment Questions
Why we used Arduino.
Explain Arduino UNO board.
How many analog & Digital Arduino UNO board.
Which types of Microcontroller used in Arduino UNO board.