Overview What is Arduino? What is it used for? How to get started

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2007 Class 3 March
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Embedded Programming and Robotics
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
HARDWARE LIBRE PARA LINUX Y ANDROID. Arduino is a platform  A physical Input / Output board (I/O) with a programmable Integrated Circuit (IC).
Parts of a Computer.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Jim Ng 15/1/2014 CENG4480 TUTORIAL 1. ABOUT ME Current MPhil Student supervised by Prof. Mak You can find me at Rm116 in SHB
Microprocessors Tutorial 1: Arduino Basics
WELCOME TO ARDUINO E-DAY CAR PROJECT MEETING – ITALY MARCH.
Who Are You, Arduino? Er. Sahil Khanna
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
AAPT workshop W03 July 26, 2014 Saint Cloud State University, MN, USA
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Introducing the Arduino Uno Presented by Dave Mawdsley, DACS Member, Linux SIG Member (wiring, programming and running a cute traffic light simulation)
Prototyping with Microcontrollers and Sensors. Overview Objective Background Information Problem Statement Materials Procedure Assignment Closing.
Having fun with code, using Arduino in a middle school CS classroom
Arduino.
Microcontrollers A microcontroller is a small computer which interacts with its environment, e.g switches, sensors, lights, motors It does not have.
Voice Controlled Robot by Cell Phone with Android App
Arduino Part 1 Topics: Microcontrollers
Embedded Systems Intro to the Arduino
Getting Started: Building & Programming
Welcome to Arduino A Microcontroller.
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Overview What is Arduino? What is it used for? How to get started
Assist. Prof. Rassim Suliyev - SDU 2017
Scrolling LCD using Arduino.
Prototyping with Microcontrollers and Sensors
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
Automatic human detector garbage can.
Microprocessors Tutorial 1: Arduino Basics
An Arduino Workshop A Microcontroller.
Arduino Development for Beginners
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
Interface Connections
Programming Boe-Bots (Part 1)
How to avoid catching things on fire.
Arduino and Grove LET’S START.
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
What is Arduino? By James Tedder.
Welcome to Digital Electronics using the Arduino Board
Introducing the Arduino Uno
Programming Micro Controllers
Sensors and actuators Sensors Resistive sensors
Intro to Micro Controllers
Having fun with Arduino
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Lab #1: Getting Started.
Arduino Uno circuit basics
Introduction to arduino
Presentation transcript:

Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time. Author: Ian Jones (s4052982@student.uq.edu.au)

What is Arduino? “Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing / Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer.“ ( www.arduino.cc, 2006 )

Arduino is a platform A physical Input / Output board (I/O) with a programmable Integrated Circuit (IC).

Arduino is a platform Also including an Integrated Development Environment (IDE) for programming. The language itself is based in C but is largely modeled upon the www.processing.org language.

What is it used for? Physical Computing projects / research Interactive Installations Rapid prototyping When you wish to move beyond the traditional Mouse, Keyboard and Monitor to develop novel and custom interactions in your project work.

What can it do? Sensors ( to sense stuff ) Actuators ( to do stuff ) Push buttons, touch pads, tilt switches. Variable resistors (eg. volume knob / sliders) Photoresistors (sensing light levels) Thermistors (temperature) Ultrasound (proximity range finder) Actuators ( to do stuff ) Lights, LED’s Motors Speakers Displays (LCD)

Why Arduino? It is Open Source, both in terms of Hardware and Software. It is cheap, the hardware can be built from components or a prefab board can be purchased for approx $35 AUD It can communicate with a computer via serial connection over USB (Bluetooth model coming soon!). It can be powered from USB or standalone DC power.

Why Arduino? It can run standalone from a computer (chip is programmable) and it has memory (a small amount). It can work with both Digital and Analogue electronic signals. Sensors and Actuators. You can make cool stuff! Some people are even making simple robots, and we all know robots are just cool. 

Arduino at INFENV It’s early days yet, we are all just learning how to use them. We have a dozen or so Arduino boards available. These can be borrowed out for projects, or for self-directed work. Several 3rd year studio 5 project groups are currently using them as an integral component of their work.

How to get started You’ll need a board of course, INFENV has the newest USB Extreme version, along with the USB cable and DC power supplies. Read about, understand what you are working with and download the IDE: http://www.arduino.cc Mac, Windows and Penguin friendly versions available Then you are ready to plug it in!

Not so fast! It’s important to note at this stage that Arduino’s are electronic devices. This means you MUST consider electrical safety and understand the basics before diving straight in. The board itself doesn’t operate at what would normally be considered dangerous Voltages or Amperage, but if in doubt at any stage of use you should seek more expert advice.

Basic Electrical knowledge At the moment we don’t have any electrical engineers at INFENV so we need to do some ground work ourselves. A fantastic guide to electronics in theory, practice and of course safety is available as a PDF at: http://www.ibiblio.org/obp/electricCircuits/ What you want is Volume 1, DC circuits. This will help you greatly in understanding how to wire circuits when using sensors and actuators. (Hint: This kind of research should be included in academic papers and portfolio reflection)

Getting up and running The power mode must be selected before you plug the board into anything. When powering from the USB cable (5 volts) the jumper should be closest to the USB input, for DC supply the jumper should be closest to the DC input.

Getting up and running Plug it into the USB port and install the USB drivers that come with the IDE. Open up the Arduino IDE and select the COM port, usually COM1 or COM2 on a Windows machine. Within the IDE, select the BAUD rate (communication speed for serial connections) Set BAUD rate to 19200 on Windows, 9600 for Mac?

Upload a program For the most basic kind of program you’ll need a simple actuator, an LED with the long leg (+) pushed into pin 13 and the short leg (-) in the adjacent ground pin (GND). Pin 13 is special, in the sense that it has a built in resistor to correctly control the voltage going into a testing LED just like this. At this stage we just want to program the LED to blink on and off at a set time interval. Sample code for this is available at the Arduino website. Press the reset button on the board and then click ‘Upload to I/O board’ in the IDE. If all goes well lights should flicker on the board and the IDE will confirm success.

Demonstration It’s time for a simple demonstration.

Pushbutton Example On the following few slides is an example pushbutton circuit using a pull-up resistor (2.2K) The orange wire is in place of a real button, its currently connected so the button is in the ‘on’ state making a connection. The circuit works by running power from the 5V through the 2.2K resistor (this limits the full 5 volts going straight back into the ground, which is bad because without the resistor it would overheat). When the orange wire ‘pushbutton’ is connected the power going to the digital input drops significantly because the button is redirecting power through to the ground instead. When the power drops enough it registers as a ‘LOW’ in the Arduino and we can sense a button press with our code.

Pushbutton Example

Pushbutton Example

Pushbutton Example

Conclusion www.arduino.cc There’s heaps more to explore, I’ve barely scratched the surface of what you can really do with this technology. Make it happen. If you want to use an Arduino in your project you’ll have to be proactive about it and do the research yourself. It really isn’t hard, just get stuck in. Use the website and associated forum for tutorials, code samples and general help: www.arduino.cc

Thank you