SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Downloaden Sie, um offline zu lesen
MAKING THINGS TALK
                                  An introduction to the basics of making with Arduino |  HAW x MASE |  Hamburg, Germany |  16.04.2012
flickr user hildeengwenverbouwen




                                                        Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett
TOPICS
                                     Introduction          Introduction in Programming




                                   Basic Electronics             Getting Started




                                   The Arduino Board                Exercises
Image via http://vasastudio.com/
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
WHAT ARE WE DOING



           Hardware
      Getting closer to electronic circuits



             Software
     Writing simple software for hardware
THE ONE IN FRONT

   Jörn Sandner
   Master Microelectronic Systems
   Study at the FH Heide
   plus one semester at the HAW Hamburg
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
VOLTAGE & CURRENT


Voltage: speed of        Current: amount
the electrons            of electrons
> potential difference   > resistance of the circuit
CIRCUIT
button              light (LED)



         resistor



         +     -

         battery
CIRCUIT



current direction


    +      -

    battery
FUNCTIONAL VIEW
“input”                                     “output”
          button              light (LED)



                   resistor



                   +     -

                   battery
FUNCTIONAL VIEW
“input”                                             “output”
                button              light (LED)



                         resistor



                         +     -

                         battery

          NOW: Put some “intelligence” in between
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
THE ARDUINO BOARD
         Serial to USB Converter   Digital In & Out Pins




           USB Port

                                                               Power LED

                                                               Microcontroller
Power Supply Connection


                                     Power Pins    Analog Input Pins
SOFTWARE




arduino.cc         fritzing.org
DIGITAL OUT / DIGITAL IN

            ‣ Two States
              ‣ ON / HIGH / 1
              ‣ OFF / LOW / 0

            ‣ Port mode (in/out)
              controlled by software
            ‣ 12 Ports available
              ‣ some with special functions
DIGITAL OUT / DIGITAL IN

  voltage
                            HIGH
     5V+

      4

      3

      2

      1                                         LOW
   GND
            0   1   2   3   4   5   6   7   8    9    10   time
DIGITAL PORTS
“input”                   “output”
 On/Off                    On/Off
ANALOG PORTS

      ‣ Value range instead
        of state
        ‣ Input 0 -1023
        ‣ Output 0 -255 (analog output
          shared with digital out)
ANALOG PORTS


         0   1023




             255




              0
ANALOG IN

voltage

   5V+

    4

    3

    2

    1

 GND
          0   1   2   3   4   5   6   7   8   9   10   time
ANALOG OUT


‣ There is no real variable voltage output
‣ Analog signal is generated by waveform with
  constant voltage and constant frequency
ANALOG OUT

voltage

   5V+

    4

    3

    2

    1

 GND
          0   1   2   3   4   5   6   7   8   9   10   time
ANALOG OUT
                                                       Always same
                                                          period
voltage
                                                        Always 5V
   5V+

    4

    3

    2

    1

 GND
          0   1   2   3   4   5   6   7   8   9   10     time
ANALOG OUT
                                                        Always same
                                                           period
voltage
                                                         Always 5V
   5V+

    4
                                          Getting different values
                                          by moving the middle
    3                                     line within the period

    2

    1

 GND
          0   1   2   3   4   5   6   7   8   9    10     time
ANALOG OUT

voltage
              50%       75%   25%           100%
   5V+

    4

    3

    2

    1

 GND
          0     1   2     3   4     5   6   7      8   9   10   time
ANALOG OUT

voltage

   5V+

    4

    3

    2

    1

 GND
          0   1   2   3   4   5   6   7   8   9   10   time
ANALOG RANGE ADAPTION
    1023

               255




                0


     0
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
PROGRAMMING
      Basic setup (bare minimum)

void setup()
{
     // running one time
     // do basic setup of the Arduino Board
}

void loop()
{
     // running for ever
     // your code

}
PROGRAMMING
       Blink

/*void setup()
{
     // Pin 13 connected
   pinMode(13, OUTPUT);
}

void loop()
{
     digitalWrite(13, HIGH);   //   set the LED on
     delay(1000);              //   wait for a second
     digitalWrite(13, LOW);    //   set the LED off
     delay(1000);              //   wait for a second
}
SOME STRUCTURES


‣ Your Arduino is busy when busy
 ‣ One task at time

‣ The program code is executed sequentially –
  step by step
 ‣ A command has to wait until it‘s previous has executed
SOME PROGRAMMING
      BASICS
‣ Save and recall values
 ‣ int myValue = 54;

‣ Call functions
 ‣ digitalWrite(myValue, HIGH);
 ‣ myValue = analogRead(0);

‣ Conditional execution
 ‣ if (myValue == 54) { // } else { // }
‣ Repeat commands
 ‣ for(int i = 0; i<10; i++) { // }
SOME FUNCTIONS
‣ pinMode()
‣ digitalWrite()
‣ digitalRead()
‣ analogReference()
‣ analogRead()
‣ analogWrite() – PWM
‣ outValue = map (inValue, 0, 1023, 0, 255); //
  remember range conversion


 See http://arduino.cc/en/Reference/HomePage
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
GETTING STARTED
 WITH BLINKING LED

‣ Gather in groups
‣ Get a Fritzing Kit
‣ Start Arduino software
‣ Follow me…
TOPICS
  Introduction          Introduction in Programming




Basic Electronics             Getting Started




The Arduino Board                Exercises
ANALOG OUT
WITH FADING




 http://www.youtube.com/watch?v=Y2cLxmNnpOE
ANALOG IN WITH SERVO
      AND POT




     http://www.youtube.com/watch?v=SS6cntJ_LqQ
ANALOG IN WITH SERVO
      AND LDR




     http://www.youtube.com/watch?v=m9J3mDYy0Sg
PANDORA’S BOX


20 cm
                 Lady Ada Sensors
                 http://www.ladyada.net/learn/sensors/



                 Interfacing With Hardware
                 http://arduino.cc/playground/Main/InterfacingWithHardware



                 Index of Arudino Knowledge
                 http://www.freeduino.org/


         20 cm
THE END OF THE BEGINNING
                 Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett




 Truth Dare Double Dare |  www.truthdaredoubledare.com |  hello@truthdaredoubledare.com

Weitere ähnliche Inhalte

Was ist angesagt?

My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentationSham Arsenal
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduinozvikapika
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-pptjhcid
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino unoRahat Sood
 
Introduction To Arduino
Introduction To ArduinoIntroduction To Arduino
Introduction To Arduinounsheffield
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoYong Heui Cho
 
Intro arduino English
Intro arduino EnglishIntro arduino English
Intro arduino EnglishSOAEnsAD
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programmingPunit Goswami
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino MicrocontrollerShyam Mohan
 
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 presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoPreet Sangha
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the ArduinoCharles A B Jr
 
Show & Tell.- Introduction
Show & Tell.- IntroductionShow & Tell.- Introduction
Show & Tell.- Introductionzvikapika
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduinoavikdhupar
 

Was ist angesagt? (20)

Different Arduino Boards
Different Arduino BoardsDifferent Arduino Boards
Different Arduino Boards
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
 
Introducing... Arduino
Introducing... ArduinoIntroducing... Arduino
Introducing... Arduino
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Basics of arduino uno
Basics of arduino unoBasics of arduino uno
Basics of arduino uno
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
Introduction To Arduino
Introduction To ArduinoIntroduction To Arduino
Introduction To Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Intro arduino English
Intro arduino EnglishIntro arduino English
Intro arduino English
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
Arduino Microcontroller
Arduino MicrocontrollerArduino Microcontroller
Arduino Microcontroller
 
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 presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino
ArduinoArduino
Arduino
 
Introducing the Arduino
Introducing the ArduinoIntroducing the Arduino
Introducing the Arduino
 
Show & Tell.- Introduction
Show & Tell.- IntroductionShow & Tell.- Introduction
Show & Tell.- Introduction
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 

Andere mochten auch

The Dragonfly Effect - INK Conference
The Dragonfly Effect - INK ConferenceThe Dragonfly Effect - INK Conference
The Dragonfly Effect - INK ConferenceAndy Smith
 
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...Amr Sallam
 
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...Amr Sallam
 
Now We Collide - Video Content Agency - Company Overview 2016
Now We Collide - Video Content Agency - Company Overview 2016Now We Collide - Video Content Agency - Company Overview 2016
Now We Collide - Video Content Agency - Company Overview 2016Ryan Bodger
 
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)The Shape of Things to Come / Exploring the Shift in Business (and Marketing)
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)Jeremy Abbett
 
Google’s Creative Culture: A Catalyst for Continual Innovation
Google’s Creative Culture: A Catalyst for Continual InnovationGoogle’s Creative Culture: A Catalyst for Continual Innovation
Google’s Creative Culture: A Catalyst for Continual InnovationJeremy Abbett
 
The New Face Of Venture Capital, Part 1
The New Face Of Venture Capital, Part 1The New Face Of Venture Capital, Part 1
The New Face Of Venture Capital, Part 1trendcaller
 
UX for CRM
UX for CRMUX for CRM
UX for CRMDivante
 
PSFK The Maker's Manual 2014
PSFK The Maker's Manual 2014PSFK The Maker's Manual 2014
PSFK The Maker's Manual 2014PSFK
 
Make Your Ideas Happen
Make Your Ideas HappenMake Your Ideas Happen
Make Your Ideas HappenGeoff McDonald
 
Highlights from "Positioning for Professionals"
Highlights from "Positioning for Professionals"Highlights from "Positioning for Professionals"
Highlights from "Positioning for Professionals"Ignition Consulting Group
 
Seedcamp Customer Experience (CX) Workshop
Seedcamp Customer Experience (CX) WorkshopSeedcamp Customer Experience (CX) Workshop
Seedcamp Customer Experience (CX) Workshopleisa reichelt
 
From Linear to Exponential Innovation Mindset
From Linear to Exponential Innovation MindsetFrom Linear to Exponential Innovation Mindset
From Linear to Exponential Innovation MindsetMike Mastroyiannis
 
Yuri van Geest, Exponential Organizations - DMX Dublin 2016
Yuri van Geest,  Exponential Organizations - DMX Dublin 2016Yuri van Geest,  Exponential Organizations - DMX Dublin 2016
Yuri van Geest, Exponential Organizations - DMX Dublin 2016DMX Dublin
 
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannes
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannesSee #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannes
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannesOgilvy
 
Strategic UX Workshop - UX Bristol
Strategic UX Workshop - UX BristolStrategic UX Workshop - UX Bristol
Strategic UX Workshop - UX Bristolleisa reichelt
 

Andere mochten auch (20)

Ad507
Ad507Ad507
Ad507
 
The Dragonfly Effect - INK Conference
The Dragonfly Effect - INK ConferenceThe Dragonfly Effect - INK Conference
The Dragonfly Effect - INK Conference
 
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 1 (June...
 
Midwest is Best
Midwest is BestMidwest is Best
Midwest is Best
 
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...
Cannes Lions Young Account Planners Academy - The Day in Quotes - Day 2 (June...
 
Now We Collide - Video Content Agency - Company Overview 2016
Now We Collide - Video Content Agency - Company Overview 2016Now We Collide - Video Content Agency - Company Overview 2016
Now We Collide - Video Content Agency - Company Overview 2016
 
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)The Shape of Things to Come / Exploring the Shift in Business (and Marketing)
The Shape of Things to Come / Exploring the Shift in Business (and Marketing)
 
Google’s Creative Culture: A Catalyst for Continual Innovation
Google’s Creative Culture: A Catalyst for Continual InnovationGoogle’s Creative Culture: A Catalyst for Continual Innovation
Google’s Creative Culture: A Catalyst for Continual Innovation
 
Hyper-connectivity
Hyper-connectivityHyper-connectivity
Hyper-connectivity
 
The New Face Of Venture Capital, Part 1
The New Face Of Venture Capital, Part 1The New Face Of Venture Capital, Part 1
The New Face Of Venture Capital, Part 1
 
UX for CRM
UX for CRMUX for CRM
UX for CRM
 
PSFK The Maker's Manual 2014
PSFK The Maker's Manual 2014PSFK The Maker's Manual 2014
PSFK The Maker's Manual 2014
 
Make Your Ideas Happen
Make Your Ideas HappenMake Your Ideas Happen
Make Your Ideas Happen
 
Highlights from "Positioning for Professionals"
Highlights from "Positioning for Professionals"Highlights from "Positioning for Professionals"
Highlights from "Positioning for Professionals"
 
Seedcamp Customer Experience (CX) Workshop
Seedcamp Customer Experience (CX) WorkshopSeedcamp Customer Experience (CX) Workshop
Seedcamp Customer Experience (CX) Workshop
 
From Linear to Exponential Innovation Mindset
From Linear to Exponential Innovation MindsetFrom Linear to Exponential Innovation Mindset
From Linear to Exponential Innovation Mindset
 
Yuri van Geest, Exponential Organizations - DMX Dublin 2016
Yuri van Geest,  Exponential Organizations - DMX Dublin 2016Yuri van Geest,  Exponential Organizations - DMX Dublin 2016
Yuri van Geest, Exponential Organizations - DMX Dublin 2016
 
Just Effin' Do It
Just Effin' Do ItJust Effin' Do It
Just Effin' Do It
 
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannes
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannesSee #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannes
See #CannesLions Through the Eyes of David Ogilvy / #OgilvyCannes
 
Strategic UX Workshop - UX Bristol
Strategic UX Workshop - UX BristolStrategic UX Workshop - UX Bristol
Strategic UX Workshop - UX Bristol
 

Ähnlich wie Arduino Basics

Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
Cassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshopCassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshoptomtobback
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshopatuline
 
Arduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channelsArduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channelstomtobback
 
Electronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfElectronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfvikknaguem
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to ArduinoQtechknow
 
Arduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting ComputingArduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting Computingrebooting_computing
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2Qtechknow
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshopmayur1432
 
Arduino Programming for Basic Robotics - University of Moratuwa
Arduino Programming for Basic Robotics - University of MoratuwaArduino Programming for Basic Robotics - University of Moratuwa
Arduino Programming for Basic Robotics - University of MoratuwaAbarajithan Gnaneswaran
 
LED Cube Presentation Slides
LED Cube Presentation Slides LED Cube Presentation Slides
LED Cube Presentation Slides Projects EC
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 

Ähnlich wie Arduino Basics (20)

Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Cassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshopCassiopeia Ltd - standard Arduino workshop
Cassiopeia Ltd - standard Arduino workshop
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Arduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channelsArduino 8-step drum sequencer 3 channels
Arduino 8-step drum sequencer 3 channels
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Intro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptxIntro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptx
 
Electronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfElectronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdf
 
Intro to Arduino
Intro to ArduinoIntro to Arduino
Intro to Arduino
 
Programming arduino makeymakey
Programming arduino makeymakeyProgramming arduino makeymakey
Programming arduino makeymakey
 
Arduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting ComputingArduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting Computing
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Arduino workshop sensors
Arduino workshop sensorsArduino workshop sensors
Arduino workshop sensors
 
Simply arduino
Simply arduinoSimply arduino
Simply arduino
 
Intro to Arduino Revision #2
Intro to Arduino Revision #2Intro to Arduino Revision #2
Intro to Arduino Revision #2
 
Arduino workshop
Arduino workshopArduino workshop
Arduino workshop
 
Rebooting Computing chalkwell
Rebooting Computing chalkwellRebooting Computing chalkwell
Rebooting Computing chalkwell
 
Arduino Programming for Basic Robotics - University of Moratuwa
Arduino Programming for Basic Robotics - University of MoratuwaArduino Programming for Basic Robotics - University of Moratuwa
Arduino Programming for Basic Robotics - University of Moratuwa
 
LED Cube Presentation Slides
LED Cube Presentation Slides LED Cube Presentation Slides
LED Cube Presentation Slides
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
Tripath TA2021B
Tripath TA2021BTripath TA2021B
Tripath TA2021B
 

Kürzlich hochgeladen

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
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
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 

Kürzlich hochgeladen (20)

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
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)
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 

Arduino Basics

  • 1. MAKING THINGS TALK An introduction to the basics of making with Arduino |  HAW x MASE |  Hamburg, Germany |  16.04.2012 flickr user hildeengwenverbouwen Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett
  • 2. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises Image via http://vasastudio.com/
  • 3. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 4. WHAT ARE WE DOING Hardware Getting closer to electronic circuits Software Writing simple software for hardware
  • 5. THE ONE IN FRONT Jörn Sandner Master Microelectronic Systems Study at the FH Heide plus one semester at the HAW Hamburg
  • 6.
  • 7. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 8. VOLTAGE & CURRENT Voltage: speed of Current: amount the electrons of electrons > potential difference > resistance of the circuit
  • 9. CIRCUIT button light (LED) resistor + - battery
  • 11. FUNCTIONAL VIEW “input” “output” button light (LED) resistor + - battery
  • 12. FUNCTIONAL VIEW “input” “output” button light (LED) resistor + - battery NOW: Put some “intelligence” in between
  • 13. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 14. THE ARDUINO BOARD Serial to USB Converter Digital In & Out Pins USB Port Power LED Microcontroller Power Supply Connection Power Pins Analog Input Pins
  • 15. SOFTWARE arduino.cc fritzing.org
  • 16. DIGITAL OUT / DIGITAL IN ‣ Two States ‣ ON / HIGH / 1 ‣ OFF / LOW / 0 ‣ Port mode (in/out) controlled by software ‣ 12 Ports available ‣ some with special functions
  • 17. DIGITAL OUT / DIGITAL IN voltage HIGH 5V+ 4 3 2 1 LOW GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 18. DIGITAL PORTS “input” “output” On/Off On/Off
  • 19. ANALOG PORTS ‣ Value range instead of state ‣ Input 0 -1023 ‣ Output 0 -255 (analog output shared with digital out)
  • 20. ANALOG PORTS 0 1023 255 0
  • 21. ANALOG IN voltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 22. ANALOG OUT ‣ There is no real variable voltage output ‣ Analog signal is generated by waveform with constant voltage and constant frequency
  • 23. ANALOG OUT voltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 24. ANALOG OUT Always same period voltage Always 5V 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 25. ANALOG OUT Always same period voltage Always 5V 5V+ 4 Getting different values by moving the middle 3 line within the period 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 26. ANALOG OUT voltage 50% 75% 25% 100% 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 27. ANALOG OUT voltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 28. ANALOG RANGE ADAPTION 1023 255 0 0
  • 29. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 30. PROGRAMMING Basic setup (bare minimum) void setup() { // running one time // do basic setup of the Arduino Board } void loop() { // running for ever // your code }
  • 31. PROGRAMMING Blink /*void setup() { // Pin 13 connected pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(13, LOW); // set the LED off delay(1000); // wait for a second }
  • 32. SOME STRUCTURES ‣ Your Arduino is busy when busy ‣ One task at time ‣ The program code is executed sequentially – step by step ‣ A command has to wait until it‘s previous has executed
  • 33. SOME PROGRAMMING BASICS ‣ Save and recall values ‣ int myValue = 54; ‣ Call functions ‣ digitalWrite(myValue, HIGH); ‣ myValue = analogRead(0); ‣ Conditional execution ‣ if (myValue == 54) { // } else { // } ‣ Repeat commands ‣ for(int i = 0; i<10; i++) { // }
  • 34. SOME FUNCTIONS ‣ pinMode() ‣ digitalWrite() ‣ digitalRead() ‣ analogReference() ‣ analogRead() ‣ analogWrite() – PWM ‣ outValue = map (inValue, 0, 1023, 0, 255); // remember range conversion See http://arduino.cc/en/Reference/HomePage
  • 35. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 36. GETTING STARTED WITH BLINKING LED ‣ Gather in groups ‣ Get a Fritzing Kit ‣ Start Arduino software ‣ Follow me…
  • 37. TOPICS Introduction Introduction in Programming Basic Electronics Getting Started The Arduino Board Exercises
  • 38. ANALOG OUT WITH FADING http://www.youtube.com/watch?v=Y2cLxmNnpOE
  • 39. ANALOG IN WITH SERVO AND POT http://www.youtube.com/watch?v=SS6cntJ_LqQ
  • 40. ANALOG IN WITH SERVO AND LDR http://www.youtube.com/watch?v=m9J3mDYy0Sg
  • 41. PANDORA’S BOX 20 cm Lady Ada Sensors http://www.ladyada.net/learn/sensors/ Interfacing With Hardware http://arduino.cc/playground/Main/InterfacingWithHardware Index of Arudino Knowledge http://www.freeduino.org/ 20 cm
  • 42. THE END OF THE BEGINNING Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett Truth Dare Double Dare |  www.truthdaredoubledare.com |  hello@truthdaredoubledare.com