1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

EMS1EP Lecture 8 Pulse Width Modulation (PWM)
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)
Re-programming the Simon Says with Arduino Linz Craig, Brian Huang.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
SENIOR DESIGN 10/16.
Servo Control Using Analog Signal Obtain “analog” input using analogRead().
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.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
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).
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Microprocessors Tutorial 1: Arduino Basics
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
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.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
Throttle Arduino RC Receiver Stock Golf Cart Motor Controller Motor 1 PWM signal: Voltage: 0 – 5V Period = 22ms Positive Pulse Width: 1ms – 2ms Digital.
Pulse-Width Modulation: Simulating variable DC output
CSE 341 Project : Ultrasonic Radar PRESENTED BY: NAME : AKIFA TASNEEM ID : SECTION: 02 1.
Zilogic Systems 1 Device Interfacing with Python and ZIO Zilogic Systems.
Zilogic Systems 1 Device Interfacing with Python and ZIO Zilogic Systems.
Having fun with code, using Arduino in a middle school CS classroom
Arduino - Introduction
Arduino.
Embedded Systems Intro to the Arduino
Overview What is Arduino? What is it used for? How to get started
Scrolling LCD using Arduino.
Prototyping with Microcontrollers and Sensors
Microcontroller basics
Microcontroller basics
Device Interfacing with Python and ZIO
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 - Introduction
‘SONAR’ using Arduino & ultrasonic distance sensor
How to avoid catching things on fire.
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
Presentation of Robotics (3)
Arduino : Introduction & Programming
Sensors and actuators Sensors Resistive sensors
CSCI1600: Embedded and Real Time Software
Having fun with Arduino
Arduino म्हणजे काय?.
Arduino and Grove LET’S START.
Introduction to Arduinos
Introduction to arduino
Presentation transcript:

1 Microcontrollers

2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world The inputs and outputs can be manipulated by, and can manipulate, the physical world Microcontrollers

3

4 Arduino is software An Integrated Development Environment (IDE) for programming Edit code like a word document The platform creates the “process”, compiles it, and uploads it to the Arduino The language is called ‘wiring’, and is based on C

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

6 Why Arduino? Open Source: anyone who wants can improve upon it Cheap: anyone can produce them for any price (<$15) Common Interface: communicates via USB Low Power: from USB or battery pack Standalone: memory allows it to run even when not connected to a computer

7 What can it do? Sensors [ INPUTS ] – Buttons, touch pads, tilt switches – Variable resistors (e.g.. volume knob / sliders) – Photoresistors (light sensor) – Thermistors (temperature sensor) – Ultrasound (distance sensor) Actuators [ OUTPUTS ] – Lights, LED’s – Motors – Speakers – Displays (LCD) CURRENT LIMITS!!!

8 Autonomous Vehicle

9 Laser Harp

10 Clock

11 Sign Language Glove

12 Interfacing

13 Plugs into pins like a breadboard Interfacing

14

15

16

17 Inputs and Outputs

18 Concepts: INPUT vs. OUTPUT 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.

19 Concepts: INPUT vs. OUTPUT 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

20 Analog vs. Digital

21 Computers communicate in a digital language – “ON” or “OFF”, “HIGH” or “LOW”, “1” or “0”, “5V or 0V” Our physical world is analog – “warm”, “37 mph”, “92 degrees” So how do we create 2.73 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

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

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

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

26 Scales

27 Scales