SlideShare a Scribd company logo
1 of 11
ARDUINO ENVIRONMENT
TUTORIAL
LAST PICKS
INTRODUCTION TO ARDUINO
• Open-source electronics platform (original source
code is freely available to be redistributed and
modified)
• Arduino Boards: microcontroller that reads input
and turns into outputs (i.e. finger on button turns
on an LED light)
• Instruct Arduino Board using Arduino Programming
Language and Arduino Software (IDE) communicating
through the board’s microcontroller
• Void setup() & Void Loop();
[1]
ARDUINO UNO
• Microcontroller with:
• 14 digital inputs
• 6 analog inputs with 10-bit resolution
• Can be:
• Purchased on eBay for $6
• Programmed in C
• Interfaced to a computer through USB
• Interfaced to many sensors
[3]
TUTORIAL: SETUP
• Buy Arduino UNO board from Adafruit, Element14, or another
Arduino Distributor
• Download the software in this link:
https://www.arduino.cc/en/Main/Software
• Buy a starter electronics kit for building circuits (Optional):
https://www.amazon.com/16Hertz-Electronics-Breadboard-
Resistors-Raspberry/dp/B00J4RN61A
• Launch downloaded software - Arduino IDE
TUTORIAL: INITIALIZING
• Click on Arduino Uno in the
Boards
option under the Tools tab
• Begin writing program:
• Example shown later
TUTORIAL: UPLOADING TO BOARD
• Save your code
• Connect the board to the PC through the microcontroller and USB
port
• Upload to Arduino board by clicking the arrow
• Provide Power to the Arduino board to run indefinitely
TUTORIAL: SHUTTING DOWN
• Remove Power Source to stop the program
• Exit software anytime after upload to board
AN ARDUINO EXAMPLE
Stoplight
[2]
CODE
int red = 10;
int yellow = 9;
int green = 8;
void setup() {
pinMode(red,OUTPUT);
pinMode(yellow,OUTPUT);
pinMode(green,OUTPUT);
digitalWrite(green,HIGH);
Serial.begin(9600);
digitalWrite(green,HIGH);
Serial.println("Begin green
light");
delay(2000);
}
void loop() {
changeLights();
delay(3000);
}
[2]
void changeLights(){
Serial.println("Light Changes");
Serial.println("Yellow");
digitalWrite(green,LOW);
digitalWrite(yellow,HIGH);
delay(3000);
Serial.println("Red");
digitalWrite(yellow,LOW);
digitalWrite(red,HIGH);
delay(5000);
Serial.println("Green");
digitalWrite(yellow,LOW);
digitalWrite(red,LOW);
digitalWrite(green,HIGH);
delay(3000);
}
ARDUINO IN INDUSTRIAL ENGINEERING
• Arduino-based data acquisition
• Interfacing Arduino to Excel, MATLAB, and
LabVIEW
• Arduino-based tensile tester
• Tensile testing done to measure
mechanical properties
• Two parameters measured
• Load applied to sample
• Sample’s extension
• Reprogramming the robotic arm using
Arduino
• Project designed to sort glass and non-
glass waste
• Arm controlled by Arduino microcontroller
• Optical sensor used to distinguish between
parts
Tensile tester wiring
configuration for 5 kg load
cell and ultrasonic sensor
OTHER ARDUINO APPLICATIONS
• Break timer using a Mac computer
• Macs can’t communicate with motors, robots, sensors, etc without
something acting as a translator
• BreakTimer enables Mac to tell whether someone is sitting and if he/she
has been sitting for too long
• Real-time location systems
• GPS continually takes input data from satellite and stores longitude and
latitude
• Arduino Uno takes last received coordinates from GpsGate and sends
message to Google Earth
• Current location can then be shown on platform of choice
• Processing and image compression
• Arduino used as control element to integrate proposed algorithms
• Arduino enables further adjustments
[4], [5], [7]
REFERENCES
[1] Getting Started | Foundation - Introduction. (n.d.). Retrieved November 27, 2017, from
https://www.arduino.cc/en/Guide/Introduction
[2] Lee, J., Stegner, B., & Coburn, J. (2017, January 06). Arduino Programming For Beginners: The Traffic Light
Controller. Retrieved November 27, 2017, from http://www.makeuseof.com/tag/arduino-traffic-light-
controller/
[3] Nichols, D. (2017). Arduino-Based Data Acquisition into Excel, LabVIEW, and MATLAB. Physics Teacher,
55(4), 226-227. doi:10.1119/1.4978720
[4] Jepson, B. (2008). Control the World. Macworld, 25(6), 88-90.
[5] Ibrahim, M. M., & Audah, L. (2017). Real-Time Bus Location Monitoring Using Arduino. AIP Conference
Proceedings, 1883(1), 1-10. doi:10.1063/1.5002034
[6] Arrizabalaga, J. H., Simmons, A. D., & Nollert, M. U. (2017). Fabrication of an Economical Arduino-Based
Uniaxial Tensile Tester. Journal Of Chemical Education, 94(4), 530-533.
doi:10.1021/acs.jchemed.6b00639
[7] Lazar, J., Kostolanyova, K., & Bradac, V. (2017). Processing and Image Compression Based on the Platform
Arduino. AIP Conference Proceedings, 1863(1), 1-4. doi:10.1063/1.4992247
[8] Razali, Z. B., Mohamed Mydin M. Abdul, K., Akmal Kadir, M. A., & Daud, M. H. (2017). Reprogramming the

More Related Content

What's hot

Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Sayan Seth
 
Robotics and microcontroller (Introduction to Arduino)
Robotics and microcontroller (Introduction to Arduino)Robotics and microcontroller (Introduction to Arduino)
Robotics and microcontroller (Introduction to Arduino)Muhammad Bilal
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
 
LinnStrument : the ultimate open-source hacker instrument
LinnStrument : the ultimate open-source hacker instrumentLinnStrument : the ultimate open-source hacker instrument
LinnStrument : the ultimate open-source hacker instrumentGeert Bevin
 
Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Satoru Tokuhisa
 
Arduino slides
Arduino slidesArduino slides
Arduino slidessdcharle
 
From Arduino to LinnStrument
From Arduino to LinnStrumentFrom Arduino to LinnStrument
From Arduino to LinnStrumentGeert Bevin
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1elketeaches
 
Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseAlfonso Crisci
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoOmer Kilic
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the ArduinoWingston
 
Making things sense-Day 2 (May 2011)
Making things sense-Day 2 (May 2011)Making things sense-Day 2 (May 2011)
Making things sense-Day 2 (May 2011)markumoto
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
Arduino projects-pdf-download-list-jan-2015
Arduino projects-pdf-download-list-jan-2015Arduino projects-pdf-download-list-jan-2015
Arduino projects-pdf-download-list-jan-2015Hafid Moujane
 
Various input devices showing their features
Various input devices showing their featuresVarious input devices showing their features
Various input devices showing their featuresLavan1997
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2elketeaches
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsShubham Bhattacharya
 

What's hot (20)

Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
Color Recognition with Matlab Image Processing and Matlab Interfacing with Ar...
 
Robotics and microcontroller (Introduction to Arduino)
Robotics and microcontroller (Introduction to Arduino)Robotics and microcontroller (Introduction to Arduino)
Robotics and microcontroller (Introduction to Arduino)
 
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriArduino for beginners- Introduction to Arduino (presentation) - codewithgauri
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauri
 
LinnStrument : the ultimate open-source hacker instrument
LinnStrument : the ultimate open-source hacker instrumentLinnStrument : the ultimate open-source hacker instrument
LinnStrument : the ultimate open-source hacker instrument
 
Multi Sensory Communication 1/2
Multi Sensory Communication 1/2Multi Sensory Communication 1/2
Multi Sensory Communication 1/2
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
From Arduino to LinnStrument
From Arduino to LinnStrumentFrom Arduino to LinnStrument
From Arduino to LinnStrument
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1
 
Arduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro MateseArduino in Agricoltura -Alessandro Matese
Arduino in Agricoltura -Alessandro Matese
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Arduino
ArduinoArduino
Arduino
 
Making things sense-Day 2 (May 2011)
Making things sense-Day 2 (May 2011)Making things sense-Day 2 (May 2011)
Making things sense-Day 2 (May 2011)
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
Arduino projects-pdf-download-list-jan-2015
Arduino projects-pdf-download-list-jan-2015Arduino projects-pdf-download-list-jan-2015
Arduino projects-pdf-download-list-jan-2015
 
Various input devices showing their features
Various input devices showing their featuresVarious input devices showing their features
Various input devices showing their features
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
 

Similar to Arduino Environment Tutorial

Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino Dennis Espiritu
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptxAkshat Bijronia
 
4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdfRynefelElopre2
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programmingPunit Goswami
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfMayuRana1
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptxAlexRiv4
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoDamien Magoni
 
Interoperability in Internet of Things (IOT)
Interoperability in Internet of Things (IOT)Interoperability in Internet of Things (IOT)
Interoperability in Internet of Things (IOT)manditalaskar123
 
Building IoT with Arduino Day One
Building IoT with Arduino Day One Building IoT with Arduino Day One
Building IoT with Arduino Day One Anthony Faustine
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxethannguyen1618
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfssusere5db05
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxSAMTECH ELECTRONICS CONCEPT
 
arduino 320126512170.pptx
arduino 320126512170.pptxarduino 320126512170.pptx
arduino 320126512170.pptxpriyaanaparthy
 

Similar to Arduino Environment Tutorial (20)

Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino day
Arduino dayArduino day
Arduino day
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
 
Arduino intro.pptx
Arduino intro.pptxArduino intro.pptx
Arduino intro.pptx
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
Interoperability in Internet of Things (IOT)
Interoperability in Internet of Things (IOT)Interoperability in Internet of Things (IOT)
Interoperability in Internet of Things (IOT)
 
Building IoT with Arduino Day One
Building IoT with Arduino Day One Building IoT with Arduino Day One
Building IoT with Arduino Day One
 
teststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptxteststststststLecture_3_2022_Arduino.pptx
teststststststLecture_3_2022_Arduino.pptx
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
 
Arduino course
Arduino courseArduino course
Arduino course
 
Overview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptxOverview of Arduino by Bamidele Samuel Office.pptx
Overview of Arduino by Bamidele Samuel Office.pptx
 
Aurdino presentation
Aurdino presentationAurdino presentation
Aurdino presentation
 
arduino 320126512170.pptx
arduino 320126512170.pptxarduino 320126512170.pptx
arduino 320126512170.pptx
 

Recently uploaded

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 

Recently uploaded (20)

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 

Arduino Environment Tutorial

  • 2. INTRODUCTION TO ARDUINO • Open-source electronics platform (original source code is freely available to be redistributed and modified) • Arduino Boards: microcontroller that reads input and turns into outputs (i.e. finger on button turns on an LED light) • Instruct Arduino Board using Arduino Programming Language and Arduino Software (IDE) communicating through the board’s microcontroller • Void setup() & Void Loop(); [1]
  • 3. ARDUINO UNO • Microcontroller with: • 14 digital inputs • 6 analog inputs with 10-bit resolution • Can be: • Purchased on eBay for $6 • Programmed in C • Interfaced to a computer through USB • Interfaced to many sensors [3]
  • 4. TUTORIAL: SETUP • Buy Arduino UNO board from Adafruit, Element14, or another Arduino Distributor • Download the software in this link: https://www.arduino.cc/en/Main/Software • Buy a starter electronics kit for building circuits (Optional): https://www.amazon.com/16Hertz-Electronics-Breadboard- Resistors-Raspberry/dp/B00J4RN61A • Launch downloaded software - Arduino IDE
  • 5. TUTORIAL: INITIALIZING • Click on Arduino Uno in the Boards option under the Tools tab • Begin writing program: • Example shown later
  • 6. TUTORIAL: UPLOADING TO BOARD • Save your code • Connect the board to the PC through the microcontroller and USB port • Upload to Arduino board by clicking the arrow • Provide Power to the Arduino board to run indefinitely TUTORIAL: SHUTTING DOWN • Remove Power Source to stop the program • Exit software anytime after upload to board
  • 8. CODE int red = 10; int yellow = 9; int green = 8; void setup() { pinMode(red,OUTPUT); pinMode(yellow,OUTPUT); pinMode(green,OUTPUT); digitalWrite(green,HIGH); Serial.begin(9600); digitalWrite(green,HIGH); Serial.println("Begin green light"); delay(2000); } void loop() { changeLights(); delay(3000); } [2] void changeLights(){ Serial.println("Light Changes"); Serial.println("Yellow"); digitalWrite(green,LOW); digitalWrite(yellow,HIGH); delay(3000); Serial.println("Red"); digitalWrite(yellow,LOW); digitalWrite(red,HIGH); delay(5000); Serial.println("Green"); digitalWrite(yellow,LOW); digitalWrite(red,LOW); digitalWrite(green,HIGH); delay(3000); }
  • 9. ARDUINO IN INDUSTRIAL ENGINEERING • Arduino-based data acquisition • Interfacing Arduino to Excel, MATLAB, and LabVIEW • Arduino-based tensile tester • Tensile testing done to measure mechanical properties • Two parameters measured • Load applied to sample • Sample’s extension • Reprogramming the robotic arm using Arduino • Project designed to sort glass and non- glass waste • Arm controlled by Arduino microcontroller • Optical sensor used to distinguish between parts Tensile tester wiring configuration for 5 kg load cell and ultrasonic sensor
  • 10. OTHER ARDUINO APPLICATIONS • Break timer using a Mac computer • Macs can’t communicate with motors, robots, sensors, etc without something acting as a translator • BreakTimer enables Mac to tell whether someone is sitting and if he/she has been sitting for too long • Real-time location systems • GPS continually takes input data from satellite and stores longitude and latitude • Arduino Uno takes last received coordinates from GpsGate and sends message to Google Earth • Current location can then be shown on platform of choice • Processing and image compression • Arduino used as control element to integrate proposed algorithms • Arduino enables further adjustments [4], [5], [7]
  • 11. REFERENCES [1] Getting Started | Foundation - Introduction. (n.d.). Retrieved November 27, 2017, from https://www.arduino.cc/en/Guide/Introduction [2] Lee, J., Stegner, B., & Coburn, J. (2017, January 06). Arduino Programming For Beginners: The Traffic Light Controller. Retrieved November 27, 2017, from http://www.makeuseof.com/tag/arduino-traffic-light- controller/ [3] Nichols, D. (2017). Arduino-Based Data Acquisition into Excel, LabVIEW, and MATLAB. Physics Teacher, 55(4), 226-227. doi:10.1119/1.4978720 [4] Jepson, B. (2008). Control the World. Macworld, 25(6), 88-90. [5] Ibrahim, M. M., & Audah, L. (2017). Real-Time Bus Location Monitoring Using Arduino. AIP Conference Proceedings, 1883(1), 1-10. doi:10.1063/1.5002034 [6] Arrizabalaga, J. H., Simmons, A. D., & Nollert, M. U. (2017). Fabrication of an Economical Arduino-Based Uniaxial Tensile Tester. Journal Of Chemical Education, 94(4), 530-533. doi:10.1021/acs.jchemed.6b00639 [7] Lazar, J., Kostolanyova, K., & Bradac, V. (2017). Processing and Image Compression Based on the Platform Arduino. AIP Conference Proceedings, 1863(1), 1-4. doi:10.1063/1.4992247 [8] Razali, Z. B., Mohamed Mydin M. Abdul, K., Akmal Kadir, M. A., & Daud, M. H. (2017). Reprogramming the

Editor's Notes

  1. Void setup – initialize all variables (goes through once during setup) Void loop – infinite loop of code that will run the entire time