{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab6_s11_LCD_A-to-D - University of Florida Electrical and...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida EEL 4744 – Spring 2011 Dr. Eric M. Schwartz Electrical and Computer Engineering Dept. Revision 6 Damian Szmulewicz, TA Page 1/3 Lab 6: LCD and A/D: Digital Voltmeter 23 March 2011 OBJECTIVES In this lab you will learn how to control an LCD panel and to interface it to a microprocessor. You will also become familiar with an analog-to-digital conversion (ADC) system on a microprocessor and exercise this knowledge by using the F28335 DSP’s onboard ADC to build a simple voltage meter using an LCD to display the values. REQUIRED MATERIALS 1 – Female Header and 1 – Male Header 1 – LCD (4-bit data) 2 – Potentiometers (pots) You WILL need the following documentation: o LCD Panel Notes (4-bit data) o TMS320x2833x, 2823x Analog-to-Digital Converter (ADC) Reference Guide (SPRU812 A ) o TMS320F28335 Data Manual (SPRS439 H ): ADC Module chapter PART A: LCD DISPLAY In this section you will add an LCD display to your board. The LCD should be placed immediately to the left of your keypad on the bottom of your board, partially covering up your right switch bank. Note that the female header provided in your kit needs to be soldered to the board. so This will allow you to remove and replace the LCD at any time. Solder this header in the bottom row of your PCB with the plastic on the top of your PCB. Solder a single- row header with long wire-wrap pins on the row immediately above the female header location. Insert this header from the bottom of the PCB and solder it on top of your PCB.. This particular LCD display takes input through a 4-bit data bus. Refer to the LCD Panel Notes (4-bit data) document for pin-out and command information. The LCD module included in your kit defaults to 1x16 mode (1 line containing 16 characters) and 8-bit data. The LCD has 2 registers: command and data. The LCD Panel Notes (4-bit data) document includes a flowchart showing how to use the LCD display module in the required mode. 1. Consult the attached LCD document for pin-out information and an example circuit. Instead of connecting the LCD directly to the DSP’s data bus, you will interface it to the output of your GPIO pins as follows. GPIO pins LCD pins GP21 RS GP20 E GP19:16 DB7:4 Note: R/-W and VSS need to be connected to GND for this lab. Vo and VCC should be connected to 5V (This is not a typo, i.e. you should not connect VCC and Vo to 3.3V.) Actually, it would be better to connect Vo to a potentiometer that can vary its value between 0V and 5V. Although the LCD can probably be read okay looking from directly above with Vo = 5V, a lower value will usually increase the viewing angle.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern