CSC522 Embedded Systems Introduction to Circuit Design.

Slides:



Advertisements
Similar presentations
Interfacing Lab Part Guide. The Solderless Breadboard Rows along the top and bottom are connected horizontally along the length of the board Holes in.
Advertisements

CricketSat Assembly.
EE188L EE I Laboratory Lab #2 Resistive Circuits.
Resistor Circuit Symbol
Breadboarding and Electronic Components. What is a Breadboard? Sometimes called a proto-board Reusable platform for temporarily built electronic circuits.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
Using the Board of Education Breadboard and Your Multimeter ENGR 120 Work in teams of two!
1 Boe-Bot Parts BOE-BOT Lecture #1b DE - Digital Electronics.
New Human Computer Interfaces Amnon Dekel HUJI – CSE, Spring 2007 Class 3 March
Investigating Basic Circuits Pre-Activity Discussion
TIJ1O1 ELECTRONIC COMPONENTS AND CIRCUITS 1. Recap: What is an electric current? An electric current is a flow of microscopic particles called electrons.
George Washington University DC Circuits Lab Professor Ahmadi ECE 002.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
HOPE- Hands On Practical Electronics Lesson 1: Introduction and Voltage, Current, and Resistance.
LED Display Prof. Betty Lise Anderson. Here’s what you’re going to build.
Chapter 12 Electronics.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
BASIC Stamp Editor Once installed, the Stamp Editor will be available on your desktop, and as a menu option under Start  Program Files  Parallax Inc.
Introductory Electronics Summer Institute 2004 Michelle Vidberg Peter Beens.
Breadboards, Multimeters, and Resistors EGR1301. Your Multimeter leads probes pincer clips – good for working with Boe-Bot wiring You will use the multimeter.
Last week’s project demos Servo control with potentiometer and enable/disable buttons Demo in class tonight – don’t start on the next project until I’ve.
IOT POLY ENGINEERING 4-01 DRILL April 20, 2009 Ohm’s Law states that voltage equals current times resistance, V=IR. Solve the following problems. Draw.
Boe-Bot Review.
1 Basic Electronics Voltage (V or E): Potential difference between 2 points. Volts. (+) - A lack of electrons (-) – A surplus of electrons When a circuit.
NPN Foundations of Technology NPN © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™ Foundations.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Controlling the Outside World
Experiments Day 1 & 2 Resistors, Potentiometers and Photocells.
Experiments Day 1 Resistors.. Electronic Technology Definition: The technology of using small amounts of electricity for controlling, detecting, collecting,
SCR (Silicon-Controlled Rectifier) Foundations of Technology SCR (Silicon-Controlled Rectifier) © 2013 International Technology and Engineering Educators.
Potentiometer Foundations of Technology Potentiometer © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
+ Using Ohm’s Law to Build a Voltage Divider 1. + Learning Objectives Understand and demonstrate the engineering design process Use Ohm's Law as a tool.
Introduction to Electric Circuits. What is Electricity? No one really knows… A good definition for our class is: “Electricity is the flow of electrons.
1 Chapters 2 And 3 Presentation based on: "What's a Microcontroller ?" By Andy Lindsay Parallax, Inc Presentation developed by: Martin A. Hebel Southern.
Introduction to Electric Circuits. What is Electricity? No one really knows… A good definition for our class is: “Electricity is the flow of electrons.
Two basic types Ceramic disk Electrolytic Has positive and negative sides Farads – unit of measure (F) Microfarads(uF) and picofarads (pF) Cans have value.
Basic Electronics Technology Education.  1. An ELECTRONIC DEVICE is a group of electronic components, such as resistors, capacitors and diodes, connected.
Electronics Speaker Project Mr Sanders.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Concepts of Engineering and Technology Basic Electricity and Electronics: DC Circuits Copyright © Texas Education Agency, All rights reserved. 1.
Service Learning Project SLICE Prototype Fabrication Experience Ability Switch Test Box.
Resistors Foundations of Technology Resistors © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
Praxis I 13 Oct Outline Component & Device Measurement and Instrument Datasheet How to build circuit using breadboard.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Diode Foundations of Technology Diode © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching and Learning™ Foundations.
IAT 267 Introduction to Technological Systems 1 Week 2 Workshop Basics of Electronic Circuits.
Building Circuits.
Introduction to Electric Circuits
Breadboarding and Electronic Components
Prototyping with Microcontrollers and Sensors
Breadboarding and Electronic Components
Arduino Development for Beginners
Diagram of the Board of Education
Fair Use Building and Research Labs Presents
Breadboarding and Electronic Components
Electronic Education Kits
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.
Breadboarding and Electronic Components
Welcome to Digital Electronics using the Arduino Board
Basic Electronics Part Two: Electronic Components.
Fair Use Building and Research Labs Presents
Basic circuits Electrical circuits Electrical properties Ohm’s law
Breadboarding and Electronic Components
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Intro to Arduino Part 2 The Breadboard
Voltage, Current and Resistance
Presentation transcript:

CSC522 Embedded Systems Introduction to Circuit Design

CSC522 Hardware/Circuit Design You won’t be a circuit designer upon completion of this class –You will [hopefully] become comfortable working around hardware circuits –This is how software engineers become circuit designers, albeit sometimes bad ones More often than not, we become system integrators –Conversely, working with software is how hardware engineers become programmers, albeit sometimes bad ones We will consider the basics

CSC522 Hardware/Software Integration We will be studying hardware/software integration using the Basic Stamp development board

CSC522 The Basics (no pun intended)

CSC522 Electo-Static Discharge (ESD) Static electricity –It’s the shock you get when rubbing your feet across the carpet then touching the person next to you –It can destroy electronic components Ideally we work with hardware in a static safe lab – we are not working in an ideal situation here Therefore, prior to working with hardware you should touch a metal, grounded object prior to touching the hardware

CSC522 Power Make sure the power is OFF (unplugged) when you are putting components onto the board!!! Check your work carefully prior to supplying power to the board

CSC522 Supply Voltage Vdd – equivalent to the “+” terminal of a battery (Voltage Drain Drain) Vss – equivalent to the “-” terminal of a battery (Voltage Source Source)

CSC522 Solderless Breadboard (Proto Board) This is used to create circuits without having to solder parts or have special boards manufactured, thus the name –Used for prototyping circuits, thus the alternate name Rows on either side of the vertical center are connected together and thus are considered a SINGLE connection

CSC522 Solderless Breadboard (Proto Board) These 5 holes are connected together

CSC522 Resistor Resists the flow of electrical current –Some components don’t like a lot of electrical current –Creates a voltage drop across the resistor –Ohm’s Law: V = IR Amount of resistance is specified in ohms, “Ω” –Resistors come in many values Two leads (legs) Resistors are bidirectional –It doesn’t matter which way you insert them into the circuit

CSC522 Resistor 470 Ω First 3 color bands represent the value in ohms Last color band represents the accuracy in percentage Schematic symbol See:

CSC522 Light Emitting Diode (LED) One way current valve Important to insert them in the proper direction Color means nothing in terms of circuit connection Two leads (legs) –Anode (labeled “+”) –Cathode

CSC522 Light Emitting Diode (LED) + Cathode Anode Schematic symbol

CSC522 Push Button Simple input device Four leads (legs)

CSC522 Push Button 1,23,41,32, ,42,3 When pressed, the 1 is connected to 2 and 3, and 4 is connected to 2 and 3 When not pressed, 1 is connected to 4 and 2 is connected to 3 Schematic symbol

CSC522 Speaker Piezoelectric Speaker (beeper) Schematic symbol

CSC522 Activity Create a [very] simple circuit (see next slide) DO NOT APPLY POWER UNTIL YOU ARE DONE CONNECTING UP THE CIRCUIT!!! This one requires no software Board have a 3-way power switch –Position 0 – off –Position 1 – on but only to circuits –Position 2 – on to circuits and servo drivers

CSC522 A Simple Circuit 470 Ω VddVss One lead from each component plugged into same row

CSC522 Ice Breaker Build the following three circuits on the proto-board

CSC522 Ice Breaker Circuits/No Code 470 Ω VddVss 470 Ω VddVss 1,42,3 1,42,3 470 Ω VddVss

Circuits and Code CSC Ω P9 Vss HIGH 9 PAUSE 2500 LOW 9

Circuits and Code CSC Ω P9 Vdd 1,42,3 10k Ω Vss DO DEBUG ? IN9 PAUSE 250 LOOP btnpin VAR Byte btnwrk VAR Byte btnpin = 9 Main: PAUSE 5 BUTTON btnpin, 0, 200, 20, btnwrk, 0, No_Press DEBUG "*" No_Press: GOTO Main

Circuits and Code CSC522 Vss P9 FREQOUT 9, 1500, 2000

CSC522 Development Environment The Basic integrated development environment (IDE) has been installed on all computers –Parallax group in Start menu If you are doing this at home (or laptop) you should download the latest Basic Stamp IDE from

Assignment – The “wordy” version Two buttons (call them B1 and B2) Three LEDs,1 yellow, 1 red, 1 green (call them Y, R, and G) System specification –Start in “home position” LEDs off –Press B1 one time Press B2 one time – flash Y slow Press B2 two times in succession – flash Y medium Press B2 three times in succession – flash Y fast Press B1 – return to “home position” –Press B1 two times in succession Press B2 one time – flash R slow Press B2 two times in succession – flash R medium Press B2 three times in succession – flash R fast Press B1 – return to “home position” –Press B1 three times in succession Press B2 one time – flash G slow Press B2 two times in succession – flash G medium Press B2 three times in succession – flash G fast Press B1 – return to “home position” –Press B1 four times in succession Press B2 one time – flash LEDs in order Y-R-G-Y-R-G-… Press B2 two times in succession – flash LEDs in order G-R-Y-G-R-Y-… Press B1 – return to “home positin”

Notes “one time”, “two times”, “three times” means button presses in “rapid” succession So for example –, B1, B2-B2,, B1, –, B1-B1-B1, B2,, B2, B1,

Deliverables A state-machine diagram depicting the operation of the system Source code A schematic diagram of the circuit A working demonstration on the Basic Stamp development board (in class)