Network and Systems Laboratory nslab.ee.ntu.edu.tw 2011/12/9Wireless Sensor Network And Labs fall 20111.

Slides:



Advertisements
Similar presentations
By: Alex Sowa Electrical Projects April 10 th, 2013.
Advertisements

Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Pulse Detector Ramiro Duarte, Clayton Greenbaum Prof. Betty Lise Anderson.
Motor Control Lab Using Altera Nano FPGA
By Solid State Workshop. ● A microcontroller is an integrated circuit that is programmed to do a specific task. ● Microcontrollers are really just “mini-computers”.
A Project Team Members: Shamlan AlbaharRifaah Alkhamis Doug BloomquistChris Deboer.
Team Impact Intelligent Helmet Impact System Preliminary Design Review January 29 th, 2008 Amanda Brodbeck Wei-Chu Liao Wei-Shen Liao Chris Mintle.
Experiment #2: Introduction to Logic Functions and their Gate-Level Hardware Implementations CPE 169 Digital Design Laboratory.
Electronics II Lab. Two Weeks. power connections Solderless Prototyping Board jacks for power connections.
Printed Circuit Board Design
PCB design and fabrication Lin Zhong ELEC424, Fall 2010.
LSU 06/04/2007Electronics 81 CAD Tools for Circuit Design Electronics Unit – Lecture 8 Schematic Diagram Drawing Etched Circuit Board Layout Circuit Simulation.
Introduction to Prototyping a LED Driver Part I: Driver Design and Component Selection September 24-28, 2012 Carol Lenk.
Component Identification: Digital Introduction to Logic Gates and Integrated Circuits © 2014 Project Lead The Way, Inc.Digital Electronics.
Embedded Programming and Robotics
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
An Inverting Amplifier. Op Amp Equivalent Circuit The differential voltage v d = v 2 – v 1 A is the open-loop voltage gain v2v2 v1v1 An op amp can be.
Watt Watch Hassan Alabudib Yirui Huang Peng Chen Kamal Sabi Marisol Lozano Roman.
The printed circuit board (PCB) design
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Simple Layout Class 2 zzz 2011/12/16
Ch4 Electronic Components Circuit/Schematic Symbols.
Objectives How Microcontroller works
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
MSP 430 Project ECE 300 Spring 2004 William S. McLemore Ruben D. Briano Cheng-Han Tsai.
Network and Systems Laboratory nslab.ee.ntu.edu.tw 2010/12/10Wireless Sensor Network And Labs fall
A mother board is the main circuit board for the computer system (hence the name mother board ) The mother board holds all of the other components of a.
Typical Microcontroller Purposes
MSP430 Group Project ECE 300 Spring 2007 Dr. Walter Green Jeffrey Logsdon John Ly Daniel Henderson Nataly Sumarriva.
Justin Kenny – IME  Project Description + Goals  Block Diagram + Descriptions  Schematic + Layout  Construction, Testing + Problems.
By: Khalid Hawari Muath Nijim Thaer shaikh Ibrahim Supervisor: Dr. Jamal Kharousheh Dr. Nasser Hamad 27 December 2010.
Administrative Introduction Our goals for this project are for the three robots to work together intelligently to complete a maze faster than an individual.
ECE 445: Senior Design Getting Parts. Outline Senior Design Lab –Parts of past projects ECE Electronics Service Shop ( 265 Everitt Lab ) –Catalog of parts.
Brett Dunscomb David Howden Kevin Bedrossian Chris Clary.
Solar Power Array Management for the Solar Racing Team Mark Calotes Ginah Colón Alemneh Haile Nidhi Joshi Michael Lu School of Electrical and Computer.
LOGIC GATES. Electronic digital circuits are also called logic circuits because with the proper input, they establish logical manipulation paths. Each.
Basic Logic Functions Defined with Truth Tables AND OR Complement ABF ABF AF
©F.M. Rietti Embedded Systems I Controllers Data Sheets.
Electronics Speaker Project Mr Sanders.
ABE425 Engineering Measurement Systems Electronic Parts Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering University of Illinois.
Krister Borge Elektronics & computertechnology, employed at Sonen. CIRCUIT DESIGN IN EAGLE.
Power Supply Design. Power Supplies For most electronic devices it is necessary to provide a stable source of DC power. Batteries often serve this function.
1 Electrical Fundamentals We need some understanding of electrical fundamentals to do the lab exercises. Electric Circuit Consists of: –Power Source: Battery,
The printed circuit board (PCB) design §PCB design is part of the design process of a product in electronics industry. §PCB is a piece of insulating plastic.
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
Components of a typical full-featured microcontroller.
6.2 ELECTRONICS. CAPACITOR An electrical device used to store electrical charge.
Praxis I 13 Oct Outline Component & Device Measurement and Instrument Datasheet How to build circuit using breadboard.
How to Build a Digital Physical System - Lab Lecture 2.
BY Names of team mates and USN numbers TITLE OF YOUR PROJECT college logo example.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
Chapter 6: Voltage Regulator
Prototyping with Microcontrollers and Sensors. Overview Objective Background Information Problem Statement Materials Procedure Assignment Closing.
Continuity tester a handy tool for testing circuits
Build on a Breadboard Simulator
Development of T3Maps adapter boards
Digital System Design Digital Design and Computer Architecture: ARM® Edition Sarah L. Harris and David Money Harris.
Prototyping with Microcontrollers and Sensors
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
CPU1 Block Specifications
ARDUINO LINE FOLLOWER ROBOT
Component Identification
ECE477 MIDTERM DESIGN REVIEW: TEAM #08
Remote Controlled Smart Socket
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.
EET 1131 Unit 3 Basic Logic Gates
Component Identification: Digital
Presentation transcript:

Network and Systems Laboratory nslab.ee.ntu.edu.tw 2011/12/9Wireless Sensor Network And Labs fall 20111

Network and Systems Laboratory nslab.ee.ntu.edu.tw Making A Hardware Board Define system requirements Finding components and design circuit Capture Schematic Printed Circuit Board (PCB) layout Professional PCB manufacturers Home made PCB prototype PCB board Soldering Components Testing 2011/12/9Wireless Sensor Network And Labs fall 20112

Network and Systems Laboratory nslab.ee.ntu.edu.tw Typical Process 1. Define requirements 2. Get the circuits Design from scratch Google Ask some one who know 2. Find components Which IC you want to use 3. Create component libraries in the PCB software 4. Capture schematic Draw the circuit on the PCB software 5. Layout 1. Decide the shape of the board 2. Placing components 3. Make connections 6. Make the hardware board Export layout to manufacturer output, send to PCB manufacturer Home made PCB 2011/12/9Wireless Sensor Network And Labs fall 20113

Network and Systems Laboratory nslab.ee.ntu.edu.tw Today’s Class Introduction Create schematic library Capture schematic Next week Create PCB library (footprint) Layout 2011/12/9Wireless Sensor Network And Labs fall 20114

Network and Systems Laboratory nslab.ee.ntu.edu.tw First Of All -- Schematic Rectangle with pin names are usually components Rectangle with numbers are usually connector Usually on the schematic or their description, they will tell you what component it is (part number). You can find the datasheet of the component from Internet 2011/12/9Wireless Sensor Network And Labs fall 20115

Network and Systems Laboratory nslab.ee.ntu.edu.tw Taroko Schematic Light sensors LEDs Switches 2011/12/9Wireless Sensor Network And Labs fall 20116

Network and Systems Laboratory nslab.ee.ntu.edu.tw Real Device And Schematic There will be a designator for each component on schematic. And it is 1-to-1 map to the PCB board 2011/12/9Wireless Sensor Network And Labs fall 20117

Network and Systems Laboratory nslab.ee.ntu.edu.tw Map to Real Device 2011/12/9Wireless Sensor Network And Labs fall 20118

Network and Systems Laboratory nslab.ee.ntu.edu.tw Map to Real Device 2011/12/9Wireless Sensor Network And Labs fall 20119

Network and Systems Laboratory nslab.ee.ntu.edu.tw Map to Real Device 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Resources Available On Internet Books Google Application notes A document which gives more specific details on using a component in a specific application Provided by IC manufacturers Example: TI MSP430 application notes Reference design Especially RF IC Example: CC2420 reference design 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Search For Datasheet M25P80 Datasheet 8 Mbit, low voltage, serial Flash memory with 75 MHz SPI bus interface 8 Mbit, low voltage, serial Flash memory with 75 MHz SPI bus interface It is a flash memory SHT11 Datasheet SHT1x / SHT7x Temperature and Humidity Sensor 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw What To Look In Datasheet Functionality What does this IC do Electrical Characteristic Supply voltage Current consumption Etc Application Information How to make it work Packages What is the IC looks like Shape, size, pins design, pitch, etc. 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Datasheet SPI interface 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Signal Description SPI interface 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Connect M25P80 and MSP430 SPI interface on MSP430 Pin 2, 5, 6 is SPI interface on M25P80, connected to SPI interface of MSP430 Chip select and Hold pin connected to GPIO pins on MSP430 Write Protect is connected to Vcc, that means we are not using write protect function GPIO on MSP430 The SPI interface is shared with radio chip 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Datasheet Usually at the end of the datasheet, there will be some section call “Packaging information”, “Package”, …… This section contain the information about how the chip looks like Lets take a look at the common packages 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Packages A chip may have more than one package M25P80 has three Package information gives you the footprint of the chip 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw SO8W We use M25P80 SO8W package on Taroko A dot here defines pin #1 E E1 e b 2011/12/9 Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Through-hole vs SMD Through-hole A mounting scheme Pins inserted into holes drilled in PCB and soldered to pads on the opposite sidesoldered Expansion connector on Taroko Light sensor on Taroko SMD: surface mounted device Components are mounted directly onto the surface of PCB Many devices on Taroko are SMD Resistor, capacitor, MSP430, and more. 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Through-hole Packages SIP: single in-line packages DIP: dual in-line packages Through-hole package are old, their number decreased in modern design 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw SMD Packages Chip resistors, capacitors, inductors 0402, 0603, 0805, … Represent size of the chip 0805 means 0.08” x 0.05” rectangle 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw SMD Packages SO: Small outline Usually refer to IC with two rows of leads QFP: Quad flat package 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw SMD Packages QFN: Quad flat package, no-leads The packages we introduced just now are most commonly used Device datasheet should include the package information You will need it for PCB layout 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw SMD Packages BGA: Ball Grid Array PGA: Pin Grid Array These two are widely used in high end processor. They allow more pin-out from a single package. We seldom use ICs in these package, it is too difficult to solder by hand 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Power MSP430 USB CC2420 Radio Sensors, memory, LEDs, switches, expension Power what about Power? ? ? USB is 5V, MSP430 operating range is 1.8V ~ 3.6V. How to get supply power from USB? 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Regulator A semiconductor device that converts an input DC voltage (usually a range of input voltages) to a fixed- output DC voltage Many types of regulators, most commonly used Linear regulators Switching regulators You might accept power supply from various sources with different voltage, but you need a stable voltage for your system Use a regulator Regulator input output (5V ~ 40V) 3.3V (fixed) 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Linear Regulator Output voltage < input voltage All linear regulators require an input voltage at least some minimum amount higher than the desired output voltage This minimum amount is called drop-out voltage You can only step down the voltage Inefficient, power dissipated as heat Linear regulator inputoutput (3.3V)5V Regulator input output (5V ~ 40V) 3.3V (fixed) Taroko Taroko current consumption=60mA Power provided at the output = 3.3V * 60mA = 198mW Power provided at the output = 5V * 60mA = 300mW Power dissipated on regulator = 300mW – 198mW = 102mW Switching Regulator can step up the voltage 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Key Parameters of Regulators Input voltage range A range of possible input voltage Output voltage Fixed to some value Adjustable Can be adjust by some external resistors Maximum output current Maximum current allowed Drop-out voltage 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Linear Regulator ICs MCP1700T-3302TT (on Taroko) U25 on Taroko 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Typical Application Circuit Usually the datasheet has the typical application circuit 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Why To Buy You have a schematic, and already found out what is the components on it But, where to buy? Various sources Online retailers Local distributors These are probably two of the world largest online electronic components retailers. If the component you need cannot buy from these two sources, you might want to consider the other component! 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Putting Things Together Hardware prototyping Breadboard Printed Circuit Board 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Breadboard Fast and easy Signal unstable and inaccurate Ugly! Un-professional 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Printed Circuit Board Take some time Professional Signal is more stable Home made PCB Industry fabrication PCB 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Goal Design a term project control board Replace the Breadboard Place on you robot car Has Connectors to connect two Taroko’s Location node Control node: receive infrared, control motor, receive location Provide power supply for Taroko Has connectors to connect two infrared sensors Has connectors to connect two motor (PWM output) 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Block Diagram Taroko Location node Taroko Control node Battery 4 AA 6V output Regulator LM317L Connector 3-Pin Infrared Connector 3-Pin Infrared Connector 3-Pin Motor Connector 3-Pin Motor 3.3V 6V 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Components Battery connector: 2-pin, Regulator: LM317L, 8-pin SOIC Resistor, capacitor Taroko connector Location node: 2x5 pin, 2x3 pin Control node: 2x5 pin, 2x3 pin Infrared connector: 3 pin Motor connector: 3 pin 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw PCB Layout Software We are using “Altium Design 6” There are many other software available Process 1. Initial setup 2. Create schematic library 3. Capture schematic 4. Create PCB library 5. PCB layout 6. Output 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Tools Altium Designer designer/en/altium-designer_home.cfm designer/en/altium-designer_home.cfm Trial version /12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Altium Designer 6 Electronic product development solution Schematic capture PCB Board design Simulation FPGA design etc. We will use it to do the PCB layout 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Schematic And PCB 2011/12/9Wireless Sensor Network And Labs fall Create Schematic Layout

Network and Systems Laboratory nslab.ee.ntu.edu.tw Beginning 2011/12/9Wireless Sensor Network And Labs fall Blank schematic sheet Empty layout

Network and Systems Laboratory nslab.ee.ntu.edu.tw Create Components (Library) 2011/12/9Wireless Sensor Network And Labs fall Create schematic components2. Create PCB footprint 3. Link schematic and PCB components

Network and Systems Laboratory nslab.ee.ntu.edu.tw Capture Schematic 2011/12/9Wireless Sensor Network And Labs fall Place components on sheet Net_A1 2. Make connection

Network and Systems Laboratory nslab.ee.ntu.edu.tw Compile And Export 2011/12/9Wireless Sensor Network And Labs fall According to you schematic, export footprint to PCB

Network and Systems Laboratory nslab.ee.ntu.edu.tw Layout 2011/12/9Wireless Sensor Network And Labs fall Define outline Place components Make connection Polygon Pour

Network and Systems Laboratory nslab.ee.ntu.edu.tw PCB Layout Process Process 1. Initial setup 1. Create design workspace Create design workspace 2. Create PCB project 3. Add new “Schematic”, “PCB”, “Schematic library” and “PCB library” 2. Create schematic library 3. Capture schematic 4. Create PCB library 5. PCB layout 6. Output 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Schematic Library Component list (what components you need) LM317L Miscellaneous components Resistor capacitor connectors Schematic library contain the components you will use Altium Designer has a collection of libraries Search the libraries If the components you want is not in the libraries provide, you have to create one (both AD7798, ADXL330 was not found) Create library components for AD7766 and ADXL330 Copy Miscellaneous components 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Capture Schematic Schematic library are ready Capture Schematic Vcc REFIN(-), AIN1(-), AIN2(-), AIN3(-) connect GND GND Xout Yout Zout Give every power supply line a 0.1 μF capacitor 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw The Schematic 2011/12/9Wireless Sensor Network And Labs fall

Network and Systems Laboratory nslab.ee.ntu.edu.tw Create your own schematic 2011/12/9Wireless Sensor Network And Labs fall