SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Some Kind of User Group
(SKUG)
Arduino Core Environment
What is Arduino?
Arduino Is…
• An open-source electronics prototyping platform
• Based on flexible, easy to use hardware and software
• Intended for students, designers, hobbyists, and others
• Able to receive input from sensors
• Able to send output to lights, motors, and other actuators
Why use Arduino?
• Inexpensive
• Cross-platform
• Simple programming environment
• Open source and extensible software
• Open source and extensible hardware
Basics
• Programming language is based onWiring
• Development environment is based on Processing
• A program in Arduino is called a Sketch
• Two main functions that are part of every Sketch
• setup(): Called once when the Sketch starts
• loop(): Called over and over and is the main part of the Sketch
• Both functions must be present even if not needed
Microcontrollers
• Digital pins can be configured as inputs or outputs
• Pins default to input so no need to declare explicitly
• Pins configured as output can provide substantial current to other circuits
• Provides enough current to power an LED or other sensors
• Does not provide enough current to power motors or solenoids
Development
• Windows:Arduino IDE, Visual Studio plugin
• Linux, Mac OS X:Arduino IDE
• Bare Minimum of code for a sketch:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Standard Libraries
• EEPROM - reading and writing to "permanent" storage
• Ethernet - for connecting to the internet using theArduino Ethernet Shield
• Firmata - for communicating with applications on the computer using a standard serial protocol.
• GSM - for connecting to a GSM/GRPS network with the GSM shield.
• LiquidCrystal - for controlling liquid crystal displays (LCDs)
• SD - for reading and writing SD cards
• Servo - for controlling servo motors
• SPI - for communicating with devices using the Serial Peripheral Interface (SPI) Bus
• SoftwareSerial - for serial communication on any digital pins.
• Stepper - for controlling stepper motors
• WiFi - for connecting to the internet using theArduinoWiFi shield
• Wire -TwoWire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.
ConnectYour Arduino
• Get an Arduino board and cable
• Download the Arduino IDE
• Connect the board via USB
• Install the drivers
• Launch the Arduino IDE
UploadYour Sketch
• Create new or open existing sketch
• Select your board
• Select your serial port
• Upload your sketch
Questions
?
References
• ArduinoWebsite: http://www.Arduino.cc
• Wikipedia: http://en.wikipedia.org/wiki/Arduino
• Wiring: http://wiring.org.co/
• Processing: http://www.processing.org/

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Arduino course
Arduino courseArduino course
Arduino course
 
Making things sense - Day 1 (May 2011)
Making things sense - Day 1 (May 2011)Making things sense - Day 1 (May 2011)
Making things sense - Day 1 (May 2011)
 
Get To Know Galileo
Get To Know GalileoGet To Know Galileo
Get To Know Galileo
 
Intel Curie Presentation
Intel Curie PresentationIntel Curie Presentation
Intel Curie Presentation
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontroller
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
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
 
Introduction to arduino!
Introduction to arduino!Introduction to arduino!
Introduction to arduino!
 
Arduino uno
Arduino unoArduino uno
Arduino uno
 
Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu Wi-Fi Esp8266 nodemcu
Wi-Fi Esp8266 nodemcu
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
 
TMS320DM8148 Embedded Linux
TMS320DM8148 Embedded LinuxTMS320DM8148 Embedded Linux
TMS320DM8148 Embedded Linux
 
Intro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino UnoIntro to Hardware Programming with the Arduino Uno
Intro to Hardware Programming with the Arduino Uno
 
NXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded LinuxNXP IMX6 Processor - Embedded Linux
NXP IMX6 Processor - Embedded Linux
 
Arduino
ArduinoArduino
Arduino
 
Arduino
ArduinoArduino
Arduino
 
Introduction Arduino uno
Introduction Arduino uno Introduction Arduino uno
Introduction Arduino uno
 

Andere mochten auch

Interface gsm with 8051 microcontroller (at89 c51)
Interface gsm with 8051 microcontroller (at89 c51)Interface gsm with 8051 microcontroller (at89 c51)
Interface gsm with 8051 microcontroller (at89 c51)
mdkousik
 
home appliance control using gsm
home appliance control using gsmhome appliance control using gsm
home appliance control using gsm
Chinmoy Jena
 

Andere mochten auch (10)

Interface gsm with 8051 microcontroller (at89 c51)
Interface gsm with 8051 microcontroller (at89 c51)Interface gsm with 8051 microcontroller (at89 c51)
Interface gsm with 8051 microcontroller (at89 c51)
 
GSM GPRS sim900 a modem with aurdino compatible
GSM GPRS sim900 a modem with aurdino compatibleGSM GPRS sim900 a modem with aurdino compatible
GSM GPRS sim900 a modem with aurdino compatible
 
Vehicle accident detection and messaging system using GSM and arduino
Vehicle accident detection and messaging system using GSM and arduinoVehicle accident detection and messaging system using GSM and arduino
Vehicle accident detection and messaging system using GSM and arduino
 
Sensors for water level, soil moisture temp & r.humidity
Sensors for water level, soil moisture temp & r.humiditySensors for water level, soil moisture temp & r.humidity
Sensors for water level, soil moisture temp & r.humidity
 
home appliance control using gsm
home appliance control using gsmhome appliance control using gsm
home appliance control using gsm
 
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
 
Full gsm overview (modified)
Full gsm overview  (modified)Full gsm overview  (modified)
Full gsm overview (modified)
 
Gsm.....ppt
Gsm.....pptGsm.....ppt
Gsm.....ppt
 
Vehicle tracking system using gps and gsm techniques
Vehicle tracking system using gps and gsm techniquesVehicle tracking system using gps and gsm techniques
Vehicle tracking system using gps and gsm techniques
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Ähnlich wie What is Arduino

Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 

Ähnlich wie What is Arduino (20)

4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf4 Introduction to Arduino.pdf
4 Introduction to Arduino.pdf
 
Introduction of Arduino Uno
Introduction of Arduino UnoIntroduction of Arduino Uno
Introduction of Arduino Uno
 
arduino.pdf
arduino.pdfarduino.pdf
arduino.pdf
 
wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3wireless charging of an electrical vechicle 3
wireless charging of an electrical vechicle 3
 
Integrated development environment
Integrated development environmentIntegrated development environment
Integrated development environment
 
arduinoedit.pptx
arduinoedit.pptxarduinoedit.pptx
arduinoedit.pptx
 
Introduction to Arduino.pptx
Introduction to Arduino.pptxIntroduction to Arduino.pptx
Introduction to Arduino.pptx
 
Getting started with arduino uno
Getting started with arduino unoGetting started with arduino uno
Getting started with arduino uno
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)Connecting Hardware to Flex (360MAX)
Connecting Hardware to Flex (360MAX)
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Arduino
ArduinoArduino
Arduino
 
Arduino day
Arduino dayArduino day
Arduino day
 
Arduino.pptx
Arduino.pptxArduino.pptx
Arduino.pptx
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Arduino Platform with C programming.
Arduino Platform with C programming.Arduino Platform with C programming.
Arduino Platform with C programming.
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

What is Arduino

  • 1. Some Kind of User Group (SKUG) Arduino Core Environment
  • 3. Arduino Is… • An open-source electronics prototyping platform • Based on flexible, easy to use hardware and software • Intended for students, designers, hobbyists, and others • Able to receive input from sensors • Able to send output to lights, motors, and other actuators
  • 4. Why use Arduino? • Inexpensive • Cross-platform • Simple programming environment • Open source and extensible software • Open source and extensible hardware
  • 5. Basics • Programming language is based onWiring • Development environment is based on Processing • A program in Arduino is called a Sketch • Two main functions that are part of every Sketch • setup(): Called once when the Sketch starts • loop(): Called over and over and is the main part of the Sketch • Both functions must be present even if not needed
  • 6. Microcontrollers • Digital pins can be configured as inputs or outputs • Pins default to input so no need to declare explicitly • Pins configured as output can provide substantial current to other circuits • Provides enough current to power an LED or other sensors • Does not provide enough current to power motors or solenoids
  • 7. Development • Windows:Arduino IDE, Visual Studio plugin • Linux, Mac OS X:Arduino IDE • Bare Minimum of code for a sketch: void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }
  • 8. Standard Libraries • EEPROM - reading and writing to "permanent" storage • Ethernet - for connecting to the internet using theArduino Ethernet Shield • Firmata - for communicating with applications on the computer using a standard serial protocol. • GSM - for connecting to a GSM/GRPS network with the GSM shield. • LiquidCrystal - for controlling liquid crystal displays (LCDs) • SD - for reading and writing SD cards • Servo - for controlling servo motors • SPI - for communicating with devices using the Serial Peripheral Interface (SPI) Bus • SoftwareSerial - for serial communication on any digital pins. • Stepper - for controlling stepper motors • WiFi - for connecting to the internet using theArduinoWiFi shield • Wire -TwoWire Interface (TWI/I2C) for sending and receiving data over a net of devices or sensors.
  • 9. ConnectYour Arduino • Get an Arduino board and cable • Download the Arduino IDE • Connect the board via USB • Install the drivers • Launch the Arduino IDE
  • 10. UploadYour Sketch • Create new or open existing sketch • Select your board • Select your serial port • Upload your sketch
  • 12. References • ArduinoWebsite: http://www.Arduino.cc • Wikipedia: http://en.wikipedia.org/wiki/Arduino • Wiring: http://wiring.org.co/ • Processing: http://www.processing.org/

Hinweis der Redaktion

  1. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. Arduino can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs. Arduino projects can be stand-alone, or they can be communicate with software running on your computer (e.g. Flash, Processing, MaxMSP.) The boards can be assembled by hand or purchased preassembled; the open-source IDE can be downloaded for free.
  2. Inexpensive - Arduino boards are relatively inexpensive compared to other microcontroller platforms.Cross-platform - The Arduino software runs on Windows, Macintosh OSX, and Linux operating systems. Simple, clear programming environment - The Arduino programming environment is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well.Open source and extensible software- The Arduino software is published as open source tools, available for extension by experienced programmers. Open source and extensible hardware - The Arduino is based on Atmel's ATMEGA8 and ATMEGA168 microcontrollers. The plans for the modules are published under a Creative Commons license, so experienced circuit designers can make their own version of the module, extending it and improving it.
  3. Wiring is an open source electronics prototyping platform composed of a programming language, an integrated development environment (IDE), and a single-board microcontroller. It was developed starting in 2003 by Hernando Barragán.Processing is an open source programming language and environment for people who want to create images, animations, and interactions.
  4. Input pins make extremely small demands on the circuit that they are sampling, say equivalent to a series resistor of 100 mega ohm in front of the pin. This means that it takes very little current to move the input pin from one state to another, and can make the pins useful for such tasks as implementing a capacitive touch sensor, reading an LED as a photodiode, or reading an analog sensor with a scheme such as RCTime.This also means however, that input pins with nothing connected to them, or with wires connected to them that are not connected to other circuits, will report seemingly random changes in pin state, picking up electrical noise from the environment, or capacitively coupling the state of a nearby pin.
  5. You need to use a standard USB cable (A plug to B plug), the kind you would connect to a USB printer.The Arduino Uno, Mega, Duemilanove and Arduino Nano automatically draw power from either the USB connection to the computer or an external power supply. Connect the Arduino board to your computer using the USB cable. The green power LED (labelled PWR) should go on.