Microcontroller Driven Electroluminescent Display Jamie Buckmann - - PowerPoint PPT Presentation

microcontroller driven electroluminescent display
SMART_READER_LITE
LIVE PREVIEW

Microcontroller Driven Electroluminescent Display Jamie Buckmann - - PowerPoint PPT Presentation

Microcontroller Driven Electroluminescent Display Jamie Buckmann Christopher Stedman Advised by: Mr. Steve Gutschlag Outline Project Summary Functional Description System Block Diagrams Software Completed Tasked Results


slide-1
SLIDE 1

Microcontroller Driven Electroluminescent Display

Jamie Buckmann Christopher Stedman Advised by:

  • Mr. Steve Gutschlag
slide-2
SLIDE 2

Outline

–Project Summary –Functional Description –System Block Diagrams –Software –Completed Tasked –Results –Future Work

slide-3
SLIDE 3

Project Summary

Mechanical Engineering department requested that a multifunctional display be designed for the SAE formula car.

slide-4
SLIDE 4

Functional Description

Microcontroller Driven Electroluminescent Display

Ignition Signal Front Tire Sensor Oil Pressure Neutral Coolant Temperature O2 Sensor Keypad Electroluminescent Display Data

slide-5
SLIDE 5

Ignition Sensor (RPMs)

slide-6
SLIDE 6

Front Tire Sensor (Speed)

slide-7
SLIDE 7

Functional Description

OIL COOLANT NEUTRAL

slide-8
SLIDE 8

Decoding Logic

ADC0808 A/D (Block 6)

Analog Inputs

Signal Conditioning (Block 8)

Conditioned Analog Signal

Data Bus

Interrupt Signal to Microprocessor EOC IN[0:7] A B C

A0 A1 A2

OE ALE START CLK Vref+ Vref- +5V 0V

AMD-80C31 Microcontroller (Block 1) Ignition Signal (RPM) Front Tire Sensor Coolant Temperature Oil Pressure HM62256 Static RAM (Block 5)

A 8:15

Decoding Logic (Block 2) SED-1330 LCD Controller (Block 3)

Decoding Logic

ADC0808 A/D (Block 6)

Decoding Logic

Signal Conditioning (Block 8)

Conditioned Analog Signal

O2 Sensor

Keypad

* * *

Electroluminescent Display (Block 4) Neutral MM74C923 Keypad Encoder (Block 7)

AD & Com

80C31 Microcontroller with External Program Memory, Data Memory, & Latch (Block 1) Ignition Signal Front Tire Sensor Oil Pressure Neutral Data Bus Address Bus RD WR Port 1 & Port 3

A (8:15)

GAL26CV12B Decoding

(Block 2) LCD Controller Chip Select A/D Chip Select/ Control Signals Keypad Chip Select 500 kHz Square Wave for A/D 10 MHz Clock

RD WR

LCD Controller

(Block 3) RD WR RES A0 XD0-XD3 XECL XSCL LP WF YDIS YD YSCL VR/W VCE VA0-VA14 VD0-VD7 From Decoder

AD[0:7]

CS

Block Diagram

slide-9
SLIDE 9

Timing Write

LCD Controller

(Block 3) RD WR RES A0 XD0-XD3 XECL XSCL LP WF YDIS YD YSCL VR/W VCE VA0-VA14 VD0-VD7 From Decoder

AD[0:7]

CS

slide-10
SLIDE 10

Timing Read

LCD Controller

(Block 3) RD WR RES A0 XD0-XD3 XECL XSCL LP WF YDIS YD YSCL VR/W VCE VA0-VA14 VD0-VD7 From Decoder

AD[0:7]

CS

slide-11
SLIDE 11

Memory Space

0000 FFFF 8000 7FFF A000 9FFF Keyboard A/D LCD Controller Program & Memory Space C000

slide-12
SLIDE 12

Main Function Flowchart

Start Declare global variables Declare pointers (P1.7) = 0 Wait for 5 ms (P1.7) = 1 Initialize Screen Set character start address to 0000h Set graphic start address to 1000h Write spaces to all addresses in character layer Write blanks to all addresses in graphics layer Display screen End

Screen Initialization: – 8-pixel character width and height – 40 address bytes per line – Height of 240 lines – No scrolling – Layer 1 = Text Mode – Layer 2 = Graphic Mode

slide-13
SLIDE 13

Tachometer Increment Flowchart

F0 F8

Start

Address = Address +1 (Display value) = FF hex (11111111) ? Last address in tachometer box ? Previous address (Display value) = 0 Shift (Display value) right (Display value) = (Display value) OR 80h Write (Display value) down 10 times

End no yes yes no

78

slide-14
SLIDE 14

Analysis of Results

  • Designed and built interface between

microcontroller and LCD Display

  • Designed and wrote display software

– Original code in assembly – Conversion to C code

  • 3 Screens

– Racing Mode – Testing Mode – Time vs O2 Graph

slide-15
SLIDE 15

COOLANT GAS OIL GEAR

Race Screen

slide-16
SLIDE 16

Test Mode Screen

OIL COOLANT NEUTRAL

slide-17
SLIDE 17

O2 Screen

O2 time 3.26 4.32 3.54 4.86 4.49

slide-18
SLIDE 18

Analysis of Results

Developed system that is independent of the MicroPac board

  • 80C31
  • 27C256 EPROM
  • HM62256 SRAM
  • ADC0808 A/D
  • Attached to Display Controller
slide-19
SLIDE 19

Analysis of Results

–Keypad –Voltage regulation –Acquired signal parameters from the SAE Team (signal conditioning)

slide-20
SLIDE 20

Printed Circuit Board

Interconnections Designed in MultiSim 7 Exported to UltiBoard 2001 where chips were arranged on PCB

slide-21
SLIDE 21

Printed Circuit Board

slide-22
SLIDE 22

Printed Circuit Board

slide-23
SLIDE 23

Future Work

  • Generate more code to display acquired data
  • Attach system to SAE car
  • Designed PCB has limitless applications
slide-24
SLIDE 24