multidisciplinary engineering senior design 6510 interface project preliminary design review...
TRANSCRIPT
![Page 1: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/1.jpg)
Multidisciplinary Engineering Senior Design
6510 Interface Project Preliminary Design Review
11/19/05
![Page 2: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/2.jpg)
Project Participants
Sponsor: Mr. David Perlman Coordinator: Professor George
Slack Team Members: Eric Bohannon
(CE), Michael Winslow (EE), Scott Urban (ID)
![Page 3: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/3.jpg)
Project Mission
Create a cost effective card reader that wirelessly transmits the data to a listening host computer to perform a computer instruction Platform independent Audience of 10 to adult Card containing bar code created on
credit card size piece of cardboard
![Page 4: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/4.jpg)
Feasibility Project mission is attainable Innovation
Creative way to convert cardboard ink to electronic signal
Photo-Diode Creative way to design “card reader”
Interfacing Keeping bits from bar code stored
PIC Wireless Communication between host computer and
card reader
![Page 5: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/5.jpg)
Customer Requirements
Entire product is low cost Card reader is compact Card reader is battery powered Card produced on inkjet or laser
printer
![Page 6: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/6.jpg)
Customer Requirements
Card produced on cardboard Card Dimensions (credit card) Platform independent Wireless transmission End software has media capability
![Page 7: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/7.jpg)
Block Diagram
Card Reader
Power Supply
Wireless transmission circuitry
Bar code reading circuitry
Wireless Receiver circuitry
Host PC reception
Host PC software (media app)Card
containing bar code
![Page 8: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/8.jpg)
Core Design Modules
Card Reader (physical structure, dimensions, look and feel)
Card containing bar code Power supply Bar code reading circuitry
![Page 9: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/9.jpg)
Core Design Modules
Wireless transmission circuitry Wireless receiver circuitry Host PC wireless reception Host PC end software
![Page 10: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/10.jpg)
Card Design
Credit Card Size Card Stock Black Bar = “1” White Bar =“0”
![Page 11: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/11.jpg)
Card Reader
Self Contained (power supply, bar code circuitry, wireless transmission circuitry, and card holder)
Slot for obvious insertion of card Withstand falling
![Page 12: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/12.jpg)
Reader Design
Aesthetics (board/party game) Appeal to young teenagers without
distancing adult market (target: 10-up)
![Page 13: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/13.jpg)
Reader Design
![Page 14: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/14.jpg)
Power Supply
Standard (Duracell/Energizer) 9V batteries
LM2937 5V linear regulator Save Power
Sleep Mode (PIC) Disable Wireless Transmission
![Page 15: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/15.jpg)
Low Battery Detect
Low Battery Warning Voltage Divider with Comparator
![Page 16: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/16.jpg)
Bar Code Reading Circuitry
Eight detectors will be used to detect the black (no light) and white (light) lines on the card. Comparators
CMOS Levels
![Page 17: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/17.jpg)
IS489 Light Detector
Eight IS489 devices will read the data bits off the card.
IS489 Light Detector
Light 0 volt output
To PIC
IS489 Light Detector
No Light
5 volt output
To PIC
![Page 18: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/18.jpg)
PIC16F627 Microcontroller
Controls photo-detectors and wireless circuitry SLEEP mode 16 Input/Output pins RISC CPU, each instruction takes 1us
@ 4 MHz (except program branches)
![Page 19: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/19.jpg)
Power Up
Initialize Registers and I/O pins
SLEEP mode
Wake up Interrupt (card
entered)
Read Data off Card
TX Data to IR Transceiver
Wait for “OK” signal coming back from
computer
Check Low Battery Pin
Flash LED to Indicate Problem
YesSignal
Received
NoSignal not Received
![Page 20: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/20.jpg)
Wireless Circuitry
Agilent HSDL-3000 IR Transceiver One at card reader and another at
computer end. Typical link distance > 1.5 m Low shutdown current (10 nA typical)
![Page 21: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/21.jpg)
Agilent HSDL-3000
![Page 22: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/22.jpg)
USB Interface
FTDI FT232BM Receives data from IR transceiver and
sends it to the computer via USB port. Virtual com port drivers available
![Page 23: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/23.jpg)
DLP-TXRX
![Page 24: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/24.jpg)
End Software
Java program listening to USB Receive each bar code from USB Filter “noise” Execute instruction
Virus scan Mail check
Special Media options
![Page 25: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/25.jpg)
Query USB Thread
User Request Thread
Bar Code Received? No
Yes
Update Spreadsheet
No, Execute File
Media file?
Yes, user queue?
Handle User Requests
Yes, place in queue
Create Card
Maximize Window
Change Bar Code
If user queue, Check Media Availability
If free, execute next media in queue
![Page 26: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/26.jpg)
Physical Level Realization
Card Reader (plastic)
Battery (Duracell)
PIC16F627A
IR transceiver
PIC16F627A
IR transceiver
USB connection
PC/ MAC/ Laptop
5V USB power
![Page 27: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/27.jpg)
End Result
Human User
Cards
Card Reader
Printer (inkjet or laser)
User Scan (power enabled)
Card entry recognition
Photo-detectorReflection
IR transmission
PIC bit recognition
Amplify, Digitize signals
Media Application
Java software bit reception
USB Communication
PIC bit reception
IR reception
Enter Waiting Queue
Update Interface
White = 0
Black = 1
![Page 28: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/28.jpg)
Cost Assessment
Power Supply ~ $4 Photo-Detector Circuit ~ $7 Microcontroller ~ $5 IR Transceivers ~ $7 USB Interface ~ $7 Total ~ $30
![Page 29: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/29.jpg)
Testing
Battery Life Card Reader Dimensions Card Size Dimensions Bar code dimensions Distance between photo-detectors
![Page 30: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/30.jpg)
Testing
Wireless transmission error rate User error Photo-detection error Wireless distance Mac/Windows capability
![Page 31: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/31.jpg)
Technical Concerns:
Power Saving (ability to keep card reader off when idle)
Wireless signal distance (how far away will card reader be from computer)
Photo-Detector saturation levels (how differently will black ink and a white background saturate a transistor)
![Page 32: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05](https://reader030.vdocuments.us/reader030/viewer/2022032703/56649d145503460f949e965e/html5/thumbnails/32.jpg)
Questions ?