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

Info iconThis 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. 2.
Background image of page 1

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

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

This document was uploaded on 07/11/2011.

Page1 / 3

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online