INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board...
Transcript of INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board...
ARDUINO
INTRODUCTION TO
College Of Engineering Attingal
College Of Engineering Attingal
The word “Arduino” can mean 3 things
A physical piece
of hardware
A programming
environment
A community
&
philosophy
ie Forums & examples
What is Arduino?
“Arduino is an open-source physical
computing platform .
based on a simple i/o board and a
development environment that implements
the Processing / Wiring language.
Arduino can be used to develop stand-alone
interactive objects or can be connected to
software on your computer.“ ( www.arduino.cc)
College Of Engineering Attingal
Arduino Hardware
College Of Engineering Attingal
College Of Engineering Attingal
•Arduino board consists of an 8-bit Atmel AVR microcontroller.
•Arduinos use the megaAVR series of chips(ATmega8
,ATmega168 ,ATmega328 , and ATmega1280)
•5 volt linear regulator
•16 MHz crystal oscillator.
•Serial Arduinos are programmed over an RS-232 serial
connection.
• USB Arduinos include an inverter circuit
(FTDI FT232) to convert between RS-232-level
andTTL-level signals and viceversa.
HARDWARE
College Of Engineering Attingal
•There are many versions of Arduino board. versions differ by size,
Microcontroller, etc
•Arduino Duemilanove, which is the simplest one to use and the best one for
learning on.
Arduino ProcessorFlash
KiB
EEPROM
KiB
SRAM
KiB
Digital I/O
pins
...with
PWM
Analog
input
pins
USB
Interface
type
Dimension
s
inches
Dimension
s
mm
DiecimilaATmega16
816 0.5 1 14 6 6 FTDI 2.7" x 2.1"
68.6mm x
53.3mm
Duemilano
ve
ATmega16
8/328P16/32 0.5/1 1/2 14 6 6 FTDI 2.7" x 2.1"
68.6mm x
53.3mm
UnoATmega32
8P32 1 2 14 6 6
ATmega8U
22.7" x 2.1"
68.6mm x
53.3mm
MegaATmega12
80128 4 8 54 14 16 FTDI 4" x 2.1"
101.6mm
x 53.3mm
Mega2560ATmega25
60256 4 8 54 14 16
ATmega8U
24" x 2.1"
101.6mm
x 53.3mm
FioATmega32
8P32 1 2 14 6 8 None 1.6" x 1.1"
40.6mm x
27.9mm
Nano
ATmega16
8 or
ATmega32
8
16/32 0.5/1 1/2 14 6 8 FTDI1.70" x
0.73"
43mm x
18mm
LilyPad
ATmega16
8V or
ATmega32
8V
16 0.5 1 14 6 6 None 2" ø 50mm ø
DIFFERENT FLAVOURS
College Of Engineering Attingal
MEGA LILYPAD
MININANO 43mm x 18mm
Arduino footprint-compatible
boards
College Of Engineering Attingal
The 'TwentyTen' is an Arduino-compatible
microcontroller board, based on the
Duemilanove, with some improvements,
including a prototyping area, rearranged LEDs,
mini-USB connector, and altered pin 13 circuitry
The 'Illuminato Genesis', a board that uses
an ATmega644 instead of an ATmega168.
This provides 64 kB of flash, 4 kB of RAM
and 42 general I/O pins
Few examples
Boards are fully or almost fully compatible with both the Arduino hardware and
software, including being able to accept "shields". But differ on features and HW
Shields Printed circuit boards that sit atop an Arduino.
Plug into the normally supplied pin-headers of Arduino .
These are expansions to the base Arduino.
For example: Arduino Ethernet Shield,XBee Shield,TouchShield etc
College Of Engineering Attingal
Software
College Of Engineering Attingal
Integrated Development
Environment (IDE) for
programming.(Is a special program running on your
computer that allows you to write
sketches(programs) for the Arduino
board in a simple language )
•The Arduino IDE is a cross-
platform application
•The language itself is based in C
• Like a text editor
•code editor with features such
as syntax highlighting, brace matching
•View/write/edit sketches
•Verify the program by compiling
•Then upload/burn program
into Arduino board.
•IDE Details coming soon in next
classes
Arduino
Philosophy & Community
Open Source Physical Computing Platform
“open source hardware”
open source: free to inspect & modify
physical computing. err, what? ubiquitous
computing, smart objects...
Community-built
Examples wiki (the “playground”) editable by
anyone
Forums with lots of helpful people
College Of Engineering Attingal
Why Arduino?
It is Open Source, both in terms of Hardware and Software.
It is cheap, the hardware can be built from components or a prefab board can be purchased for approx 1000 rs
It can communicate with a computer via serial connection over USB /Bluetooth.
It can be powered from USB or standalone DC power.
College Of Engineering Attingal
Why Arduino?
It can run standalone from a computer (chip is programmable) and it has memory (a small amount).
It can work with both Digital and Analogue electronic signals. Sensors and Actuators.
You can make cool stuff! Some people are even making simple robots, and we all know robots are just cool.
College Of Engineering Attingal