New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2007 Class 3 March14 2007.

Slides:



Advertisements
Similar presentations
Electricity The Quick Version.
Advertisements

Engineers in Training Day 2 Developed by Shodor and Michael Woody.
Register Digital Multimeter Usage Click Register to begin the course.
Electricity and Circuits
Using a Multimeter.
Working with Arduino: Lesson #2: Variable, Photo, and Force Sensitive Resistors EGN1007.
Basic Circuits – Lab 1 Xmedia Spring Basically Power –Provides energy for the sensor and the output Sensor –Changes aspects of the circuit based.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
HOPE- Hands On Practical Electronics Lesson 1: Introduction and Voltage, Current, and Resistance.
20.1 Electric Circuits pp Mr. Richter.
Chapter 7. Voltage Remember: Atoms are in EVERYTHING and they are made up of equal amounts of positive and negative charges. Battery: uses chemical energy.
Basic Circuits – Lab 1 Xmedia Spring Basically Power –Provides energy for the sensor and the output Sensor –Changes aspects of the circuit based.
Electrical Electricity Fuses Relays Solenoids Electrical Testing
Electrical Measurements MVRT – 2011 season.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
7.2.3 Student Book © 2005 Propane Education & Research CouncilPage Identifying Procedures for Measuring Resistance Between Two Given Points in.
1 1 Electricity and Circuits Career Portals in STEM.
Electricity and circuits
Integrated Science Unit 3, Chapter 7.
Register Digital Multimeter Usage Click Register to begin the course.
Circuits and Ohm’s Law Objectives: 1. Gain an understanding of Ohm’s Law. 2. Compare and contrast the movement of current through a series and parallel.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Electronics Merit Badge Class 1 10/25/20151Electronics Merit Badge Class 1.
Operating a Amp – Volt – Ohm Meter Created for CVCA Physics By Dick Heckathorn 3 April 2K
Introduction 2 Electrical Design
CSC522 Embedded Systems Introduction to Circuit Design.
Essmart Hackathon Peter Burkimsher and Sreechand Tavva.
J. Gabrielse Ohm’s law V I R. J. Gabrielse Voltage (V) Definition: what pushes charges Unit: volt (V) Measured by putting voltmeter in parallel. -+
Electrical Circuits. Objectives Objectives – Explain how electrical energy is supplied to devices in a circuit. – Use electrical symbols to draw simple.
Electricity It’s Shocking!!. Current Electricity Current Electricity is a constant flow of electrons through a circuit. There are three main parts to.
Can you get the bulb to work? Each of you will get one bulb, one wire, and one battery. Your goal is to get the bulb to light. Easy right? When you find.
The Control of Electricity in Circuits
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. ELECTRICITY BASICS.
Measuring Voltage and Current Aims Know the units of voltage and current Know how to measure voltage and current.
Students Prepare : Abdullah Al Asfour. Samer Al Gamdi. How voltage, current and resistance relate ?
Electronics for Physical Computing Materials: capacitor, diode, LED, transistor, switch,resistor, relay, proto board, multimeter.
Electronics Merit Badge Class 1 6/6/20161Electronics Merit Badge Class 1.
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
What is Voltage? Remember, current is the flow (per second) of quantities of electrons past a point in a circuit. if 0.1 C of electrons pass this place.
What is programming? Make an algorithm to do something in a specific language programming. – Algorithm: a procedure or formula for solving a problem.
Having fun with code, using Arduino in a middle school CS classroom
The Electronic Computer Age
SERIES CIRCUITS Type your answers in the black boxes and check them with the correct answers on the last slide.
Exploring The Multimeter
Aim: How is a Series Circuit different from a Parallel Circuit?
Microprocessors Tutorial 1: Arduino Basics
Do Now: Why does current not come from a battery? Explain.
ELECTRICAL CIRCUITS All you need to be an inventor is a good imagination and a pile of junk. -Thomas Edison.
Introduction to Arduino Microcontrollers
Introduction to Arduino Microcontrollers
Electricity.
مقدمة في الاردنيو د فضل الاكوع.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Welcome to Digital Electronics using the Arduino Board
Basic Electronics Part Two: Electronic Components.
Basic circuits Electrical circuits Electrical properties Ohm’s law
Chapter 1 Introduction of Arduino
Arduino Part 4 Let there be more light.
Electrical Quantities
Prototyping with Micro-controllers, Sensors, and Materials
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Prototyping with Micro-controllers, Sensors, and Materials
Aeroponic Engineering and Vertical Farming
Prototyping with Micro-controllers, Sensors, and Materials
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to arduino
Electric Resistance describes how an electrical conductor (wire) opposes the flow of a current (flow of electrons) to overcome this opposition a voltage.
Presentation transcript:

New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2007 Class 3 March

New Human Computer Interfaces - HUJI - Spring On the Menu Homework review Electronics and Circuits Introduction to the OpenBoard microcontroller System –Hello World –Digital Output Program and circuit –Digital Input Program and circuit

New Human Computer Interfaces - HUJI - Spring Homework Review Project Folio –Description and architecture –Parts Needed: Research the parts you will need to make it happen –Psuedocode Create a Project WIKI page with the Project Folio

A bit about Electronics

New Human Computer Interfaces - HUJI - Spring Electronics Today: –Basic Concepts Voltage Current Resistance –From idea to circuit: Circuit SymbolsSymbols the Prototyping Board Meters and Continuity –Some Basic Circuits Switches (for Control) Digital Output (for Effect)

New Human Computer Interfaces - HUJI - Spring Voltage and Current Voltage and Current are vital to understanding electronics, but they are quite hard to grasp because we can't see them directly.

New Human Computer Interfaces - HUJI - Spring Voltage and Current Voltage is the Cause, Current is the Effect –Voltage attempts to make a current flow, and current will flow if the circuit is complete. –Voltage is sometimes described as the 'push' or 'force' of the electricity, it isn't really a force but this may help you to imagine what is happening. It is possible to have voltage without current, but current cannot flow without voltage.

New Human Computer Interfaces - HUJI - Spring Voltage and Current Voltage and Current The switch is closed making a complete circuit so current can flow.

New Human Computer Interfaces - HUJI - Spring Voltage and Current Voltage but No Current The switch is open so the circuit is broken and current cannot flow.

New Human Computer Interfaces - HUJI - Spring Voltage and Current No Voltage and No Current Without the cell there is no source of voltage so current cannot flow.

New Human Computer Interfaces - HUJI - Spring Voltage, V Voltage is a measure of the energy carried by the charge. Voltage is supplied by the battery (or power supply). Voltage is used up in components, but not in wires. Voltage is measured in volts, V. You may find it helpful to think of voltage like height in geography. –The zero volts in an electronic circuit is like the sea level in geography.

New Human Computer Interfaces - HUJI - Spring Current, I Current is the rate of flow of charge. Current is not used up, what flows into a component must flow out. Current is measured in amps (amperes), A. The symbol I is used for current in equations. (Intensity of current )

New Human Computer Interfaces - HUJI - Spring Resistance Resistance is the property of a component which restricts the flow of electric current. Energy is used up as the voltage across the component drives the current through it and this energy appears as heat in the component. Resistance is measured in ohms, the symbol for ohm is an omega. Resistors used in electronics can have resistances as low as 0.1 Ohms or as high as 10 M Ohms.

The Prototyping “Bread” Board

New Human Computer Interfaces - HUJI - Spring The Prototyping Board Allows you to build circuits without needing to solder anything together. Makes it easy to test and change a circuit quickly.

New Human Computer Interfaces - HUJI - Spring How to use the Prototyping Board Two TOP and BOTTOM rows are connected Horizontally Two inner rows: Connected Vertically

New Human Computer Interfaces - HUJI - Spring Setting up Power

New Human Computer Interfaces - HUJI - Spring Setting up Power Is this circuit complete?

New Human Computer Interfaces - HUJI - Spring Setting up Power Now it is. But is it usable?

New Human Computer Interfaces - HUJI - Spring Setting up Power Now it is- we can add elements into the central areas to create a working circuit

New Human Computer Interfaces - HUJI - Spring Building Circuits We will build a simple LED circuit

New Human Computer Interfaces - HUJI - Spring Building Circuits 1.connect the power to the central circuit area

New Human Computer Interfaces - HUJI - Spring Building Circuits 2.Add the first element (a protective resistor)

New Human Computer Interfaces - HUJI - Spring Building Circuits 3.Add the LED

New Human Computer Interfaces - HUJI - Spring Building Circuits 4.Finish the circuit- connect to the – (GND)

New Human Computer Interfaces - HUJI - Spring Building Circuits If all is Well- enjoy the light!

New Human Computer Interfaces - HUJI - Spring Building Circuits Hmm… But what if it doesn’t work? Ideas?

New Human Computer Interfaces - HUJI - Spring Building Circuits Hmm… But what if it doesn’t work? Ideas? –Maybe the wires are not in the correct place (the circuit is not wired properly) –Maybe there is a bad wire in there somewhere –Maybe the LED is burned –Maybe the battery is dead

New Human Computer Interfaces - HUJI - Spring Building Circuits How do we check these things? –Circuit –Wires –Components –Power

New Human Computer Interfaces - HUJI - Spring Building Circuits To check wires and the circuit: we want to check for CONTINUITY –This means checking that electricity flows all the way through the circuit. –If it is disrupted somehow- there will be no continuity. OK- but how do we check this?

New Human Computer Interfaces - HUJI - Spring Multi-Meter Meet the Multi-Meter: Analog Digital

New Human Computer Interfaces - HUJI - Spring Checking for Continuity To check for Continuity, set the meter to test Resistance (the Omega symbol) Now touch both ends (Red and Black) to each other. What do you get?

New Human Computer Interfaces - HUJI - Spring Checking for Continuity Some Multi-Meters have a Continuity Check mode. –In this case, touching the leads will give you an audible beep. –This is good because you don’t need to look at the meter, just listen: continuity: Beep No continuity: No Beep

New Human Computer Interfaces - HUJI - Spring Checking for Continuity If any of the elements in the circuit are broken, there will be no continuity!

New Human Computer Interfaces - HUJI - Spring Procedure for Checking for Continuity 1. Check both ends of the circuit 2. No continuity? a. Check one half of the circuit. 1.Good Continuity? »The problem is in the other half of the circuit 2. Bad continuity? »continue checking this half of the circuit until you zero in on the culprit (simply do the same procedure from this point downwards, each time checking the remaining 2 halves of the circuit until you reach a point where you find the problem)

New Human Computer Interfaces - HUJI - Spring Some Circuits Now that we know how to build simple circuits with the Prototyping Board, we will look at a few simple circuits –A Buzzer –A Beeper

New Human Computer Interfaces - HUJI - Spring A Buzzer Remind you of something? Bzzzzzzzzz

New Human Computer Interfaces - HUJI - Spring A Beeper Remind you of something? Beeeeeeep

Introduction to the Arduino microcontroller System

New Human Computer Interfaces - HUJI - Spring The Arduino System Hardware: –MCU –USB Cable Software –Arduino IDE

New Human Computer Interfaces - HUJI - Spring The Arduino System

New Human Computer Interfaces - HUJI - Spring The Arduino System Basic Setup: PC Serial Connection (Also supplies Power) MCU Arduino IDE

New Human Computer Interfaces - HUJI - Spring The Arduino System Basic Setup: PC Serial Connection MCU 9V Power + - Arduino IDE

New Human Computer Interfaces - HUJI - Spring The Arduino System Basic Setup: PC Serial Connection MCU 9V Power + - Arduino IDE WARNING: NEVER connect or Disconnect The Programmer To the MCU When the MCU is ON ALWAYS TURN THE MCU OFF BEFORE HAND

New Human Computer Interfaces - HUJI - Spring The Arduino System Software IDE Win, Mac, Linux

New Human Computer Interfaces - HUJI - Spring The Arduino System Software Setup –Have JAVA installed on the machine –Download and install the IDE Win MacOSX-PPC, MacOSX-IntelMacOSX-PPCMacOSX-Intel Linux –Check what Port is assigned to the USB Serial Port on your PC (COM4, 5, 7…) –The EnvironmentEnvironment –How To (Windows, Mac OS X, Linux): step-by-step instructions on getting your first Arduino program working.WindowsMac OS XLinux

New Human Computer Interfaces - HUJI - Spring The Arduino System Class Workshop: –Get an Arduino board and cable –Download the Arduino environment –Install the USB drivers –Connect the board –Connect an LED –Run the Arduino environment –Upload a program –Look for the blinking LED See Instructions:

New Human Computer Interfaces - HUJI - Spring The Arduino System Digital OUTPUT

New Human Computer Interfaces - HUJI - Spring The Arduino System Digital INPUT –Lets create a circuit with a Switch

New Human Computer Interfaces - HUJI - Spring Homework Create a reactive system: –Input creates output – be creative Move forward with your projects: Design Hardware Programming