Todd W. Neller. What is an Arduino? A small, open-source, affordable, easy-to-program microcontroller (much like a CPU) 16K RAM Up to 20Mhz clock Inexpensive:

Slides:



Advertisements
Similar presentations
Lab7: Introduction to Arduino
Advertisements

Mini-SumoBot Construction and Programming
Embedded Sumo 1T4 – 1T5 UTRA.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Detailed Design Review Project P13363 Members: Justine Converse (IE) James Cover (CE) Alexander Eschbach (EE) Jason Hang (ME) Ashley Trode (EE) Guide:
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.
Microcontroller: Introduction
Embedded Programming and Robotics
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Arduino Part 1 Topics: Microcontrollers Programming Basics: structure and variables Digital Output Analog to Digital Conversion.
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.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Getting started with interactive projects using the Arduino, Max and Processing.
Microprocessors Tutorial 1: Arduino Basics
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
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.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering
Microprocessors Tutorial 1: Arduino Basics
Microcontrollers, Microcomputers, and Microprocessors
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.
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Having fun with code, using Arduino in a middle school CS classroom
Arduino - Introduction
Arduino.
Arduino Part 1 Topics: Microcontrollers
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
Obstacle avoiding robot { pixel }
Scrolling LCD using Arduino.
Prototyping with Microcontrollers and Sensors
Home automation using Arduino & ‘PIR sensor’
Automatic human detector garbage can.
Microprocessors Tutorial 1: Arduino Basics
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
‘SONAR’ using Arduino & ultrasonic distance sensor
Introduction to Arduino Microcontrollers
Arduino Basics Rajeev Dwivedi, PhD.
Introduction to robotics
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.
All you wanted to know about Arduino (and somethings you didn’t)
Instructor Resources.
DT-Assessment Frame Work Term2
What is Arduino? By James Tedder.
"You don't need anyone's permission to make something great
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Welcome to Digital Electronics using the Arduino Board
Banyule Coding Club: Learn Arduino Richard Counsel Malcolm Macleod Watsonia Library - June 2018 Reference materials here ->
Basic circuits Electrical circuits Electrical properties Ohm’s law
Aeroponic Engineering and Vertical Farming
Introduction to Arduino
Arduino and Grove LET’S START.
Introduction to arduino
Instructor Resources.
Presentation transcript:

Todd W. Neller

What is an Arduino? A small, open-source, affordable, easy-to-program microcontroller (much like a CPU) 16K RAM Up to 20Mhz clock Inexpensive: Arduino Diecimila board SparkFun.com) Replacement Atmel ATMEGA168 chip <$5 Parts to build your own ~$10

What is it used for? “Making Things Talk” – getting devices, sensors, actuators to communicate Adding a computational brain to a circuit for: Control, i.e. directing circuit operations Reasoning, “intelligent” decision making, etc. “Embodying” your code – making the transition from input text and GUI events to button presses, knob readings, etc.

Example: Arduino Drum Kit Part of Tod E. Kurt’s Arduino tutorial at projects-4-and-musical-arduino/ projects-4-and-musical-arduino/ Piezoelectric sensors used to detect drum hits Arduino used to interpret sensor data and send as MIDI events

Example: Read Nunchuk Data Nunchuk accelerometers reasonably affordable and easy to interface with What might you do with Wii nunchuk data? Remote control Gesture recognition  command ???

Example: Arduino Plant Care Botanicalls Twitter: Soil moisture sensor  circuit  Arduino which twitters plant status For each of these and many other 100s of Arduino projects documented online, how might you take them one step further?

How can I program it? Arduino programming language based on simple Wiring language (based on C/C++) Note the simplicity: CS 111 students can expect to understand most language elements Programming environment is free

Don’t I need to be an Electrical Engineer? Let’s turn this question around: Does a person need to be a Computer Scientist to do simple programming? An understanding of programming language basics opens the door to many useful applications. For simple circuit applications, Computer Scientists need an understanding of basic building blocks of electronics.

Building Blocks: LED From terminal window start Arduino software (“arduino &”) Plug Arduino into USB port File  Sketchbook  Examples  Digital  Blink Upload to I/O board (Control-U) Note small blinking LED on Arduino Disconnect Arduino, follow breadboard instruction with 5V, Ground, and LED, reconnect BlinkVariable – Blink with variable delay

Building Blocks: Pushbutton Switches Follow breadboard instructions for pushbutton switch File  Sketchbook  Examples  Digital  Button Upload to I/O board (Control-U) Change sketch to toggle LED on/off Try BlinkEcho

Example: The Four-Bit Maze So what can one make with an Arduino, LEDs, and buttons? o.html o.html Goal: Turn off all four LEDs One button for each LED Button by “off” LED has no effect Button by “on” LED turns that LED off and possibly changes others Maze in the sense of navagating through LED states in search of goal state

Arduino Design Competition If you could create any electronics project, what would it be? 1. Look at what’s out there already 2. Consider building on an existing project or taking a simple first step 3. Discuss with and get approval from a CS faculty member 4. Borrow an Arduino kit; we have/can get other components as well 5. Present your work at our colloquium before spring break 6. Presenters will compete for prizes (TBD) and all will get to keep their Arduinos Extend your CS skills beyond the computer!