INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board...

13
ARDUINO INTRODUCTION TO College Of Engineering Attingal

Transcript of INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board...

Page 1: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

ARDUINO

INTRODUCTION TO

College Of Engineering Attingal

Page 2: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 3: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 4: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

Arduino Hardware

College Of Engineering Attingal

Page 5: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 6: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 7: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

College Of Engineering Attingal

MEGA LILYPAD

MININANO 43mm x 18mm

Page 8: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 9: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 10: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 11: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 12: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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

Page 13: INTRODUCTION TO ARDUINO - 123seminarsonly.com · INTRODUCTION TO College Of ... •Arduino board consists of an 8-bit Atmel AVR microcontroller. ... ATmega16 8 or ATmega32 8 16/32

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