SlideShare une entreprise Scribd logo
1  sur  52
photo:  http://flic.kr/p/5XwBFB BURO Arduino Workshop
Arduino 	…is an open-source electronics prototyping platform based on flexible,  easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. http://arduino.cc
Physical Computing 	…is an approach to learning how humans communicate through computers that starts by considering how humans express themselves physically. - Tom Igoe http://www.tigoe.net/pcomp/blog/archives/notes/000169.shtml
[object Object],http://www.billverplank.com/Lecture/
Embedded Systems 	…are computer systems designed to perform one or a few dedicated functions. They are embedded as part of a complete device often including hardware and mechanical parts. In contrast, a general-purpose computer, such as a personal computer, is designed to be flexible and to meet a wide range of an end-user's needs. Embedded systems control many of the common devices in use today.. - Smart folks at Wikipedia http://en.wikipedia.org/wiki/Embedded_systems
Why Arduino? Inexpensive No need for external programmers, compiler licenses etc. Simple, clear programming environment All done in a simple IDE, no command line voodoo Cross-platform Works uniformly across Windows, Linux, MacOS Open Source! Both software and hardwre
Hardware Atmel Microcontroller ATmega328 (Duemilanove) / ATmega1280(Mega) ATmega8/ATmega168 on older versions ATmega644 for Sanguino Serial Bootloader STK500 compatible Support Circuitry Reset, Voltage Regulator, etc… USB/Serial Connectivity
Anatomy of an Arduino Board digital pins USB to serial converter microcontroller (the brain!) power circuitry (voltage regulator and the clever power source selection bit) analog pins power pins
Official Arduino Hardware http://arduino.cc/en/Main/Hardware
“Shield Compatible” Hardware (1) (2) (3) [1] Freeduino - http://www.freeduino.org/freeduino_open_designs.html [2] Illuminato - http://www.liquidware.com/shop/show/ILL/Illuminato [3] Seeeduino - http://www.seeedstudio.com/depot/seeeduino-v328-fully-assembledatmega-328-p-439.html
“Bootloader Compatible” Hardware (3) (2) (1) (4) [1] Oak Micros om328p - http://oakmicros.com/content/om328p.html [2] Modified Pico - http://www.modifiedelectronics.com/mp-01.php [3] Boarduino - http://www.ladyada.net/make/boarduino/index.html [4] Sanguino - http://sanguino.cc/
Alternative form factors  ,[object Object],http://bit.ly/7QMkbx One-Chip Arduino http://bit.ly/WXqeU
There’s more! Official boards http://arduino.cc/en/Main/Boards Arduino-like Boards http://www.arduino.cc/playground/Main/SimilarBoards Other ‘duinos http://www.freeduino.org/duino.html ...and possibly others
Arduino Shields (3) (1) (4) (2) [1] Adafruit Motor Shield - http://ladyada.net/make/mshield/index.html [2] Nu Electronics LCD shield - http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=2 [3] Arduino Ethernet Shield - http://arduino.cc/en/Main/ArduinoEthernetShield [4] Adafruit Wave Shield - http://ladyada.net/make/waveshield/index.html
Again, there’s more! http://www.arduino.cc/playground/Main/SimilarBoards Look under ‘Shields’ Some cool ones: Liquidware TouchShield http://www.liquidware.com/shop/show/TS/TouchShield+Stealth BatsocksTellyMate Shield http://www.batsocks.co.uk/products/Shields/TellyMate%20Shield.htm tinker.it RFID shield http://tinker.it/en/Teaching/RFID
Arduino Bar, Ivrea(from Massimo Banzi’s slides)
Big Computer   vs.  Tiny Computer Dell Precision T1500 Atmel ATMEGA328P CPU Speed: 2.93GHz Quad-core! RAM:  16GB Storage: 2TB I/O: USB, Firewire, Serial, PS/2, RJ-45, Audio, etc. ,[object Object]
Not Quad-core
RAM:  2KB
Storage:
32KB Program Memory
1KB EEPROM
I/O:
Up to 23 generic I/O
6 of them ‘analog-capable’
UART/SPI/I2C, etc.,[object Object]
Sensors Temperature Light Humidity Pressure Distance Touch/‘Knock’ Rotation
Motors DC Motors Servos Steppers Solenoids Hydraulics Actuators
“Modules” Bluetooth http://www.sparkfun.com/commerce/product_info.php?products_id=582 Character LCD http://www.oomlout.co.uk/lcd-display-16-x-2-p-212.html GPS http://www.sparkfun.com/commerce/product_info.php?products_id=465
BREADBOARDS ARE COOL!
The BreadBoard! * Drawn using the new Fritzing ( http://fritzing.org )
Arduino Software Based on avr-gcctoolchain and the Processing IDE. Code editor, programming tools and serial terminal all in one place.
Arduino Language Simplified C/C++ Based on the Wiring Project http://wiring.org.co Peripheral Libraries LCD, sensors, I2C, etc
Useful functions pinMode() – set a pin as input or output digitalWrite() – set a digital pin high/low digitalRead() – read a digital pin’s state analogRead() – read an analog pin analogWrite() – write an “analog” PWM value delay() – wait an amount of time millis() – get the current time http://arduino.cc/en/Reference/Extended
Example: Button
Example: SerialDisplay
Arduino Community http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl http://www.arduino.cc/playground/
Resistor TheHydraulicAnalogy Capacitor Wire Diode Transistor http://en.wikipedia.org/wiki/Hydraulic_analogy
Resistors http://flic.kr/p/EDuqt
Resistors Parallel Connection Series Connection MAKE Presents: The Resistor - http://youtube.com/watch?v=-td7YT-Pums
Diodes http://bit.ly/3f5YQt
Diodes MAKE Presents: The Diode - http://youtube.com/watch?v=AqzYsuTRVRc
Light Emitting Diodes http://flic.kr/p/38DLnC
LEDs MAKE Presents: The LED - http://youtube.com/watch?v=P3PDLsJQcGI
LED Resistor Calculation Let’s assume we have a 9V source… R = V / I R = (9-3.4) / (20*10-3) R = 280 Ω Nearest standard value is 330 Ω List of standard resistor values: http://www.logwell.com/tech/components/resistor_values.html
Ohm’s Law V = Voltage I = Current R = Resistance V I R V = Current * Resistance I = Voltage / Resistance R = Voltage / Current
Capacitors http://flic.kr/p/EDtRo
Capacitors Series Connection Parallel Connection MAKE Presents: The Capacitor - http://youtube.com/watch?v=ZYH9dGl4gUE
Transistors http://flic.kr/p/qjbnc
Transistors MAKE Presents: The Transistor - http://youtube.com/watch?v=-td7YT-Pums

Contenu connexe

Tendances

Tendances (20)

Arduino Robotics workshop day2
Arduino Robotics workshop day2Arduino Robotics workshop day2
Arduino Robotics workshop day2
 
Introduction to Arduino and Circuits
Introduction to Arduino and CircuitsIntroduction to Arduino and Circuits
Introduction to Arduino and Circuits
 
Arduino
ArduinoArduino
Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Intro arduino English
Intro arduino EnglishIntro arduino English
Intro arduino English
 
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 4 - Interactive Media CS4062 Semester 2 2009
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
 
Kernel Recipes 2015: Representing device-tree peripherals in ACPI
Kernel Recipes 2015: Representing device-tree peripherals in ACPIKernel Recipes 2015: Representing device-tree peripherals in ACPI
Kernel Recipes 2015: Representing device-tree peripherals in ACPI
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino Robotics workshop Day1
Arduino Robotics workshop Day1Arduino Robotics workshop Day1
Arduino Robotics workshop Day1
 
IOT Talking to Webserver - how to
IOT Talking to Webserver - how to IOT Talking to Webserver - how to
IOT Talking to Webserver - how to
 
Chiptune Music
Chiptune MusicChiptune Music
Chiptune Music
 
Arduino Introduction by coopermaa
Arduino Introduction by coopermaaArduino Introduction by coopermaa
Arduino Introduction by coopermaa
 
Arduino: Arduino lcd
Arduino: Arduino lcdArduino: Arduino lcd
Arduino: Arduino lcd
 
Introduction to Arduino Programming
Introduction to Arduino ProgrammingIntroduction to Arduino Programming
Introduction to Arduino Programming
 
Internet Technology for the Commodore 64
Internet Technology for the Commodore 64Internet Technology for the Commodore 64
Internet Technology for the Commodore 64
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 

Similaire à BURO Arduino Workshop

Intro to arduino
Intro to arduinoIntro to arduino
Intro to arduino
José Faria
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
zvikapika
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2
Michael Stal
 

Similaire à BURO Arduino Workshop (20)

503
503503
503
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 
Getting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitGetting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer Kit
 
Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of things
 
Controlling robots using javascript
Controlling robots using javascriptControlling robots using javascript
Controlling robots using javascript
 
Intro to arduino
Intro to arduinoIntro to arduino
Intro to arduino
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2Oop 2014 embedded systems with open source hardware v2
Oop 2014 embedded systems with open source hardware v2
 
USB 4-8 Channel Relay Board
USB 4-8 Channel  Relay BoardUSB 4-8 Channel  Relay Board
USB 4-8 Channel Relay Board
 
What are the different types of arduino boards
What are the different types of arduino boardsWhat are the different types of arduino boards
What are the different types of arduino boards
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
arduino.pdf
arduino.pdfarduino.pdf
arduino.pdf
 
Introduction to programming AVR microcontrollers
Introduction to programming AVR microcontrollersIntroduction to programming AVR microcontrollers
Introduction to programming AVR microcontrollers
 
Arduino Forensics
Arduino ForensicsArduino Forensics
Arduino Forensics
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 
Arduino projects list about 2381 arduino list of projects use arduino for p...
Arduino projects list   about 2381 arduino list of projects use arduino for p...Arduino projects list   about 2381 arduino list of projects use arduino for p...
Arduino projects list about 2381 arduino list of projects use arduino for p...
 
Ardunio
ArdunioArdunio
Ardunio
 
Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Multi Sensory Communication 1/2
Multi Sensory Communication 1/2
 

Plus de Omer Kilic

Fast and Furious: Overclocking chips for fun and profit
Fast and Furious: Overclocking chips for fun and profitFast and Furious: Overclocking chips for fun and profit
Fast and Furious: Overclocking chips for fun and profit
Omer Kilic
 
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing WorldCloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
Omer Kilic
 
Taking Back Embedded: The Erlang Embedded Framework
Taking Back Embedded: The Erlang Embedded FrameworkTaking Back Embedded: The Erlang Embedded Framework
Taking Back Embedded: The Erlang Embedded Framework
Omer Kilic
 
Erlang Embedded — Concurrent Blinkenlights and More!
Erlang Embedded — Concurrent Blinkenlights and More!Erlang Embedded — Concurrent Blinkenlights and More!
Erlang Embedded — Concurrent Blinkenlights and More!
Omer Kilic
 

Plus de Omer Kilic (13)

Bare Metal from a Hardware Perspective: Embedded Frameworks & Build Systems
Bare Metal from a Hardware Perspective: Embedded Frameworks & Build SystemsBare Metal from a Hardware Perspective: Embedded Frameworks & Build Systems
Bare Metal from a Hardware Perspective: Embedded Frameworks & Build Systems
 
Gearing up for Volume Manufacturing
Gearing up for Volume ManufacturingGearing up for Volume Manufacturing
Gearing up for Volume Manufacturing
 
The Process of Shipping Hardware Products
The Process of Shipping Hardware ProductsThe Process of Shipping Hardware Products
The Process of Shipping Hardware Products
 
Confusion of Things — The IoT Hardware Kerfuffle
Confusion of Things — The IoT Hardware KerfuffleConfusion of Things — The IoT Hardware Kerfuffle
Confusion of Things — The IoT Hardware Kerfuffle
 
Fast and Furious: Overclocking chips for fun and profit
Fast and Furious: Overclocking chips for fun and profitFast and Furious: Overclocking chips for fun and profit
Fast and Furious: Overclocking chips for fun and profit
 
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing WorldCloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
Cloud, Distributed, Embedded: Erlang in the Heterogeneous Computing World
 
Taking Back Embedded: The Erlang Embedded Framework
Taking Back Embedded: The Erlang Embedded FrameworkTaking Back Embedded: The Erlang Embedded Framework
Taking Back Embedded: The Erlang Embedded Framework
 
Erlang Embedded — Concurrent Blinkenlights and More!
Erlang Embedded — Concurrent Blinkenlights and More!Erlang Embedded — Concurrent Blinkenlights and More!
Erlang Embedded — Concurrent Blinkenlights and More!
 
The Actor Model applied to the Raspberry Pi and the Embedded Domain
The Actor Model applied to the Raspberry Pi and the Embedded DomainThe Actor Model applied to the Raspberry Pi and the Embedded Domain
The Actor Model applied to the Raspberry Pi and the Embedded Domain
 
Interfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the WorldInterfacing the Raspberry Pi to the World
Interfacing the Raspberry Pi to the World
 
From Breadboard to Finished Product
From Breadboard to Finished ProductFrom Breadboard to Finished Product
From Breadboard to Finished Product
 
Introduction to XMOS Software Defined Silicon Technology
Introduction to XMOS Software Defined Silicon TechnologyIntroduction to XMOS Software Defined Silicon Technology
Introduction to XMOS Software Defined Silicon Technology
 
Beer Bottle Night Lamp
Beer Bottle Night LampBeer Bottle Night Lamp
Beer Bottle Night Lamp
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

BURO Arduino Workshop

  • 1. photo: http://flic.kr/p/5XwBFB BURO Arduino Workshop
  • 2. Arduino …is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. http://arduino.cc
  • 3. Physical Computing …is an approach to learning how humans communicate through computers that starts by considering how humans express themselves physically. - Tom Igoe http://www.tigoe.net/pcomp/blog/archives/notes/000169.shtml
  • 4.
  • 5. Embedded Systems …are computer systems designed to perform one or a few dedicated functions. They are embedded as part of a complete device often including hardware and mechanical parts. In contrast, a general-purpose computer, such as a personal computer, is designed to be flexible and to meet a wide range of an end-user's needs. Embedded systems control many of the common devices in use today.. - Smart folks at Wikipedia http://en.wikipedia.org/wiki/Embedded_systems
  • 6. Why Arduino? Inexpensive No need for external programmers, compiler licenses etc. Simple, clear programming environment All done in a simple IDE, no command line voodoo Cross-platform Works uniformly across Windows, Linux, MacOS Open Source! Both software and hardwre
  • 7.
  • 8.
  • 9. Hardware Atmel Microcontroller ATmega328 (Duemilanove) / ATmega1280(Mega) ATmega8/ATmega168 on older versions ATmega644 for Sanguino Serial Bootloader STK500 compatible Support Circuitry Reset, Voltage Regulator, etc… USB/Serial Connectivity
  • 10. Anatomy of an Arduino Board digital pins USB to serial converter microcontroller (the brain!) power circuitry (voltage regulator and the clever power source selection bit) analog pins power pins
  • 11. Official Arduino Hardware http://arduino.cc/en/Main/Hardware
  • 12. “Shield Compatible” Hardware (1) (2) (3) [1] Freeduino - http://www.freeduino.org/freeduino_open_designs.html [2] Illuminato - http://www.liquidware.com/shop/show/ILL/Illuminato [3] Seeeduino - http://www.seeedstudio.com/depot/seeeduino-v328-fully-assembledatmega-328-p-439.html
  • 13. “Bootloader Compatible” Hardware (3) (2) (1) (4) [1] Oak Micros om328p - http://oakmicros.com/content/om328p.html [2] Modified Pico - http://www.modifiedelectronics.com/mp-01.php [3] Boarduino - http://www.ladyada.net/make/boarduino/index.html [4] Sanguino - http://sanguino.cc/
  • 14.
  • 15. There’s more! Official boards http://arduino.cc/en/Main/Boards Arduino-like Boards http://www.arduino.cc/playground/Main/SimilarBoards Other ‘duinos http://www.freeduino.org/duino.html ...and possibly others
  • 16. Arduino Shields (3) (1) (4) (2) [1] Adafruit Motor Shield - http://ladyada.net/make/mshield/index.html [2] Nu Electronics LCD shield - http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=2 [3] Arduino Ethernet Shield - http://arduino.cc/en/Main/ArduinoEthernetShield [4] Adafruit Wave Shield - http://ladyada.net/make/waveshield/index.html
  • 17. Again, there’s more! http://www.arduino.cc/playground/Main/SimilarBoards Look under ‘Shields’ Some cool ones: Liquidware TouchShield http://www.liquidware.com/shop/show/TS/TouchShield+Stealth BatsocksTellyMate Shield http://www.batsocks.co.uk/products/Shields/TellyMate%20Shield.htm tinker.it RFID shield http://tinker.it/en/Teaching/RFID
  • 18. Arduino Bar, Ivrea(from Massimo Banzi’s slides)
  • 19.
  • 25. I/O:
  • 26. Up to 23 generic I/O
  • 27. 6 of them ‘analog-capable’
  • 28.
  • 29. Sensors Temperature Light Humidity Pressure Distance Touch/‘Knock’ Rotation
  • 30. Motors DC Motors Servos Steppers Solenoids Hydraulics Actuators
  • 31. “Modules” Bluetooth http://www.sparkfun.com/commerce/product_info.php?products_id=582 Character LCD http://www.oomlout.co.uk/lcd-display-16-x-2-p-212.html GPS http://www.sparkfun.com/commerce/product_info.php?products_id=465
  • 33. The BreadBoard! * Drawn using the new Fritzing ( http://fritzing.org )
  • 34. Arduino Software Based on avr-gcctoolchain and the Processing IDE. Code editor, programming tools and serial terminal all in one place.
  • 35. Arduino Language Simplified C/C++ Based on the Wiring Project http://wiring.org.co Peripheral Libraries LCD, sensors, I2C, etc
  • 36. Useful functions pinMode() – set a pin as input or output digitalWrite() – set a digital pin high/low digitalRead() – read a digital pin’s state analogRead() – read an analog pin analogWrite() – write an “analog” PWM value delay() – wait an amount of time millis() – get the current time http://arduino.cc/en/Reference/Extended
  • 40. Resistor TheHydraulicAnalogy Capacitor Wire Diode Transistor http://en.wikipedia.org/wiki/Hydraulic_analogy
  • 42. Resistors Parallel Connection Series Connection MAKE Presents: The Resistor - http://youtube.com/watch?v=-td7YT-Pums
  • 44. Diodes MAKE Presents: The Diode - http://youtube.com/watch?v=AqzYsuTRVRc
  • 45. Light Emitting Diodes http://flic.kr/p/38DLnC
  • 46. LEDs MAKE Presents: The LED - http://youtube.com/watch?v=P3PDLsJQcGI
  • 47. LED Resistor Calculation Let’s assume we have a 9V source… R = V / I R = (9-3.4) / (20*10-3) R = 280 Ω Nearest standard value is 330 Ω List of standard resistor values: http://www.logwell.com/tech/components/resistor_values.html
  • 48. Ohm’s Law V = Voltage I = Current R = Resistance V I R V = Current * Resistance I = Voltage / Resistance R = Voltage / Current
  • 50. Capacitors Series Connection Parallel Connection MAKE Presents: The Capacitor - http://youtube.com/watch?v=ZYH9dGl4gUE
  • 52. Transistors MAKE Presents: The Transistor - http://youtube.com/watch?v=-td7YT-Pums
  • 53. Driving LEDs with transistors(using a transistor as a switch) VCC Drive here…
  • 55.
  • 56. WiFi
  • 58.
  • 59. Example Project: Thermometer A temperature sensor is connected to an analog input on the Arduino Arduino periodically reports the temperature back to PC PC uses this data to plot graphs etc.
  • 60. Thermometer: Arduino Code intsensorPin = 0; // the analog pin that the sensor is connected to void setup(){ Serial.begin(9600); } void loop(){ //getting the voltage reading from the temperature sensor int reading = analogRead(sensorPin); // converting that reading to voltage, for 3.3v arduino use 3.3 float voltage = reading * 5.0 / 1024; // print out the voltage Serial.print(voltage); Serial.println(" volts"); // now print out the temperature floattemperatureC = (voltage - 0.5) * 100; // converting from 10 mV per degree with 500 mV offset // to degrees ((voltage - 500mV) times 100) Serial.print(temperatureC); Serial.println(" degress C"); delay(1000); // wait a second } From Ladyada’s TMP36 Tutorial - http://www.ladyada.net/learn/sensors/tmp36.html
  • 61. Thermometer: PC Side Read the incoming data every X seconds (cron) Collect and plot temperature graphs (rrdtool) Example: thermostat-graph http://www.anders.com/projects/thermostat-graph/ Not an Arduino project but easily hackable!
  • 62. http://arduino.cc http://arduino.cc/playground/ http://freeduino.gen.tr http://freeduino.org http://buroburo.net/workshop Links…