multidisciplinary engineering senior design 6510 interface project preliminary design review...

32
Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05

Upload: virginia-ruby-fox

Post on 18-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05

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

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

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

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

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

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

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

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

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

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

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

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

Reader Design

Page 14: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05

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

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

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

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

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

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

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

Agilent HSDL-3000

Page 22: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05

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

DLP-TXRX

Page 24: Multidisciplinary Engineering Senior Design 6510 Interface Project Preliminary Design Review 11/19/05

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

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

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

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

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

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

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

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

Questions ?