Presentation is loading. Please wait.

Presentation is loading. Please wait.

Network and Systems Laboratory nslab.ee.ntu.edu.tw 2010/12/10Wireless Sensor Network And Labs fall 20101.

Similar presentations


Presentation on theme: "Network and Systems Laboratory nslab.ee.ntu.edu.tw 2010/12/10Wireless Sensor Network And Labs fall 20101."— Presentation transcript:

1 Network and Systems Laboratory nslab.ee.ntu.edu.tw 2010/12/10Wireless Sensor Network And Labs fall 20101

2 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 2010/12/10Wireless Sensor Network And Labs fall 20102

3 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 2010/12/10Wireless Sensor Network And Labs fall 20103

4 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 2010/12/10Wireless Sensor Network And Labs fall 20104

5 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 2010/12/10Wireless Sensor Network And Labs fall 20105

6 Network and Systems Laboratory nslab.ee.ntu.edu.tw Taroko Schematic Light sensors LEDs Switches 2010/12/10Wireless Sensor Network And Labs fall 20106

7 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 2010/12/10Wireless Sensor Network And Labs fall 20107

8 Network and Systems Laboratory nslab.ee.ntu.edu.tw Map to Real Device 2010/12/10Wireless Sensor Network And Labs fall 20108

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

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

11 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 2010/12/10Wireless Sensor Network And Labs fall 201011

12 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 2010/12/10Wireless Sensor Network And Labs fall 201012

13 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. 2010/12/10Wireless Sensor Network And Labs fall 201013

14 Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Datasheet SPI interface 2010/12/10Wireless Sensor Network And Labs fall 201014

15 Network and Systems Laboratory nslab.ee.ntu.edu.tw M25P80 Signal Description SPI interface 2010/12/10Wireless Sensor Network And Labs fall 201015

16 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 2010/12/10Wireless Sensor Network And Labs fall 201016

17 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 2010/12/10Wireless Sensor Network And Labs fall 201017

18 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 2010/12/10Wireless Sensor Network And Labs fall 201018

19 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 2010/12/10 Wireless Sensor Network And Labs fall 2010 19

20 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. 2010/12/10Wireless Sensor Network And Labs fall 201020

21 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 2010/12/10Wireless Sensor Network And Labs fall 201021

22 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 2010/12/10Wireless Sensor Network And Labs fall 201022

23 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 2010/12/10Wireless Sensor Network And Labs fall 201023

24 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 2010/12/10Wireless Sensor Network And Labs fall 201024

25 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 2010/12/10Wireless Sensor Network And Labs fall 201025

26 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? 2010/12/10Wireless Sensor Network And Labs fall 201026

27 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) 2010/12/10Wireless Sensor Network And Labs fall 201027

28 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 2010/12/10Wireless Sensor Network And Labs fall 201028

29 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 2010/12/10Wireless Sensor Network And Labs fall 201029

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

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

32 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 www.digikey.com www.mouser.com 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! 2010/12/10Wireless Sensor Network And Labs fall 201032

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

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

35 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 2010/12/10Wireless Sensor Network And Labs fall 201035

36 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) 2010/12/10Wireless Sensor Network And Labs fall 201036

37 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 2010/12/10Wireless Sensor Network And Labs fall 201037

38 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 2010/12/10Wireless Sensor Network And Labs fall 201038

39 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 2010/12/10Wireless Sensor Network And Labs fall 201039

40 Network and Systems Laboratory nslab.ee.ntu.edu.tw Tools Altium Designer http://www.altium.com/products/altium- designer/en/altium-designer_home.cfm http://www.altium.com/products/altium- designer/en/altium-designer_home.cfm Trial version https://trial1.altium.com/?lang=us#:1sy923989 2010/12/10Wireless Sensor Network And Labs fall 201040

41 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 2010/12/10Wireless Sensor Network And Labs fall 201041

42 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 2010/12/10Wireless Sensor Network And Labs fall 201042

43 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 2010/12/10Wireless Sensor Network And Labs fall 201043

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

45 Network and Systems Laboratory nslab.ee.ntu.edu.tw The Schematic 2010/12/10Wireless Sensor Network And Labs fall 201045

46 Network and Systems Laboratory nslab.ee.ntu.edu.tw Create your own schematic 2010/12/10Wireless Sensor Network And Labs fall 201046


Download ppt "Network and Systems Laboratory nslab.ee.ntu.edu.tw 2010/12/10Wireless Sensor Network And Labs fall 20101."

Similar presentations


Ads by Google