Arduino Introduction by coopermaa

Preview:

DESCRIPTION

An overview of Arduino.

Citation preview

1

Arduino 介紹

Speaker: Cooper MaaDate: 2012/07/18

http://coopermaa2nd.blogspot.com

2

Speaker

Cooper Maa PIC/AVR Firmware Programmer

Email: coopermaa77@gmail.com Blog: http://coopermaa2nd.blogspot.com

3

大綱

1. What is Arduino?

2. Variety and Shields and Sensors

3. Applications

4

1. What Is Arduino?

5

Arduino is a board

USB Port

Power Supply

Digital In/Out Pins

Analog Input Pins

Power Pins

Atmega328p

USB to Serial

6

Analog and Digital signals

數位訊號: 1 和 0 兩種不連續的訊號,在 Arduino 裏,通常 1 代表高電壓 5V , 0 代表低電壓 0V ,通常用來表示資料 0 和 1 、「開」和「關」或「通電」和「不通電」的狀態

類比訊號:聲音、影像、光線、溫度都是連續的訊號,稱為類比訊號,大小 / 強度 / 高低可以轉換成電壓的變化

Arduino 有 ADC (Analog to Digital Converter) 會將類比訊號轉成數位資料 (0-1023)

+5V

+5V

0V

0V

7

You can connect Sensors and Actuators

8

You can make a Weather Station

http://bitly.com/xXJne

溫濕度感測器

9

Or make a Siri door lock

Door lock monitor Unlock/lock with Siri SMS Message

http://bitly.com/y8cVX8

10

Even construct an Arduino Robot

And lots of applications we will see later

11

實體互動程式設計

12

Hardware Features (Uno)

Microcontroller ATmega328p

Operating Voltage 5V

Digital I/O Pins 14 (of which 6 provide PWM output)

Analog Input Pins 6

DC current per I/O Pins

40mA

DC current for 3.3V Pin

50mA

Flash Memory 32KB

SRAM 2KB

EEPROM 1KB

Clock Speed 16MHz

ICSP Header In System Programming, used when you want to burn the bootloader, you'll need an AVR-ISP

13

Arduino IDE

Open Source Cross Platform

Windows Mac OS X Linux

Simple UI (Easy to Use)

14

Blink – Hello World

Programming is an easy

job too

15

連接電腦與 Arduino

16

按 Upload 鈕上傳程式Upload

上傳中

17

On board LED will start to blink

On board LED on Pin 13

18

Lots of built-in examples

19

Preinstalled common used libraries

20

What Is Arduino?

Open SourceOpen Source HardwareOpen Source Software

Easy To ProgramSimple IDESimplified C/C++ LanguageSimple Hardware Abstraction API

Electronics Prototyping PlatformA basis for other things or products

21

Who invents Arduino?

Massimo Banzi

Tom Igoe

David Cuartielles

Arduino : The Documentary (2010) 緣起與歷史記錄片

22

Arduino Community

Main Site, Blog, Wiki, Forum and Store

23

Arduino Community: OpenLab Taipei

24

Arduino Community: MOSUT

http://code.google.com/p/mosut/

25

Arduino 唸法

ARRRR, // DWEE, just say "do we" fast /

/ NO, as in no.

”ARRR-DWEE-NO”

26

總結

Open Source + Software IDE + CommunityHardware

27

2. Arduino Variety, Shields and Sensors

28

Arduino Variety

UNO

Duemilanove

Mega

Nano

29

Arduino Variety

LilyPad

Mini

Mega ADK

30

Coming soon

Arduino Leonardo

Arduino Due (Cortex-M3)

31

Arduino and Communication

Arduino BT(Bluetooth)

Arduino Ethernet

32

Compatible Arduinos

Freeduino Seeeduino ( 大陸 )

Boarduino(ladyada) Teensyduino

33

Compatible Arduinos

EtherTen USBDroid (USB host)

Zigduino (ZigBee) Ardupilot

34

Compatible Arduinos

Metaboard (V-USB) Japanino ( 大人的科學出版商 )

InduinoX (On board RTC, RGB LED, IR LED/Recvr, LDR)

Migon Game Kit (On boardLED Matrix, Speaker, Buttons)

35

Arduino Clones (Non-Atmega)

Digilent Chipkit (PIC32)

LeafLabs Maple (STM32)

Pinguino (PIC18/32)

Netduino (Atmel ARM7, use .NET)

36

Arduino Clones (Non-Atmega)

FEZ Panda (NXP ARM7, use .NET) Firebird32 (Freescale 32-bit RISC)

mbed (NXP ARM Cortex-M0/M3) LaunchPad (TI MSP430G2xxx)

37

What Is Arduino Shield?

38

Add-on module to extend arduino’s capabilities.

Also called:

1. daughterboard, or

2. cape

Arduino Shield is…

39

For example: An Ethernet Shield

40

Arduino and EtherShield stacked

41

Shields

Motor Shield microSD Shield Touch Shield

Input Shield Mp3 Shield SEMeter Shield(Smart Meter)

42

Shields

Buzzer

LCD OLED

VibratorRelay

LED Matrix

43

Communication Shields

RFIDEthernet WiFi

Bluetooth GPRS WiFly

44

Communication Shields

GPSXBee

RFM12B(Hope RF)

nRF24L01(Nordic)

45

Sensors

Photocell (light sensor) Color sensor Rotation sensor(potentiometer)

Joystick Sound Sensor Water Sensor

46

Sensors

PIRSharp IR SensorTemperature/Humidity

Ultrasonic Compass ( 電子羅盤 )Tri-Axis Accelerometer

( 三軸加速度計 )

47

Sensors

AC Current Sensor Hall Sensor ( 碰場感應 ) CO2 Sensor

Infrared Receiver Flex Sensor ( 彎曲傳感 ) Flame Sensor ( 火焰感測 )

48

Sensors

IR Thermometer Smoke Detector Pressure

Polar Heart Rate Sensor RTC pH Sensor

49

總結 Lots of Arduino Lots of Shields, and Lots of Sensors

Means lots of possibilities!

50

3. Applications

51

穿戴式科技http://bitly.com/y6kqVo

52

Heart Rate Monitor Interface

53

USB Business Cardhttp://bitly.com/A23qvt 

http://bitly.com/wkQYuB

54

Scratch for Arduinohttp://bitly.com/z1IsLz

55

Home power Monitor

56

OpenEnergyMonitor

57

OpenEnergyMonitor’s Dashboard

58

OpenEneryMonitor Solar PV Monitor

59

Arduino Electric Blinds

http://bitly.com/zfZT3H

Gear Motor

60

Piano Stairs

61

Electronic Drum

http://bitly.com/yFC1M6

62

Servo-electric Guitarhttp://bitly.com/x2ZTdH

63

Soundmachinehttp://bitly.com/ySt3vZ

64

Laser Harp ( 豎琴 )http://bitly.com/yW5ADU

http://bitly.com/xjrPtf

65

Arduino-Sprinklerhttp://bitly.com/wdrPee

66

DIY IRRemote

http://bitly.com/xjiWfv

( 一系列的教學 )

http://bitly.com/w9FCxa 

IRBubble = Relay + IR sensor

67

Thermal Printer

68

Adafruit IoT Printerhttp://vimeo.com/36799362

69

Barcode scanner

70

Pololu 3Pi Robot

http://bitly.com/wagr1H 

71

BoeBot 改裝

Original controller by BasicStamp

72

ArduSpiderhttp://bitly.com/zrjMg2

73

Lego and Arduino

NXShield

http://bitly.com/wLBvY0

74

Motoduino

http://bit.ly/NDtKwQ

75

Robots and Robots

76

ArduCopter

Simulation

http://bitly.com/yiboJM

http://bit.ly/LnU271

77

OpenLRS (Long Range System)

http://bitly.com/yUFJ69

長距離無線通訊模組 ( 最遠可達 4-5 KM)For RC (Radio Controlled) Robot/UAV

78

RepRap 3D Printerhttp://bitly.com/yFrJ5c

79

Items made by Reprap

Child’s shoe

Door handle

Coat hook

Water Filter

80

Reprap Motherboard

Generation 2 & 3: Sanguino (Arduino Compatible)

Generation 1: PIC16F648A

81

MakerBothttp://bitly.com/wBjdEj

82

Items made by MakerBot

資料來源 : 採智科技

83

MakerBot Motherboard

Arduino Mega 1280

84

Makey Makeyhttp://bit.ly/PZ5Vlq

85

Android ADKhttp://bitly.com/zIGouk 

86

ADK 2012http://bit.ly/M924Qz

87

Phone Hardware Interface

Light SensorG-Sensor

Compass – 電子羅盤

Vibrator – 震動馬達

And more:•Proximity Sensor•Temperature sensor•Multi-touch Screen•Trackball•Microphone•…

Camera

88

Android + Arduino

89

還有哪些應用?

90

Arduino Starter Kits

91

Adafruit Arduino 套件

92

Fritzing Starter Kit

93

Seeeduino Grove Starter Kit

94

Seeeduino ADK Dash Kit

95

Prototyping Lab 「邊做邊學」Arduino 的運用實例

作者:小林 茂出版日期: 2012 年 7 月 6日ISBN : 9789866076428語言:繁體中文裝訂:膠裝定價: 680 NTD

96

建置無線感測網路

作者: Robert Faludi譯者:林義翔、劉士達出版日期: 2012 年 3 月 8日ISBN : 9862762977語言:繁體中文裝訂:平裝定價: 580 NTD

97

最簡單的互動設計 Arduino 一試就上手

作者:孫駿榮、吳明展、盧聰勇出版日期: 2010 年 12 月10 日ISBN : 9789862760710語言:繁體中文裝訂:平裝定價: 450 NTD

98

Make 國際中文版

作者:歐萊禮出版社:馥林文化語言:繁體中文裝訂:平裝型態:季刊定價: 380 NTD

99

References

http://arduino.cc/ ITP Physical Computing http://www.ladyada.net http://www.sparkfun.com http://www.arobot.com/shop ( 藝科 ) http://www.openlabtaipei.org/ (Openlab Taipei) http://seeedstudio.com http://coopermaa2nd.blogspot.com

Recommended