1 / 27

Microprocessor Controlled Oscilloscope

Microprocessor Controlled Oscilloscope. Albert Gural, Sarah Munyan. Plan. Get a simple LED-blinking circuit operational Add an ADC input to the microprocessor Add an LCD output to the microprocessor Code a simple Oscilloscope. Initial LED Blinking Circuit. MC6802 microprocessor

frisco
Download Presentation

Microprocessor Controlled Oscilloscope

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microprocessor Controlled Oscilloscope Albert Gural, Sarah Munyan

  2. Plan • Get a simple LED-blinking circuit operational • Add an ADC input to the microprocessor • Add an LCD output to the microprocessor • Code a simple Oscilloscope

  3. Initial LED Blinking Circuit • MC6802 microprocessor • OKI 28C16A ROM • LS373 Latch • LS240 Buffer • Hand-wired logic

  4. Initial LED Blinking Circuit Buffer ROM MPU Logic Latch LEDs and Drivers

  5. Initial LED Blinking Circuit

  6. Initial LED Blinking Circuit Code LATCH = $$7FFF .area MAIN (ABS) .org $$0100 main: LDAA #$$00 LDS#$$007F m2: INCA BSRpause STAALATCH BRAm2 pause: LDAB #$$FF p2: DECB BEQp3 BRAp2 p3: RTS

  7. Initial LED Blinking Circuit Problems • LOTS of wiring for logic • Tri-state buffer • Too complicated • Too rigid • Takes up address space • Latch triggering • Fixed by not-ing the enable pin

  8. Final LED Blinking Circuit • MC6802 microprocessor • OKI 28C16A ROM • LS373 Latch • LS138 Decoder

  9. Final LED Blinking Circuit ROM MPU Decoder Latch LEDs and Drivers

  10. Final LED Blinking Circuit Solutions • Wiring for logic eliminated through use of decoder • No tri-state buffer needed • Showed that microprocessor system worked

  11. ADC Circuit • MC6802 microprocessor • OKI 28C16A ROM • LS373 Latch • LS183 Decoder • 0804 ADC

  12. ADC Circuit ADC Latch ROM External Inputs MPU Decoder Latch LEDs and Drivers

  13. ADC Circuit Code LATCH = $$0100 ADC= $$4000 LCD= $$8000 .area MAIN (ABS) .org $$0100 main: LDAA ADC STAA LATCH BRAmain

  14. ADC Circuit Video

  15. LCD Circuit • MC6802 microprocessor • OKI 28C16A ROM • LS373 Latch • LS183 Decoder • LCD Display

  16. LCD Circuit ROM MPU Decoder LCD Display Latch Latch

  17. LCD Problems • Difficult to interface with the LCD • LCD required: • 8 data pins • 3 control pins (D/I, CS1, CS2) • 2 8-bit Latches • LCD timing

  18. Oscilloscope Circuit • MC6802 microprocessor • OKI 28C16A ROM • LS373 Latch • LS183 Buffer • 0804 LCD • LCD Display

  19. Oscilloscope Circuit Address Map 215 | 214 | 28 0 0 1 000 010 100 101 111 001 011 110 RAM n/a ADC n/a LCD control LCD data ROM ROM

  20. Oscilloscope Circuit External Inputs ADC ROM MPU Decoder LCD Display Latch Latch Latch

  21. Oscilloscope Circuit

  22. Oscilloscope Circuit Code

  23. Oscilloscope Circuit Problems • Lots of difficulty getting the LCD to display the correct information • Still getting a lot of garbage on the LCD • LCD timing (if any)

  24. Conclusion • Successful in getting everything except the LCD to work • Only a few more days would be needed to fix the LCD issue

  25. Going Farther • Multiple ADC’s could be tied together to allow for a multi-input oscilloscope • More powerful processor could be used to get higher sample rates

  26. Acknowledgements • Mr. Montgomery • Mr. Bell • Nick Arango • Ned Danyliw • Mr. Dela Cuesta

  27. Questions?

More Related