Arduino - Introduction
Arduino - Introduction
ARDUIN
O
Parag Narkhede & Shripad Deshpande
Department of Electronics and Telecommunication
Engineering Symbiosis Institute of Technology, Pune
Contents
➢ Embedded System
➢ Microcontroller
➢ Arduino
➢ What it is?
➢ History
➢ Why it is?
➢ Products
➢ Arduino Uno
➢ Arduino Software
➢ Arduino Community
Embedded System
Module Output
Input Processing Module
Module
3
Computer System
Keyboard
Motherboard Display
Mouse
CPU
Memory
Communication Port
Oscillator
Microcontroller
A microcontroller is a computer-on-a-chip
and many more . . .
5
AVR Microcontroller
ARDUINO uses
Source: http://www.atmel.com/products/microcontrollers/default.aspx 6
What is Arduino?
Arduino History
Why Arduino?
contd...
Why Arduino?
Arduino Products
11
contd...
Arduino Products
12
Arduino UNO
• The Arduino UNO is the most used board in the family of Arduino
boards.
• If you are starting out with Arduino, this is the board to get.
13
Meet Arduino Uno
14
Atmega328 Microcontroller
• High Performance, Low Power Atmel®AVR® 8-Bit
Microcontroller Family
• RISC Architecture
• Memory
• 32 KB flash memory
• 2 KB of SRAM
• Input and Output
• 14 digital input – output pins
• Peripherals
• 10 bit, 6 channel Analog to digital converter
• 16 bit timer and counter
• Real Time Counter
• Programmable Serial USART
• Serial Peripheral Interface
• Two wire Interface
• Operating Voltage
• 1.8 - 5.5V15
Technical Specifications - UNO
Microcontroller ATmega328P
Operating Voltage 5V
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
16
Getting Started
• Check out:
http://arduino.cc/en/Guide/HomePage 1.
Download & install the Arduino environment (IDE) (not
needed in lab)
2. Connect the board to your computer via the USB
cable
3. Install the drivers (if not installed automatically)
4. Launch the Arduino IDE
5. Select your board
6. Select your serial port
7. Write your program
8. Upload the program
9. Run the program !
17
Arduino IDE
editor message area
Verify / Compile:
checks your code for errors
Upload:
compiles your code and
uploads it to Arduino Board New:
creates a new sketch
Open:
open a menu of all the
sketches in your sketchbook
Save:
saves your sketch
Serial Monitor:
opens the serial monitor
editor: area where you write
the code
Message area: gives
feedbackwhile saving, exporting
and also dispays errors
18
Arduino IDE
• The main features you need to know about are: •
Code area: This is where you will type all your code
• Info panel: This will show any errors during compiling
or uploading code to your Arduino
• Verify: This allows you to compile your code to code
the Arduino understands. Any mistakes you have made
in the syntax of your code will be show in the info
pannel
• Upload: This does the same as verify but will then
send your code to your Arduino if the code is verified
successfully
• Serial Monitor: This will open a window that allows
you to send text to and from an Arduino. We will use
this feature in later lectures.
19
}
void loop()
{
// put your main code here, to run
repeatedly:
22
Arduino Community
• The official Arduino website www.arduino.cc
• Provides tutorials, references, designs
• Blog: https://blog.arduino.cc/
• Forum: https://forum.arduino.cc/
23