Upload
yong-heui-cho
View
55
Download
2
Embed Size (px)
Citation preview
Introduction to Arduino
Yong Heui Cho @ Mokwon University
Most of slides are referred to and all credits should go to:[1] Cooper Maa, Arduino 介紹 , slideshare, 2012.
2
Basic Computer Design
1. History of Computers
2. Introduction to Arduino
3. Basic Computer Archi-tecture4. Overview of Logic Cir-cuit
3
What is Arduino?
4
Arduino is a Board!
5
Several Arduinos
6
You can connect Sensors and Actuators.
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
7
Arduino Robot
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
8
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
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
9
Arduino IDE
Open Source Cross Platform
Windows Mac OS X Linux
Simple UI (easy to use)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
10
How to Connect Arduino
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
11
On-board LED will start to Blink.
On-board LED on Pin 13
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
12
Setup of Driver Arduino Duemilanove
Automatic setup Arduino Uno and Mega ADK
Manual setup
13
What is Arduino? Open source
Open Source Hardware Open Source Software
Easy to program Simple IDE Simplified C/C++ or Java Language Simple hardware abstraction API
Electronics prototyping platform Base for other things or products
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
14
Overview of Arudino
Open Source + Software IDE + CommunityHardware
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
15
Arduino Derivatives, Shields, and
Sensors
16
Arduino Derivative (I)
UNO
Duemilanove
Mega
Nano
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
17
Arduino Derivative (II)
LilyPad
Mini
Mega ADK
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
18
Arduino and Communication
Arduino BT(Bluetooth)
Arduino Ethernet
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
19
Compatible Arduinos
Freeduino Seeeduino
Boarduino(ladyada) Teensyduino
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
20
Compatible Arduinos
EtherTen USBDroid (USB host)
Zigduino (ZigBee) Ardupilot
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
21
Compatible Arduinos
Metaboard (V-USB) Japanino
InduinoX (On board RTC, RGB LED, IR LED/Recvr, LDR)
Migon Game Kit (On boardLED Matrix, Speaker, Buttons)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
22
Arduino Clones (Non-ATmega)
Digilent Chipkit (PIC32)
LeafLabs Maple (STM32)
Pinguino (PIC18/32)
Netduino (Atmel ARM7, use .NET)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
23
Arduino Clones (Non-ATmega)
FEZ Panda (NXP ARM7, use .NET) Firebird32 (Freescale 32-bit RISC)
mbed (NXP ARM Cortex-M0/M3) LaunchPad (TI MSP430G2xxx)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
24
Ethernet Shield
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
25
Shields
Motor Shield microSD Shield Touch Shield
Input Shield MP3 Shield SEMeter Shield(Smart Meter)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
26
Shields
Buzzer
LCD OLED
VibratorRelay
LED Matrix
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
27
Communication Shields
RFIDEthernet WiFi
Bluetooth GPRS WiFly
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
28
Communication Shields
GPSXBee
RFM12B(Hope RF)
nRF24L01(Nordic)
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
29
Photocell (light sensor) Color sensor Rotation sensor(potentiometer)
Joystick Sound Sensor Water Sensor
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
Sensors
30
Sensors
PIRSharp IR SensorTemperature/Humidity
Ultrasonic CompassTri-Axis Accelerometer
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
31
Sensors
AC Current Sensor Hall Sensor CO2 Sensor
Infrared Receiver Flex Sensor Flame Sensor
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
32
Sensors
IR Thermometer Smoke Detector Pressure
Polar Heart Rate Sensor RTC pH Sensor
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
33
Phone Hardware Interface
Light SensorG-Sensor
Compass
Vibrator
And more:• Proximity Sensor• Temperature sensor• Multi-touch Screen• Trackball• Microphone• and so on
Camera
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.
34
Android + Arduino
□ Courtesy to Cooper Maa, Arduino 介紹 , slideshare, 2012.