SlideShare una empresa de Scribd logo
1 de 15
ARDUINO
Open Source

          Open Hardware

A simple computer which can gather input
from reality and interface outputs with the
  environment however you instruct it to

      http://arduinothedocumentary.org/
Fundamentals Of Arduino

• Write sketches or modify existing ones to
  suit your needs
• Wire an electrics circuit
• Upload the sketches to the Arduino (via
  USB connection) and connect the
  electrics circuit to the arduino, by joining
  wires to the sockets on the Arduino board
What is Arduino?

• 5V & GND : sources of power
• Inputs and Outputs
• Data transmission


Nomenclature

• On board sockets = Pins
• Any numbered pin = input
  or output
• TX = transmitting
  RX = receiving
• Arduino AKA microcontroller

                                fig (i)
Sources of Power




                                                    fig (ii)


  The arduino has three GND pins and one 5V out

  The pins can be used to create a 5v DC circuit,
_sufficient to illuminate an LED (fig ii, above)

  A resistor is necessary to ensure the current does not
_burn out the LED
Breadboard: An Arduinos Companion




 
   The breadboard holds components external to Arduino
 
   Each socket on a breadboard connects to a conductive
 _horizontal or vertical strip
Electrical Circuits




                                                   fig (iii)


  The yellow trail indicates the positive pole of this
circuit

  The green trail indicates the common or negative pole

  When both trails are linked by the LED, the circuit is
_completed
The Logic of Switches




                                                   fig (iv)

  The LED does not complete the circuit this time –
_instead a button links the positive and negative poles
_of the circuit

  A button can be pressed (ON) or not pressed (OFF)

  Depending on the buttons state (ON/OFF) the circuit
is _complete or open
Input & Output: Digital


  Digital Pin :: input & output

  Digital means two possible
  states
      
        HIGH/LOW = ON/OFF
           
             5v – 0v = ON/OFF

  Programmed code tells the
  arduino whether each pin is
  HIGH/LOW (aka on/off)

    (The arduino assumes a
    pin to be off until told
    otherwise)
                                      fig (v)
Digital Switches




                                                  fig (vi)


  This circuit is the same as fig (ii)

  This time the HIGH signal from digital pin 13
_supplies the 5v positive pole to the circuit
Digital Sensors

                    Digital pins detect whether a
                     circuit is in an ON or OFF
                     state
                    When arduino measures
                     voltage in a circuit it will
                     register
                     0 – 2.5v equal to LOW
                     2.5v – 5v equal to HIGH

                    LOW == OFF
                    HIGH == ON

        fig (vii)
Input & Output: Analog
* Analog Pin(s) :: input only
* Analog is different to digital
      *Analog equals continuous
      *Digital equals discreet




* Not just HIGH/LOW
* Instead 0 – 5v is a wider
   spectrum of values to measure

0 – 5v = 0 – 1023 in Arduino       fig (viii)
Multimeter: Good Electronics Practice

• Multimeter reads resistance,
  voltage and ampage

• Multimeter is a big help to
  making sure you’re
  electronic circuit works the
  way it should:
• a circuit should always work
  the way you expect it before
  writing/amending arduino
  code
Other Variable Resistors

• LDR
  = Light Dependant Resistor
• Thermistor
  = heat dependant resistor
• GSR
  = Galvanic Skin Response     Galvanic Skin Response
• FSR
  = Force sensitive resistor




                               Thermistor
Serial Port Communication
Serial Port is how the Arduino
Communicates with other Digital
Devices (E.G. the computer or a
digital SD card)

All computer tethered
communications go via the serial
port which arduino is connected
to

Serial Port data can be accessed
by software other than Arduino
programming software (most
readily via Processing)

Arduino can save data to SD
cards using the TX and RX
facilities (advanced feature)

Más contenido relacionado

La actualidad más candente

Key vocabulary 10 & 11 g
Key vocabulary 10 & 11 gKey vocabulary 10 & 11 g
Key vocabulary 10 & 11 gCDI Aljeer
 
Analog data transmission on rf module using arduino
Analog data transmission on rf module using arduinoAnalog data transmission on rf module using arduino
Analog data transmission on rf module using arduinoSagar Srivastav
 
Electronics Multisensor Shield
Electronics Multisensor ShieldElectronics Multisensor Shield
Electronics Multisensor ShieldLeopoldo Armesto
 
Wireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemWireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemSagar Srivastav
 
Digital object counter (group 12)
Digital object counter (group 12)Digital object counter (group 12)
Digital object counter (group 12)Aviral Srivastava
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
10 11_gen_revision_notes_term_3
10  11_gen_revision_notes_term_310  11_gen_revision_notes_term_3
10 11_gen_revision_notes_term_3CDI Aljeer
 
Arduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartArduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartRavi Kant Pal
 
How to Build a Digital Weighing Scale
How to Build a Digital Weighing ScaleHow to Build a Digital Weighing Scale
How to Build a Digital Weighing ScaleTacuna Systems
 
How to measure frequency and duty cycle using arduino
How to measure frequency and duty cycle using  arduinoHow to measure frequency and duty cycle using  arduino
How to measure frequency and duty cycle using arduinoSagar Srivastav
 
11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY 11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY CDI Aljeer
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingYuda Wardiana
 
ATTiny Light Sculpture Project - Part I (Setup)
ATTiny Light Sculpture Project - Part I (Setup)ATTiny Light Sculpture Project - Part I (Setup)
ATTiny Light Sculpture Project - Part I (Setup)Brian Huang
 
Build your own electronics lab
Build your own electronics labBuild your own electronics lab
Build your own electronics labKarim El-Rayes
 

La actualidad más candente (20)

Lec 5
Lec 5Lec 5
Lec 5
 
Seven segment decoders
Seven segment decodersSeven segment decoders
Seven segment decoders
 
Key vocabulary 10 & 11 g
Key vocabulary 10 & 11 gKey vocabulary 10 & 11 g
Key vocabulary 10 & 11 g
 
Nand gate
Nand gateNand gate
Nand gate
 
Object counter
Object counterObject counter
Object counter
 
Analog data transmission on rf module using arduino
Analog data transmission on rf module using arduinoAnalog data transmission on rf module using arduino
Analog data transmission on rf module using arduino
 
Electronics Multisensor Shield
Electronics Multisensor ShieldElectronics Multisensor Shield
Electronics Multisensor Shield
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Wireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemWireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring system
 
Digital object counter (group 12)
Digital object counter (group 12)Digital object counter (group 12)
Digital object counter (group 12)
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
10 11_gen_revision_notes_term_3
10  11_gen_revision_notes_term_310  11_gen_revision_notes_term_3
10 11_gen_revision_notes_term_3
 
Arduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartArduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - Robomart
 
Encoder
EncoderEncoder
Encoder
 
How to Build a Digital Weighing Scale
How to Build a Digital Weighing ScaleHow to Build a Digital Weighing Scale
How to Build a Digital Weighing Scale
 
How to measure frequency and duty cycle using arduino
How to measure frequency and duty cycle using  arduinoHow to measure frequency and duty cycle using  arduino
How to measure frequency and duty cycle using arduino
 
11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY 11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY
 
Monitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recordingMonitoring temperature rumah dengan display lcd dan recording
Monitoring temperature rumah dengan display lcd dan recording
 
ATTiny Light Sculpture Project - Part I (Setup)
ATTiny Light Sculpture Project - Part I (Setup)ATTiny Light Sculpture Project - Part I (Setup)
ATTiny Light Sculpture Project - Part I (Setup)
 
Build your own electronics lab
Build your own electronics labBuild your own electronics lab
Build your own electronics lab
 

Similar a Arduino Hackday: Rebooting Computing

Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004DO!MAKERS
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Electronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfElectronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfvikknaguem
 
Unit 2-IoT.ppt Introduction to Elements of IOT
Unit 2-IoT.ppt  Introduction to Elements of IOTUnit 2-IoT.ppt  Introduction to Elements of IOT
Unit 2-IoT.ppt Introduction to Elements of IOTpoojashinde511268
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slidesmkarlin14
 
Arduino slides
Arduino slidesArduino slides
Arduino slidessdcharle
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming FamiliarizationAmit Kumer Podder
 
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNOPOWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNOMarcheryAlingal
 
Arduino ohm meter by Engr.Danish Nouman
Arduino ohm meter  by Engr.Danish NoumanArduino ohm meter  by Engr.Danish Nouman
Arduino ohm meter by Engr.Danish Nouman4319961511995
 
ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptLam Hung
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbookFelipe Belarmino
 
IoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensorsIoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensorssaritasapkal
 

Similar a Arduino Hackday: Rebooting Computing (20)

Rebooting Computing chalkwell
Rebooting Computing chalkwellRebooting Computing chalkwell
Rebooting Computing chalkwell
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Arduino workshop sensors
Arduino workshop sensorsArduino workshop sensors
Arduino workshop sensors
 
Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011Arduino Comic-Jody Culkin-2011
Arduino Comic-Jody Culkin-2011
 
Arduino comic v0004
Arduino comic v0004Arduino comic v0004
Arduino comic v0004
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Electronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdfElectronics_Tutorial_2022_Slide543404210s.pdf
Electronics_Tutorial_2022_Slide543404210s.pdf
 
Unit 2-IoT.ppt Introduction to Elements of IOT
Unit 2-IoT.ppt  Introduction to Elements of IOTUnit 2-IoT.ppt  Introduction to Elements of IOT
Unit 2-IoT.ppt Introduction to Elements of IOT
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
ARDUINO (1).pdf
ARDUINO (1).pdfARDUINO (1).pdf
ARDUINO (1).pdf
 
Fun with arduino
Fun with arduinoFun with arduino
Fun with arduino
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNOPOWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
POWERPOINT PRESENTATION ABOUT THE PARTS OF ARDUINO UNO
 
Arduino ohm meter by Engr.Danish Nouman
Arduino ohm meter  by Engr.Danish NoumanArduino ohm meter  by Engr.Danish Nouman
Arduino ohm meter by Engr.Danish Nouman
 
ArduinoSectionI-slides.ppt
ArduinoSectionI-slides.pptArduinoSectionI-slides.ppt
ArduinoSectionI-slides.ppt
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
IoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensorsIoT Basics with few Embedded System Connections for sensors
IoT Basics with few Embedded System Connections for sensors
 

Último

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Último (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Arduino Hackday: Rebooting Computing

  • 2. Open Source Open Hardware A simple computer which can gather input from reality and interface outputs with the environment however you instruct it to http://arduinothedocumentary.org/
  • 3. Fundamentals Of Arduino • Write sketches or modify existing ones to suit your needs • Wire an electrics circuit • Upload the sketches to the Arduino (via USB connection) and connect the electrics circuit to the arduino, by joining wires to the sockets on the Arduino board
  • 4. What is Arduino? • 5V & GND : sources of power • Inputs and Outputs • Data transmission Nomenclature • On board sockets = Pins • Any numbered pin = input or output • TX = transmitting RX = receiving • Arduino AKA microcontroller fig (i)
  • 5. Sources of Power fig (ii)  The arduino has three GND pins and one 5V out  The pins can be used to create a 5v DC circuit, _sufficient to illuminate an LED (fig ii, above)  A resistor is necessary to ensure the current does not _burn out the LED
  • 6. Breadboard: An Arduinos Companion  The breadboard holds components external to Arduino  Each socket on a breadboard connects to a conductive _horizontal or vertical strip
  • 7. Electrical Circuits fig (iii)  The yellow trail indicates the positive pole of this circuit  The green trail indicates the common or negative pole  When both trails are linked by the LED, the circuit is _completed
  • 8. The Logic of Switches fig (iv)  The LED does not complete the circuit this time – _instead a button links the positive and negative poles _of the circuit  A button can be pressed (ON) or not pressed (OFF)  Depending on the buttons state (ON/OFF) the circuit is _complete or open
  • 9. Input & Output: Digital  Digital Pin :: input & output  Digital means two possible states  HIGH/LOW = ON/OFF  5v – 0v = ON/OFF  Programmed code tells the arduino whether each pin is HIGH/LOW (aka on/off) (The arduino assumes a pin to be off until told otherwise) fig (v)
  • 10. Digital Switches fig (vi)  This circuit is the same as fig (ii)  This time the HIGH signal from digital pin 13 _supplies the 5v positive pole to the circuit
  • 11. Digital Sensors Digital pins detect whether a circuit is in an ON or OFF state When arduino measures voltage in a circuit it will register 0 – 2.5v equal to LOW 2.5v – 5v equal to HIGH LOW == OFF HIGH == ON fig (vii)
  • 12. Input & Output: Analog * Analog Pin(s) :: input only * Analog is different to digital *Analog equals continuous *Digital equals discreet * Not just HIGH/LOW * Instead 0 – 5v is a wider spectrum of values to measure 0 – 5v = 0 – 1023 in Arduino fig (viii)
  • 13. Multimeter: Good Electronics Practice • Multimeter reads resistance, voltage and ampage • Multimeter is a big help to making sure you’re electronic circuit works the way it should: • a circuit should always work the way you expect it before writing/amending arduino code
  • 14. Other Variable Resistors • LDR = Light Dependant Resistor • Thermistor = heat dependant resistor • GSR = Galvanic Skin Response Galvanic Skin Response • FSR = Force sensitive resistor Thermistor
  • 15. Serial Port Communication Serial Port is how the Arduino Communicates with other Digital Devices (E.G. the computer or a digital SD card) All computer tethered communications go via the serial port which arduino is connected to Serial Port data can be accessed by software other than Arduino programming software (most readily via Processing) Arduino can save data to SD cards using the TX and RX facilities (advanced feature)

Notas del editor

  1. Arduino is referred to as an open source physical computing platform. The open source element of the Arduino is significant in itself and it has opened up electronics projects to a massive range of people. Arduino is 7 years old (launched in 2005) and has had a massive impact, an impact documented in the recently released Arduino: The Documentary The software used for Arduino is based on Processing – which is an open source language developed by Casey Reas and Ben Fry The hardware is made in Italy and all the schematics for constructing the board have been made openly available by the creators. The arduino is basically a very simple computer, and when you connect it up to electronic components you are responsible for designing the arduino’s interface to reality. Essentially the arduino lets you compute reality (or experience). And due to it’s simplicity the depth of experience which it can compute is consequently quite crude (low resolution). The arduino is also useful for computer – environment interaction.” - COSM & Citizen Science
  2. One of the major benefits of Arduino’s open source heritage is the amount of resources available to you if you get curious about doing further projects with it. The community that has built up around the project are very helpful When you first come to code with Arduino this is a massive learning aid. Arduino is closely linked to electronics as it began as a means to prototype inventions quickly without robotics know how. The co-creator of the platform Massimo Banzi pictured it as sketching but with electronics instead of a pen and paper. And coincidentally, arduino code is referred to as 'sketches' rather than the usual nomenclature for code, which would be scripts. You write these scripts on the computer, and then upload them to the board via USB
  3. Sources of Power – any socket on the board with either “five v” or g-n-d labels beside are used to power external elements from the arduino. The five v is like the plus of a battery and the GND is like the negative. Inputs and Outputs On either side of the arduino are Digital pins, numbered 0 – 13 and analog pins numbered 0 – 5. By plugging electrical wires into these sockets (which are known as pins in the nomenclature around arduino) you can create interactive hardware. Data Transmission On pins 0 and 1 on the Digital Pin side of the board, you should see TX and RX labelled. Also there are two lights near pins 12 & 13 labelled the same. Mechanisms for transferring data to other hardware or back to the computer which the arduino is plugged into. Arduino works in the following way. You upload code from the computer onto the arduino board itself. The arduino board will have methods of sensing or acting upon reality though it's Input & Output pins.
  4. Nearly everything that you code into arduino will have a real world physical counterpart. And when you get started that real world counterpart is something called a breadboard – on the left hand side of that drawing. By connecting your arduino to a USB port you are supplying it with power. In the arduino cartoon schematic above I've illustrated how you could use the arduinos built in power to drive an LED – a light emitting diode. You use a lot of these when you play with arduino – for debugging and prettifying
  5. It’s also known as a rapid prototyping board. Basically it’s a way to arrange electronic circuits without having to go through the hassle of soldering. It’s a little like lego with electronics
  6. We talk of electronics circuits because electricity always has to close its own loop, so when you have a high of 5 volts you need somewhere for that energy to travel to, which is provided by the GND pin, effectively equivalent to 0 volts.
  7. In the middle is a button, which is like a like switch, a socket button etc. If you can suggest any other buttons to me that would be great as I live in the world of touchscreens and keyboards so my experience of buttons is impoverished. When the button isn't pressed, no voltage can flow to the LED. When you press it the voltage can flow across to the LED. We can think of the time when the LED is OFF as LOW . When there is high voltage turning the LED ON we can think of it in a HIGH state. These terms are useful in understanding the terminology used within Arduino code The circuits you assemble on your breadboard are as much a part of the entire logical system that you are creating as is the code you will type into the computer and upload to the board. But electronics and arduino code has their own respective logical parameters. They do operate by different logics, which will become more obvious the more we play with it.
  8. Digital pins on on the side which has a row of pins numbered 0 to 13, and a further 2 pins labelled A-R-E-F and G-N-D.” We will get to the other set of pins later. We’ve got 13 digital pins or sockets on the RHS of the board. We also have a ground on this side These pins are the most used way of making the arduino do big things in the real world. It’s basically a way for you to switch things on and off. When you set a Digital Pin to ON it sends a HIGH voltage of 5 volts to whereever it is connected.
  9. Here is the same LED, but connected to a digital pin. The Digital Pins are one of arduino’s ways of interacting with the real world, that’s to drive things in an on/off binary manner. There is a caveat however, the arduino can only provide 20 milliamps of power, which isn’t enough to power all that much. But the arduino is quite modular and with a bit of electronics know how you can use circuit amplifiers and relays (and in some cases transistors) to boost the power output of your arduino.
  10. The pin powering an LED is a one way flow. Just as Arduino can tell something to turn on or off it can also recognise whether something is on or off via the same digital pins. These same digital pins can be used as sensors – they can be both inputs and outputs A real world “switch circuit” – things which are natually in a high or low state EG a light bulb a dam/canal dock Arduino sends out a high or low voltage to turn things on and off. It recognises whether something is switched on or off by sensing the voltage value. It will read anything up to approx. 2.5 volts as low and anything above as high. These two activities are the digital functionalities of the arduino ON/OFF = Binary
  11. The arduino can also sense electrical signals in a more subtle way than binary on/off provided by DigitalRead The arduino has greater facilities than just that, and it is provided by the analogIn pins. The analog values only go from 0 – 1023. So the arduino samples whatever voltage it is reading into 1024 subsections. The conversion to analog values is accomplished by a 10 bit resolution A/D (analog-to-digital) converter
  12. These are pretty essential kit for when you’re working with arduino, and if you use them correctly to test your circuits you will use yourself a lot of stress. You can test voltage, resistance and amperes with this tool. We can effectively use the arduino as a voltmeter. We can use changes in a voltage signal (whether due to resistance or otherwise) as input from the real world to make data or make the arduino do things.
  13. Pins 0 and 1 are marked TX and RX respectively. These pins are used by the arduino to communicate with the computer. The LEDs also marked TX and RX when you upload the script, you’ll see them flicker as the computer communicates the script to the arduino. Arduino's functionality can be enhanced by “shields”, many of these shields utilise the TX/RX ports for data transmission. These shields make the arduino robust and modular