SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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)

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
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
 
11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY 11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY CDI Aljeer
 
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
 

Was ist angesagt? (20)

Lec 5
Lec 5Lec 5
Lec 5
 
Seven segment decoders
Seven segment decodersSeven segment decoders
Seven segment decoders
 
Nand gate
Nand gateNand gate
Nand gate
 
Object counter
Object counterObject counter
Object counter
 
Key vocabulary 10 & 11 g
Key vocabulary 10 & 11 gKey vocabulary 10 & 11 g
Key vocabulary 10 & 11 g
 
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
 
Experimentdsd[1]
Experimentdsd[1]Experimentdsd[1]
Experimentdsd[1]
 
Electronics Multisensor Shield
Electronics Multisensor ShieldElectronics Multisensor Shield
Electronics Multisensor Shield
 
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
 
Encoder
EncoderEncoder
Encoder
 
Arduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - RobomartArduino UNO R3 Projects - Robomart
Arduino UNO R3 Projects - Robomart
 
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
 
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
 
11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY 11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY
 
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
 

Andere mochten auch

Andere mochten auch (7)

Arduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting ComputingArduino Hackday: Rebooting Computing
Arduino Hackday: Rebooting Computing
 
Process (1)
Process (1)Process (1)
Process (1)
 
8 ashwin godghate 72 76
8 ashwin godghate 72 768 ashwin godghate 72 76
8 ashwin godghate 72 76
 
BIOLIFE JOURNAL 2 4 2014
BIOLIFE JOURNAL 2 4 2014BIOLIFE JOURNAL 2 4 2014
BIOLIFE JOURNAL 2 4 2014
 
Mapa capitulo 4 con audio
Mapa capitulo 4 con audioMapa capitulo 4 con audio
Mapa capitulo 4 con audio
 
οδηγίες
οδηγίεςοδηγίες
οδηγίες
 
Effective Poster Presentations
Effective Poster PresentationsEffective Poster Presentations
Effective Poster Presentations
 

Ähnlich wie Rebooting Computing chalkwell

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 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 Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming FamiliarizationAmit Kumer Podder
 
Hardware Hacking and Arduinos
Hardware Hacking and ArduinosHardware Hacking and Arduinos
Hardware Hacking and ArduinosHoward Mao
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbookFelipe Belarmino
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote controlVilayatAli5
 

Ähnlich wie Rebooting Computing chalkwell (20)

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
 
Fun with arduino
Fun with arduinoFun with arduino
Fun with arduino
 
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 Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Hardware Hacking and Arduinos
Hardware Hacking and ArduinosHardware Hacking and Arduinos
Hardware Hacking and Arduinos
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
ARDUINO (1).pdf
ARDUINO (1).pdfARDUINO (1).pdf
ARDUINO (1).pdf
 
Arduino electronics cookbook
Arduino electronics cookbookArduino electronics cookbook
Arduino electronics cookbook
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Arduino windows remote control
Arduino windows remote controlArduino windows remote control
Arduino windows remote control
 

Kürzlich hochgeladen

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"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
 

Kürzlich hochgeladen (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"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
 

Rebooting Computing chalkwell

  • 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)