Movatterモバイル変換


[0]ホーム

URL:


Jeremy Abbett, profile picture
Uploaded byJeremy Abbett
PDF, PPTX2,657 views

Arduino Basics

The document serves as an introduction to basic programming and electronics using the Arduino platform, covering fundamental concepts like voltage, current, and circuit design. It offers insights into hardware components and software programming through examples, including setting up simple tasks with LEDs. The material emphasizes hands-on exercises and resources for further learning in microelectronics and Arduino projects.

Embed presentation

Download as PDF, PPTX
MAKING THINGS TALK                                  An introduction to the basics of making with Arduino |  HAW x MASE |  Hamburg, Germany |  16.04.2012flickr user hildeengwenverbouwen                                                        Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett
TOPICS                                     Introduction          Introduction in Programming                                   Basic Electronics             Getting Started                                   The Arduino Board                ExercisesImage via http://vasastudio.com/
TOPICS  Introduction          Introduction in ProgrammingBasic Electronics             Getting StartedThe 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 ProgrammingBasic Electronics             Getting StartedThe Arduino Board                Exercises
VOLTAGE & CURRENTVoltage: speed of        Current: amountthe electrons            of electrons> potential difference   > resistance of the circuit
CIRCUITbutton              light (LED)         resistor         +     -         battery
CIRCUITcurrent 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 ProgrammingBasic Electronics             Getting StartedThe Arduino Board                Exercises
THE ARDUINO BOARD         Serial to USB Converter   Digital In & Out Pins           USB Port                                                               Power LED                                                               MicrocontrollerPower Supply Connection                                     Power Pins    Analog Input Pins
SOFTWAREarduino.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 INvoltage   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 OUTvoltage   5V+    4    3    2    1 GND          0   1   2   3   4   5   6   7   8   9   10   time
ANALOG OUT                                                       Always same                                                          periodvoltage                                                        Always 5V   5V+    4    3    2    1 GND          0   1   2   3   4   5   6   7   8   9   10     time
ANALOG OUT                                                        Always same                                                           periodvoltage                                                         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 OUTvoltage              50%       75%   25%           100%   5V+    4    3    2    1 GND          0     1   2     3   4     5   6   7      8   9   10   time
ANALOG OUTvoltage   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 ProgrammingBasic Electronics             Getting StartedThe 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 ProgrammingBasic Electronics             Getting StartedThe Arduino Board                Exercises
GETTING STARTED WITH BLINKING LED‣ Gather in groups‣ Get a Fritzing Kit‣ Start Arduino software‣ Follow me…
TOPICS  Introduction          Introduction in ProgrammingBasic Electronics             Getting StartedThe Arduino Board                Exercises
ANALOG OUTWITH 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 BOX20 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

Recommended

PPT
Arduino
PPTX
Arduino vs Raspberry Pi
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
 
PDF
Arduino Workshop Day 1 - Basic Arduino
 
PPTX
Arduino
PPT
Voice Control Home Automation
PPTX
Arduino course
PDF
Introduction to Arduino Programming
PPTX
Introduction to Arduino Microcontroller
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Lesson sample introduction to arduino
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PDF
Arduino Interfacing LED
ODP
Introduction to Arduino
PPTX
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
PPTX
Aurdino presentation
PPTX
My arduino presentation
PPS
What is Arduino ?
PPTX
Introduction to Arduino and Hands on to Iot
PPTX
Getting Started with Raspberry Pi and Arduino
PPTX
Arduino Workshop
PDF
Blinking a Single LED
PPTX
Ardui no
PPTX
Introduction to Arduino
PDF
Introduction to arduino
PPTX
Arduino Robotics workshop Day1
PPTX
PPT ON Arduino
PDF
Voice Control Home Automation
PDF
Ad507
PDF
The Dragonfly Effect - INK Conference

More Related Content

PPT
Arduino
PPTX
Arduino vs Raspberry Pi
PDF
Arduino Workshop Day 2 - Advance Arduino & DIY
 
PDF
Arduino Workshop Day 1 - Basic Arduino
 
PPTX
Arduino
PPT
Voice Control Home Automation
PPTX
Arduino course
PDF
Introduction to Arduino Programming
Arduino
Arduino vs Raspberry Pi
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Arduino Workshop Day 1 - Basic Arduino
 
Arduino
Voice Control Home Automation
Arduino course
Introduction to Arduino Programming

What's hot

PPTX
Introduction to Arduino Microcontroller
PPTX
Introduction to Arduino Hardware and Programming
PPTX
Lesson sample introduction to arduino
PPTX
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
PDF
Arduino Interfacing LED
ODP
Introduction to Arduino
PPTX
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
PPTX
Aurdino presentation
PPTX
My arduino presentation
PPS
What is Arduino ?
PPTX
Introduction to Arduino and Hands on to Iot
PPTX
Getting Started with Raspberry Pi and Arduino
PPTX
Arduino Workshop
PDF
Blinking a Single LED
PPTX
Ardui no
PPTX
Introduction to Arduino
PDF
Introduction to arduino
PPTX
Arduino Robotics workshop Day1
PPTX
PPT ON Arduino
PDF
Voice Control Home Automation
Introduction to Arduino Microcontroller
Introduction to Arduino Hardware and Programming
Lesson sample introduction to arduino
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino Interfacing LED
Introduction to Arduino
CONTROLLING HOME APPLIANCES WITH IOT,BLYNK APP & NODE MCU
Aurdino presentation
My arduino presentation
What is Arduino ?
Introduction to Arduino and Hands on to Iot
Getting Started with Raspberry Pi and Arduino
Arduino Workshop
Blinking a Single LED
Ardui no
Introduction to Arduino
Introduction to arduino
Arduino Robotics workshop Day1
PPT ON Arduino
Voice Control Home Automation

Viewers also liked

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

Similar to Arduino Basics

PDF
Making things sense - Day 1 (May 2011)
KEY
Intro to Arduino
PPT
Arduino Hackday: Rebooting Computing
PPTX
LED Cube Presentation Slides
PDF
Rebooting Computing chalkwell
PPTX
02 General Purpose Input - Output on the Arduino
PDF
arduinocourse-180308074529 (1).pdf
PPTX
Introduction to the Arduino
PDF
Arduino spooky projects_class3
PPT
Physical prototyping lab2-analog_digital
PPT
Physical prototyping lab2-analog_digital
PDF
Arduino learning
PPTX
PDF
Programming arduino makeymakey
PDF
Intro_to_Arduino_-_v30_1.pdf
PDF
Intro_to_AFrduinoFFFFFFFFFFF_-_v30_1.pdf
PDF
introductiontoarduino-111120102058-phpapp02.pdf
PDF
Electronics_Tutorial_2022_Slide543404210s.pdf
PPT
IntrotoArduino.ppt
Making things sense - Day 1 (May 2011)
Intro to Arduino
Arduino Hackday: Rebooting Computing
LED Cube Presentation Slides
Rebooting Computing chalkwell
02 General Purpose Input - Output on the Arduino
arduinocourse-180308074529 (1).pdf
Introduction to the Arduino
Arduino spooky projects_class3
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
Arduino learning
Programming arduino makeymakey
Intro_to_Arduino_-_v30_1.pdf
Intro_to_AFrduinoFFFFFFFFFFF_-_v30_1.pdf
introductiontoarduino-111120102058-phpapp02.pdf
Electronics_Tutorial_2022_Slide543404210s.pdf
IntrotoArduino.ppt

Recently uploaded

PPTX
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
PDF
The Tale of Melon City poem ppt by Sahasra
PPTX
2025-2026 History in your Hands Class 4 December 2025 January 2026 .pptx
PPTX
Details of Epithelial and Connective Tissue.pptx
PPTX
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
PPTX
Searching in PubMed andCochrane_Practical Presentation.pptx
PPTX
Limpitlaw "Licensing: From Mindset to Milestones"
PDF
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
PPTX
Semester 6 unit 2 Atopic dermatitis.pptx
PDF
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
PPTX
How to Configure Push & Pull Rule in Odoo 18 Inventory
PPTX
How to Manage Package Reservation in Odoo 18 Inventory
PDF
Analyzing the data of your initial survey
PPTX
Pig- piggy bank in Big Data Analytics.ppt.pptx
PDF
Digital Wellness in University Communities: Libraries as Guardians of Healthy...
PDF
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
DOCX
Mobile applications Devlopment ReTest year 2025-2026
PPTX
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
PDF
IMANI Africa files RTI request seeking full disclosure on 2026 SIM registrati...
PPTX
Details of Muscular-and-Nervous-Tissues.pptx
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
The Tale of Melon City poem ppt by Sahasra
2025-2026 History in your Hands Class 4 December 2025 January 2026 .pptx
Details of Epithelial and Connective Tissue.pptx
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
Searching in PubMed andCochrane_Practical Presentation.pptx
Limpitlaw "Licensing: From Mindset to Milestones"
The Drift Principle: When Information Accelerates Faster Than Minds Can Compress
Semester 6 unit 2 Atopic dermatitis.pptx
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
How to Configure Push & Pull Rule in Odoo 18 Inventory
How to Manage Package Reservation in Odoo 18 Inventory
Analyzing the data of your initial survey
Pig- piggy bank in Big Data Analytics.ppt.pptx
Digital Wellness in University Communities: Libraries as Guardians of Healthy...
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
Mobile applications Devlopment ReTest year 2025-2026
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
IMANI Africa files RTI request seeking full disclosure on 2026 SIM registrati...
Details of Muscular-and-Nervous-Tissues.pptx

Arduino Basics

  • 1.
    MAKING THINGS TALK An introduction to the basics of making with Arduino |  HAW x MASE |  Hamburg, Germany |  16.04.2012flickr 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 ExercisesImage via http://vasastudio.com/
  • 3.
    TOPICS Introduction Introduction in ProgrammingBasic Electronics Getting StartedThe Arduino Board Exercises
  • 4.
    WHAT ARE WEDOING Hardware Getting closer to electronic circuits Software Writing simple software for hardware
  • 5.
    THE ONE INFRONT Jörn Sandner Master Microelectronic Systems Study at the FH Heide plus one semester at the HAW Hamburg
  • 7.
    TOPICS Introduction Introduction in ProgrammingBasic Electronics Getting StartedThe Arduino Board Exercises
  • 8.
    VOLTAGE & CURRENTVoltage:speed of Current: amountthe electrons of electrons> potential difference > resistance of the circuit
  • 9.
    CIRCUITbutton light (LED) resistor + - battery
  • 10.
  • 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 ProgrammingBasic Electronics Getting StartedThe Arduino Board Exercises
  • 14.
    THE ARDUINO BOARD Serial to USB Converter Digital In & Out Pins USB Port Power LED MicrocontrollerPower Supply Connection Power Pins Analog Input Pins
  • 15.
    SOFTWAREarduino.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 INvoltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 22.
    ANALOG OUT‣ Thereis no real variable voltage output‣ Analog signal is generated by waveform with constant voltage and constant frequency
  • 23.
    ANALOG OUTvoltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 24.
    ANALOG OUT Always same periodvoltage 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 periodvoltage 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 OUTvoltage 50% 75% 25% 100% 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 27.
    ANALOG OUTvoltage 5V+ 4 3 2 1 GND 0 1 2 3 4 5 6 7 8 9 10 time
  • 28.
  • 29.
    TOPICS Introduction Introduction in ProgrammingBasic Electronics Getting StartedThe 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‣ YourArduino 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 ProgrammingBasic Electronics Getting StartedThe Arduino Board Exercises
  • 36.
    GETTING STARTED WITHBLINKING LED‣ Gather in groups‣ Get a Fritzing Kit‣ Start Arduino software‣ Follow me…
  • 37.
    TOPICS Introduction Introduction in ProgrammingBasic Electronics Getting StartedThe Arduino Board Exercises
  • 38.
    ANALOG OUTWITH FADINGhttp://www.youtube.com/watch?v=Y2cLxmNnpOE
  • 39.
    ANALOG IN WITHSERVO AND POT http://www.youtube.com/watch?v=SS6cntJ_LqQ
  • 40.
    ANALOG IN WITHSERVO AND LDR http://www.youtube.com/watch?v=m9J3mDYy0Sg
  • 41.
    PANDORA’S BOX20 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 OFTHE BEGINNING Jörn Sandner |  Prof. Franziska Hübler |  Jeremy Tai Abbett Truth Dare Double Dare |  www.truthdaredoubledare.com |  hello@truthdaredoubledare.com

[8]ページ先頭

©2009-2025 Movatter.jp