Introduction.

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

Lab7: Introduction to Arduino
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Re-programming the Simon Says with Arduino Linz Craig, Brian Huang.
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Intro to Arduino with LilyPad Make a MakerSpace, Artisan’s Asylum Linz Craig, Chris Taylor, Mike Hord & Joel Bartlett.
Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
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.
SENIOR DESIGN 10/16.
 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.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Embedded Programming and Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Intro to Arduino Zero to Virtual Prototyping in Seven Hours
HARDWARE LIBRE PARA LINUX Y ANDROID. Arduino is a platform  A physical Input / Output board (I/O) with a programmable Integrated Circuit (IC).
Getting started with interactive projects using the Arduino, Max and Processing.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
Microprocessors Tutorial 1: Arduino Basics
Introduction to Arduino Chris Meyer Enlight Tech Talk
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
ProtoSnap Introduction to Arduino Casey Haskell, Pete Lewis, David Stillman, Jim Lindblom, Pete Dokter, Lindsay Levkoff, Trevor Zylstra.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Working with Arduino: Lesson #4: Servos EGN1007. Learning Goals Learning Goals: The student will be able to: 1.Build a complete circuit using the Arduino.
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.
Introduction to Arduino Microcontrollers. What is a Microcontroller ? What is a Microprocessor ? A Microcontroller (8 bit) does one task very fast and.
Microprocessors Tutorial 1: Arduino Basics
WELCOME TO ARDUINO E-DAY CAR PROJECT MEETING – ITALY MARCH.
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. ARDUINO BASICS Credit to: Sparkfun and Linz Craig, Nick Poole, Prashanta Aryal, Theo Simpson, Tai Johnson,
Microcontroller Hands-on Workshop #2 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers October 31, 2009.
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
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.
Overview What is Arduino? What is it used for? How to get started
Scrolling LCD using Arduino.
Microcontroller basics
Microprocessors Tutorial 1: Arduino Basics
An Arduino Workshop A Microcontroller.
Overview What is Arduino? What is it used for? How to get started
UCD ElecSoc Robotics Club 2017/2018
Arduino - Introduction
Introduction to Arduino Microcontrollers
Analog Input through POT
Arduino and Grove LET’S START.
Introduction to Arduinos
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)
What is an Arduino ? Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino? By James Tedder.
"You don't need anyone's permission to make something great
CSCI1600: Embedded and Real Time Software
Arduino : Introduction & Programming
Sensors and actuators Sensors Resistive sensors
CSCI1600: Embedded and Real Time Software
Lab #1: Getting Started.
Arduino म्हणजे काय?.
Arduino and Grove LET’S START.
Introduction to Arduinos
Introduction to arduino
Presentation transcript:

Introduction

Microcontrollers Programmers work in the virtual world. Machinery works in the physical world. The microcontroller connects the virtual world to the physical world A microcontroller is a small-scale computer with generalized (and programmable) inputs and outputs. The inputs and outputs can be manipulated by, and can manipulate, the physical world.

Arduino is hardware

Arduino is software Including an Integrated Development Environment (IDE) for programming. It’s used to edit code as if editing a word document The platform is used to create the “process”, compile it, and then upload it to the microcontroller. The language itself is based in C and is called ‘wiring’

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

Why Arduino? It is Open Source, both in terms of Hardware and Software. Anyone who wants can copy it for free It is cheap, the hardware can be built from components or a prefab board can be purchased for as little as $15 It can communicate with a computer via serial connection over USB (common interfaces) It can be powered from USB or standalone DC power. It can run standalone from a computer (chip is programmable) and it has memory (a small amount).

What can it do? CURRENT LIMITS!!! Sensors ( to sense stuff ) [ INPUTS ] 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 ) [ OUTPUTS ] Lights, LED’s Motors Speakers Displays (LCD) CURRENT LIMITS!!!

Autonomous Vehicle

Laser Harp

Clock

Sign Language Glove

Interfacing

Interfacing Plugs into pins like a breadboard

Inputs and Outputs

Concepts: INPUT vs. OUTPUT 18 Referenced from the perspective of the microcontroller (electrical board). Inputs is a signal / information going into the board. Output is any signal exiting the board.

Concepts: INPUT vs. OUTPUT 19 Referenced from the perspective of the microcontroller (electrical board). Inputs is a signal / information going into the board. Output is any signal exiting the board. Examples: Buttons Switches, Light Sensors, Flex Sensors, Humidity Sensors, Temperature Sensors… Examples: LEDs, DC motor, servo motor, piezo buzzer, relay, RGB LED

Analog vs. Digital

Analog vs. Digital 21 Computers “naturally” talk in a digital language. Things are either “ON” or “OFF”, “HIGH” or “LOW”, “1” or “0”, “5V or 0V” Our physical world is analog. Things can be “medium”, “warm”, “37 mph”, “92 degrees” So how do we create 2.75 volts if all we have is 0 and 5? With a technique called Pulse width Modulation (PWM) Imagine turning a fan off and on every second. It would operate at a “medium” speed. The longer the pulses (ON’s), the higher the average voltage and the actual voltage output.

Analog vs. Digital 22

Analog vs. Digital Fixed cycle length: constant number of cycles/sec 23 Fixed cycle length: constant number of cycles/sec

digitalWrite() analogWrite() BIG 4 CONCEPTS digitalRead() analogRead()

Components Push Button Potentiometer Photoresistor Relay Temp Sensor Name Image Type Function Push Button Digital Input Switch - Closes or opens circuit Potentiometer Analog Input Variable resistor Photoresistor Light Dependent Resistor (LDR) Relay Digital Output Switch driven by a small signal Temp Sensor Temp Dependent Resistor Flex Sensor Soft Trimpot RGB LED Dig & Analog Output 16,777,216 different colors

Scales

Scales Physical 0V 5V Digital Write LOW (0) HIGH (1) Digital Read Analog Read 1023 Analog Write 255