SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
Introduction   The Hardware    Arduino Models     The Software    Add-Ons     Projects & Kits    Learning More   Conclusion




                                                     Arduino
                                      Microcontrollers Made Easy


                                                Serge Wroclawski


                                                February 19, 2009




                   This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.


Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




What is Arduino?


               Microcontroller Platform
                     Provides one standard set of assumed hardware, interfaces, etc.
               Hardware
                     Microcontroller
                     IO (USB or Serial)
                     Power
               Software
                     The Arduino Language
                     Tools to flash to Arduino




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Arduino is Free/Open Source




               Programming environment is all Free Software
               The bootloader is Free Software
               The PCB board is under a Creative Commons License




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




What is Arduino used for?

               Input
                     Sensors
                     Digital Input (Serial, SPI, I2C)
               Output
                     LEDs
                     Displays
                     Speakers
               Control and Communication
                     Drive other machinery
                     Directly or using a communuication protocol




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




The Arduino Hardware

       Arduinos differ in design but all share some basic functionality
           AVR Microcontroller
                     Amtel AVR Mega168 or AVR Mega8 (older models)
               Power Supply
                     Either directly or via USB power
               Communications
                     Serial (older models)
                     USB (most models)
                     Connections to a USB interface (smaller models)
               Pins for various functions



Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




The AVR Mega148


               1 - 16Mhz CPU (20 MIPS)
               1Kb SRAM
               16Kb Flash (2Kb used for Arduino bootloader)
               512 bytes EEPROM
               14 Digital IO Pins
               6 PWM Pins (included in the 14 digital)
               8 Analog Input Pins (10 bit)




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




The Arduino vs Do It Yourself AVR



         AVR Mega148          $4
         Breadboard           $5
         FTDI Chip/Cable $20
         Parts $29            Arduino $35 assembled
       In the end, you can use microcontroller outside the Arduino PCB,
       so feel free to mix n match.




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




The Original



                                                                   First Arduino
                                                                   ATA Mega8 Microcontroller
                                                                   Serial Connection
                                                                   No LEDs on board
                                                                   Several DIPs to change
                                                                   settings




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Duemilanove




                                                                   Current generation Arduino
                                                                   Automatic DC/USB Power




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




The Diecimilia




                                                                   AVR Mega148
                                                                   USB or DC Power via DIP
                                                                   Switch




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




LillyPad


                                                                   2inch Arduino model
                                                                   Designed to be sewen into
                                                                   clothing
                                                                   Uses FTDI connector (no
                                                                   direct USB)
                                                                   Slightly lower power
                                                                   requirements than other
                                                                   models




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Nano




                                                                   Smallest Arduino available
                                                                   USB connector directly on
                                                                   the unit (no FTDI cable
                                                                   needed)




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Boarduino

                                                                   Arduino Clone from
                                                                   AdaFruit
                                                                   Available assembled, in parts
                                                                   kit, or PCB-only
                                                                   100% Arduino Compatible
                                                                   (though not quite the same
                                                                   HW)
                                                                   Clones are legal, as long as
                                                                   they don’t use Arduino
                                                                   Trademark



Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Arduino Software



           Java based IDE
           Built-in Project Manager
           Libraries and pre-done
           projects (called sketches)
           gcc-avr w/ lots of libraries
           and macros under the covers




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Hello World on the Arduino
       int ledPin = 13;                 // LED connected to digital pin 13

       void setup() // run once, when the sketch starts
       {
         pinMode(ledPin, OUTPUT); // sets the digital pin as output
       }

       void loop()                 // run over and over again
       {
         digitalWrite(ledPin, HIGH); // sets the LED on
         delay(1000);                // waits for a second
         digitalWrite(ledPin, LOW); // sets the LED off
         delay(1000);                // waits for a second
       }


Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




           Computer → Arduino →
           LEDs
           Adjust LED brightness
           Indicator lights or a
           primitive Ambient Orb




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




LED Change Code (Arduino)
       // Simple LED on at various power levels - Serge

       char serInString[10]; // array that will hold the bytes of the incoming string
       int dataRead = 0;

       void setup(){
           // Set up pins
           Serial.begin(9600); }

       void readSerialString(char *strArray) {
         int i = 0;
         while (Serial.available()) {
             strArray[i] = Serial.read();
             i++; }
         dataRead = i; }

       void loop() {
           readSerialString(serInString);
           if (dataRead>0) {
               int ledPin = serInString[0];
               int ledBrightness = serInString[1];
               if ((ledPin>=9) && (ledPin<=11)) {
                   char pinChar = ’0’ + ledPin;
                   Serial.println("Turning on LED: " + pinChar);
                   analogWrite(ledPin, ledBrightness); } }
           dataRead = 0;
           delay(1000); }


Arduino
Introduction   The Hardware    Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




LED Change Code (Computer)


       #!/usr/bin/env python

       import serial

       SERIAL = serial.Serial(’/dev/ttyUSB0’, 9600, timeout=1)
       RED = 9
       GREEN = 10
       BLUE = 11

       def setLed(led, val):
           SERIAL.write(chr(led))
           SERIAL.write(chr(val))

       setLed(RED, 128)
       setLed(GREEN, 255)




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Arduino Shields

       Lots of Arduino Add-Ons have been made that fit the standard
       Arduino form
               Ethernet
               Battery
               GPS
               WaveSheild (lots of audio functions)
               XBee
               Motor Control
               Phidget Sensor
               Lots more!


Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Botanicalls



                                                                   Now your plants can tell you
                                                                   to water them in the only
                                                                   way you’ll pay attention- on
                                                                   Twitter!
                                                                   Uses Ethernet Shield
                                                                   Available from AdaFruit




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Pocket Piano Arduino Shield




       A tiny little synthesizer, 25 keys
               Original page www.critterandguitari.com
               Makershed page (with video) www.makershed.com




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Gamepack



               “Open Source Game System”
               320x240 OLED Touch Screen
               Lithium Battery Pack
               Built it yourself! Design your own games
               Only $250. Available at liquidware.com




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Learning More

               http://Arduino.cc
               Online Tutorial
               Another Tutorial
               Getting Started with Arduino and Making Things Talk by
               O’Reilly
               Arduino Programming Notebook
               Make Magazine and Instructables
               Arduino and Parts at AdaFruit and MakerShed
               Go to Youtube and search for Arduino



Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




Conclusion



               Electronics doesn’t have to be scary
               Microcontrollers are even less scary
               Small computers led to lots of cool projects
               Go forth and hack!




Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




                                        Questions?



Arduino
Introduction   The Hardware   Arduino Models   The Software   Add-Ons   Projects & Kits   Learning More   Conclusion




License and Redistribution




       The text of this presentation is Copyright Serge Wroclawski 2009 c
       The images in this presentation are distributed with permission
       from their authors
       Redistribution of the text of this presentation is allowed under the
       terms of the Creative Commons AttributionShareAlike License




Arduino

Contenu connexe

Tendances

Arduradio oshwcon2012 20120922
Arduradio oshwcon2012 20120922Arduradio oshwcon2012 20120922
Arduradio oshwcon2012 20120922Javier Montaner
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la ActualidadLaurence HR
 
Arduino workshop proposal
Arduino workshop proposalArduino workshop proposal
Arduino workshop proposalfreemanindia
 
Arduino Programming Software Development
Arduino Programming Software DevelopmentArduino Programming Software Development
Arduino Programming Software DevelopmentSanjay Kumar
 
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 boardselprocus
 
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009Eoin Brazil
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on thePramod Kumar
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
ARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIALARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIALVijay Kumar
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduinozvikapika
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1Audiomas Soni
 
Advanced view arduino projects list use arduino for projects (2)
Advanced view arduino projects list  use arduino for projects (2)Advanced view arduino projects list  use arduino for projects (2)
Advanced view arduino projects list use arduino for projects (2)WiseNaeem
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar reportZaka Jutt
 

Tendances (19)

Arduradio oshwcon2012 20120922
Arduradio oshwcon2012 20120922Arduradio oshwcon2012 20120922
Arduradio oshwcon2012 20120922
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
Arduino workshop proposal
Arduino workshop proposalArduino workshop proposal
Arduino workshop proposal
 
Arduino Programming Software Development
Arduino Programming Software DevelopmentArduino Programming Software Development
Arduino Programming Software Development
 
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 Lecture 2 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
Arduino Lecture 2 - Interactive Media CS4062 Semester 2 2009
 
Arduino tutorial A to Z
Arduino tutorial A to ZArduino tutorial A to Z
Arduino tutorial A to Z
 
The arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on theThe arduino uno is a microcontroller board based on the
The arduino uno is a microcontroller board based on the
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
ARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIALARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIAL
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1
 
Arduino
ArduinoArduino
Arduino
 
Arduino Uno Pin Description
Arduino Uno Pin DescriptionArduino Uno Pin Description
Arduino Uno Pin Description
 
Advanced view arduino projects list use arduino for projects (2)
Advanced view arduino projects list  use arduino for projects (2)Advanced view arduino projects list  use arduino for projects (2)
Advanced view arduino projects list use arduino for projects (2)
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 

En vedette

Jobhut Presentation
Jobhut PresentationJobhut Presentation
Jobhut PresentationJobhut
 
Navirec Tracker & Navirec Lite applications
Navirec Tracker & Navirec Lite applicationsNavirec Tracker & Navirec Lite applications
Navirec Tracker & Navirec Lite applicationsnavirec
 
Export procedure-and-documentation
Export procedure-and-documentationExport procedure-and-documentation
Export procedure-and-documentationdassanjit23
 
Russia's Wealth Possessors Study 2015
Russia's Wealth Possessors Study 2015Russia's Wealth Possessors Study 2015
Russia's Wealth Possessors Study 2015Ruslan Yusufov ✔
 
Jobhut Presentation
Jobhut PresentationJobhut Presentation
Jobhut PresentationJobhut
 
Navirec kujundused
Navirec kujundusedNavirec kujundused
Navirec kujundusednavirec
 

En vedette (6)

Jobhut Presentation
Jobhut PresentationJobhut Presentation
Jobhut Presentation
 
Navirec Tracker & Navirec Lite applications
Navirec Tracker & Navirec Lite applicationsNavirec Tracker & Navirec Lite applications
Navirec Tracker & Navirec Lite applications
 
Export procedure-and-documentation
Export procedure-and-documentationExport procedure-and-documentation
Export procedure-and-documentation
 
Russia's Wealth Possessors Study 2015
Russia's Wealth Possessors Study 2015Russia's Wealth Possessors Study 2015
Russia's Wealth Possessors Study 2015
 
Jobhut Presentation
Jobhut PresentationJobhut Presentation
Jobhut Presentation
 
Navirec kujundused
Navirec kujundusedNavirec kujundused
Navirec kujundused
 

Similaire à Arduino talk

Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoMohamed Essam
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno boardGaurav
 
Arduino - Learning.pdf
Arduino - Learning.pdfArduino - Learning.pdf
Arduino - Learning.pdfKhalilSedki1
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptxARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptxmenchc1207
 
Arduino Development For Beginners
Arduino Development For BeginnersArduino Development For Beginners
Arduino Development For BeginnersFTS seminar
 
Arduino-Workshop-4.pptx
Arduino-Workshop-4.pptxArduino-Workshop-4.pptx
Arduino-Workshop-4.pptxHebaEng
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (Dhruwank Vankawala
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdfRuby Hermano
 
Arduino learning
Arduino   learningArduino   learning
Arduino learningAnil Yadav
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino Dennis Espiritu
 

Similaire à Arduino talk (20)

Arduino
ArduinoArduino
Arduino
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
Microcontroller arduino uno board
Microcontroller arduino uno boardMicrocontroller arduino uno board
Microcontroller arduino uno board
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
 
Report on arduino
Report on arduinoReport on arduino
Report on arduino
 
Arduino - Learning.pdf
Arduino - Learning.pdfArduino - Learning.pdf
Arduino - Learning.pdf
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptxARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pptx
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pptx
 
Ardu
ArduArdu
Ardu
 
Arduino Development For Beginners
Arduino Development For BeginnersArduino Development For Beginners
Arduino Development For Beginners
 
Arduino
ArduinoArduino
Arduino
 
Arduino-Workshop-4.pptx
Arduino-Workshop-4.pptxArduino-Workshop-4.pptx
Arduino-Workshop-4.pptx
 
Arduino-Workshop-4.pptx
Arduino-Workshop-4.pptxArduino-Workshop-4.pptx
Arduino-Workshop-4.pptx
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
Basics of open source embedded development board (
Basics of open source embedded development board (Basics of open source embedded development board (
Basics of open source embedded development board (
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 
Arduino learning
Arduino   learningArduino   learning
Arduino learning
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
 

Dernier

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Dernier (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Arduino talk

  • 1. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino Microcontrollers Made Easy Serge Wroclawski February 19, 2009 This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. Arduino
  • 2. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion What is Arduino? Microcontroller Platform Provides one standard set of assumed hardware, interfaces, etc. Hardware Microcontroller IO (USB or Serial) Power Software The Arduino Language Tools to flash to Arduino Arduino
  • 3. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino is Free/Open Source Programming environment is all Free Software The bootloader is Free Software The PCB board is under a Creative Commons License Arduino
  • 4. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion What is Arduino used for? Input Sensors Digital Input (Serial, SPI, I2C) Output LEDs Displays Speakers Control and Communication Drive other machinery Directly or using a communuication protocol Arduino
  • 5. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion The Arduino Hardware Arduinos differ in design but all share some basic functionality AVR Microcontroller Amtel AVR Mega168 or AVR Mega8 (older models) Power Supply Either directly or via USB power Communications Serial (older models) USB (most models) Connections to a USB interface (smaller models) Pins for various functions Arduino
  • 6. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion The AVR Mega148 1 - 16Mhz CPU (20 MIPS) 1Kb SRAM 16Kb Flash (2Kb used for Arduino bootloader) 512 bytes EEPROM 14 Digital IO Pins 6 PWM Pins (included in the 14 digital) 8 Analog Input Pins (10 bit) Arduino
  • 7. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion The Arduino vs Do It Yourself AVR AVR Mega148 $4 Breadboard $5 FTDI Chip/Cable $20 Parts $29 Arduino $35 assembled In the end, you can use microcontroller outside the Arduino PCB, so feel free to mix n match. Arduino
  • 8. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion The Original First Arduino ATA Mega8 Microcontroller Serial Connection No LEDs on board Several DIPs to change settings Arduino
  • 9. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Duemilanove Current generation Arduino Automatic DC/USB Power Arduino
  • 10. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion The Diecimilia AVR Mega148 USB or DC Power via DIP Switch Arduino
  • 11. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion LillyPad 2inch Arduino model Designed to be sewen into clothing Uses FTDI connector (no direct USB) Slightly lower power requirements than other models Arduino
  • 12. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Nano Smallest Arduino available USB connector directly on the unit (no FTDI cable needed) Arduino
  • 13. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Boarduino Arduino Clone from AdaFruit Available assembled, in parts kit, or PCB-only 100% Arduino Compatible (though not quite the same HW) Clones are legal, as long as they don’t use Arduino Trademark Arduino
  • 14. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino Software Java based IDE Built-in Project Manager Libraries and pre-done projects (called sketches) gcc-avr w/ lots of libraries and macros under the covers Arduino
  • 15. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Hello World on the Arduino int ledPin = 13; // LED connected to digital pin 13 void setup() // run once, when the sketch starts { pinMode(ledPin, OUTPUT); // sets the digital pin as output } void loop() // run over and over again { digitalWrite(ledPin, HIGH); // sets the LED on delay(1000); // waits for a second digitalWrite(ledPin, LOW); // sets the LED off delay(1000); // waits for a second } Arduino
  • 16. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Computer → Arduino → LEDs Adjust LED brightness Indicator lights or a primitive Ambient Orb Arduino
  • 17. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion LED Change Code (Arduino) // Simple LED on at various power levels - Serge char serInString[10]; // array that will hold the bytes of the incoming string int dataRead = 0; void setup(){ // Set up pins Serial.begin(9600); } void readSerialString(char *strArray) { int i = 0; while (Serial.available()) { strArray[i] = Serial.read(); i++; } dataRead = i; } void loop() { readSerialString(serInString); if (dataRead>0) { int ledPin = serInString[0]; int ledBrightness = serInString[1]; if ((ledPin>=9) && (ledPin<=11)) { char pinChar = ’0’ + ledPin; Serial.println("Turning on LED: " + pinChar); analogWrite(ledPin, ledBrightness); } } dataRead = 0; delay(1000); } Arduino
  • 18. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion LED Change Code (Computer) #!/usr/bin/env python import serial SERIAL = serial.Serial(’/dev/ttyUSB0’, 9600, timeout=1) RED = 9 GREEN = 10 BLUE = 11 def setLed(led, val): SERIAL.write(chr(led)) SERIAL.write(chr(val)) setLed(RED, 128) setLed(GREEN, 255) Arduino
  • 19. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino Shields Lots of Arduino Add-Ons have been made that fit the standard Arduino form Ethernet Battery GPS WaveSheild (lots of audio functions) XBee Motor Control Phidget Sensor Lots more! Arduino
  • 20. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Botanicalls Now your plants can tell you to water them in the only way you’ll pay attention- on Twitter! Uses Ethernet Shield Available from AdaFruit Arduino
  • 21. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Pocket Piano Arduino Shield A tiny little synthesizer, 25 keys Original page www.critterandguitari.com Makershed page (with video) www.makershed.com Arduino
  • 22. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Gamepack “Open Source Game System” 320x240 OLED Touch Screen Lithium Battery Pack Built it yourself! Design your own games Only $250. Available at liquidware.com Arduino
  • 23. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Learning More http://Arduino.cc Online Tutorial Another Tutorial Getting Started with Arduino and Making Things Talk by O’Reilly Arduino Programming Notebook Make Magazine and Instructables Arduino and Parts at AdaFruit and MakerShed Go to Youtube and search for Arduino Arduino
  • 24. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Conclusion Electronics doesn’t have to be scary Microcontrollers are even less scary Small computers led to lots of cool projects Go forth and hack! Arduino
  • 25. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Questions? Arduino
  • 26. Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion License and Redistribution The text of this presentation is Copyright Serge Wroclawski 2009 c The images in this presentation are distributed with permission from their authors Redistribution of the text of this presentation is allowed under the terms of the Creative Commons AttributionShareAlike License Arduino