By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot

Slides:



Advertisements
Similar presentations
Lecture 1 – Arduino Basics
Advertisements

Lab7: Introduction to Arduino
How to use Arduino By: Andrew Hoffmaster.
Embedded Sumo 1T4 – 1T5 UTRA.
Introduction 2 BASIC Stamp®. Microcontrollers Microcontrollers can be thought of as very small computers which may be programmed to control systems such.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
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
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
DPNM Lab., POSTECH 1/29 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
ARDUINO EXPLAINED. What is Arduino?  The Arduino is frankly anything that can be considered fun while learning is a truly revolutionary device in our.
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.
Franz Duran INTRODUCTION TO A RDUINO PROGRAMMING & INTERFACING Engr. Franz Duran, MEP-ECE RapidSignal Electronics.
Microprocessors Tutorial 1: Arduino Basics
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
CSE 341 Project : Ultrasonic Radar PRESENTED BY: NAME : AKIFA TASNEEM ID : SECTION: 02 1.
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.
Getting Started: Building & Programming
Arduino Uno – controlling LED strips
Overview What is Arduino? What is it used for? How to get started
Prototyping with Microcontrollers and Sensors
Dr. Kyung Eun Park Summer 2017
Introduction to the Arduino
Microprocessors Tutorial 1: Arduino Basics
UTA010 : Engineering Design – II
An Arduino Workshop A Microcontroller.
Overview What is Arduino? What is it used for? How to get started
Arduino Development for Beginners
UCD ElecSoc Robotics Club 2017/2018
Arduino Part 1 Topics: Microcontrollers Programming Basics
Arduino - Introduction
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
Arduino and Grove LET’S START.
Roller Coaster Design Project
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.
Instructor Resources.
What is Arduino? By James Tedder.
Arduino 101 Credit(s):
Welcome to Digital Electronics using the Arduino Board
Introducing the Arduino Uno
Banyule Coding Club: Learn Arduino Richard Counsel Malcolm Macleod Watsonia Library - June 2018 Reference materials here ->
Programming Micro Controllers
Arduino Board.
Dave Mawdsley, DACS Member, Linux SIG January 16, 2013
Intro to the Arduino by Someet Singh
Teacher’s Note (do not include in student packet/slide show)
Manual Robotics ..
Aeroponic Engineering and Vertical Farming
Arduino Leonardo Setup
Introduction to Arduino
Lab #1: Getting Started.
Introduction to Arduino
Arduino Board.
Arduino म्हणजे काय?.
Arduino and Grove LET’S START.
Introduction to Arduinos
Introduction to arduino
Introduction to Arduino IDE and Software
Instructor Resources.
Presented By,  Mamata Yadav (BE Elex & Comm.) Vice R&D Coordinator(HW), PCRT  Payal Shah (BE Elex & Comm.)  Ananta Das (BE Elex & Comm.) R&D Team,PCRT.
Presentation transcript:

By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot Intro to Arduino By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot (c) Rick Darby 2013. All rights reserved. (c) 2013 Rick Darby. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Geekspace Gwinnett Makerspace One year old 150+ meetup members http://www.meetup.com/Geekspace-Gwinnett/ (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Course Main Objective Add Arduino maker skills to your repertoire (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. In other words: Make a maker out of you! (c) Rick Darby 2013. All rights reserved.

Specific Objective: Use an Arduino to … Sense switch input temperature input light input Control lights various devices  (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. The Process Learn Build Do (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Arduino Uno (c) Rick Darby 2013. All rights reserved.

Not just a computer – a platform Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists and anyone interested in creating interactive objects or environments. (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Key Components CPU RAM NV Memory Standardized HW Interface Bootloader USB programming interface (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Getting Started Arduino Family Arduino Uno Setup SW Power Options Interfacing (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Arduino Family Arduino Uno Arduino BT Arduino Due Arduino Fio Arduino Leonardo and Micro Arduino Esplora LilyPad Arduino USB LilyPad Arduino Arduino Mini Arduino Nano Arduino Pro Arduino Pro Mini Arduino Robot Arduino Yún (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Arduino Uno Specs ATmega328 running at 16 MHz Auto-reset Using the optiboot bootloader At 115200 baud, 0.5 KB (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Tools (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Software Arduino Development Environment Specific to Arduino http://arduino.cc/en/Guide/HomePage Arduino Libraries “Sketches” C/C++ language (c) Rick Darby 2013. All rights reserved.

Arduino Development Environment Text Editor - to write and modify sketches Verify – checks for errors Upload – loads code into Arduino board New – creates a new sketch Open – get sketches from sketchbook Save – saves your sketch Serial Monitor – opens up a realtime communications port to your Arduino board (c) Rick Darby 2013. All rights reserved.

Closer Look at the Board Adpated from arduino.cc (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Do’s & Don’ts (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Well mostly don’ts! (c) Rick Darby 2013. All rights reserved.

10 |Ways to Kill an Arduino* Quick Links: Method #1: Shorting I/O Pins to Ground Method #2: Shorting I/O Pins to Each Other Method #3: Apply Overvoltage to I/O Pins Method #4: Apply External Vin Power Backwards Method #5: Apply >5V to the 5V Connector Pin Method #6: Apply >3.3V to the 3.3V Connector Pin Method #7: Short Vin to GND Method #8: Apply 5V External Power with Vin Load Method #9: Apply >13V to Reset Pin Method #10: Exceed Total Microcontroller Current * From Ruggedcircuits.com (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Let’s Do Something! Get connected up USB cable Power source Run arduino.exe Configure board (Uno) Serial Port (usually COM4 for USB) Load “blink” Upload blink Modify blink Run again (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Using a breadboard Adapted from learning.codasign.com (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Workstations Digital output Digital Input - switches Sound Reading Analog Signals Using an LCD (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Digital Inputs http://www.arduinobook.com Input: Sketch 6_02 and 3 wires Wire D5 to your finger Wire D5 to +5V Wire D5 to GND Debouncing: Sketch 6_04 (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Digital Outputs Upload Sketch 6_01 Modify int outPin = 4; to int outPin = 13; Run Open Serial monitor Enter 1 and then 0 from laptop (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Sound http://www.arduino.cc/en/Tutorial/PlayMelody Example 2. Connect red lead of piezo to D9 Connect black lead of piezo to GND Copy code into Arduino editor Save and Upload (If no piezo, use 1K resistor in series for 8 ohm speaker) (c) Rick Darby 2013. All rights reserved.

Reading Analog Signals Output: Sketch 6_09 and 1 wire Wire A0 to +5V, ck Serial Monitor, then disconnect Wire A0 to GND, ck Serial Monitor, then disconnect Wire A0 to 3.3V, ck Serial Monitor, then disconnect http://arduino.cc/en/Tutorial/AnalogReadSerial 3 Wires and potentiometer (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. Using a Serial LCD Do NOT run this on USB power only: connect 9V power! Attach pot as in http://arduino.cc/en/Tutorial/AnalogReadSerial Test that pot is being read correctly Download AnalogSerPrtQS.ino from http://Stalkingthemuse.com/introarduino uploads section Use breadboard and jumpers LCD red lead is +5V LCD black lead is GND LCD yellow is D2 (c) Rick Darby 2013. All rights reserved.

(c) Rick Darby 2013. All rights reserved. References http://www.Arduino.cc Programming with Arduino Getting Started with Sketches by Simon Monk http://www.arduinobook.com http://www.doctormonk.com http://www.Adafruit.com http://www.Ruggedcircuits.com http://Learning.codasign.com (c) Rick Darby 2013. All rights reserved.