Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (1 vote)
35 views

03 Unit 9 Assignment

This document summarizes Jeff Brown's work on a microprocessing assignment involving an LCD display. It includes: - Explanations of the control lines for the LCD (E, R/W, RS) and the lines that control contrast and power (Vee, Vcc) - Commands and addresses sent to the LCD like 01h, 0Fh, 80h - Details about writing to the LCD with or without checking the busy flag - Examples of calculating new addresses based on an initial address like 80h - Identifying keys pressed on a keyboard

Uploaded by

Jeff Brown
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
35 views

03 Unit 9 Assignment

This document summarizes Jeff Brown's work on a microprocessing assignment involving an LCD display. It includes: - Explanations of the control lines for the LCD (E, R/W, RS) and the lines that control contrast and power (Vee, Vcc) - Commands and addresses sent to the LCD like 01h, 0Fh, 80h - Details about writing to the LCD with or without checking the busy flag - Examples of calculating new addresses based on an initial address like 80h - Identifying keys pressed on a keyboard

Uploaded by

Jeff Brown
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Jeff Brown Microprocessing Mr.

Hamza 08-01-13
Chapter 12: Problems 2-11, 13, 15, 17, 21-28

2. They are the control lines for the LCD. E is for latching information into the LCD, R/W is for reading from or writing information into the LCD , and RS is for making a distinction between the data and command. 3. Vee controls the contrast of the screen while Vcc provides power to the LCD. 4. command, 01h 5. 0Fh 6. RS = 0, RW = 0, E = H-to-L pulse 7. RS = 1, RW = 0, E = H-to-L pulse 8. (a) 9. True 10. Sending information to the LCD without checking the busy flag is very simple to write but the microcontroller wastes a lot of time in a delay subroutine. The advantage of monitoring the busy flag is that the next information is sent when the LCD is ready and there is no wasting of time. This is very critical, especially when the microcontroller is busy and must serve many devices. However, the subroutine for monitoring the busy flag is much harder to write and takes more code. To monitor the busy flag, we make the port D0 - D7 of the LCD an input port, read the D7 bit, and wait for low. 11. 80h is the starting location ,and 16 locations to the right is 8Fh. 13. 80h is the starting location, and 20 locations to the right is 13h which result in 80h + 13h = 93h. 15. If 80h is the address of the first location, then adding 39 (27h) we get 80h + 27h = A7h. 17. 89h since 80h + 9 = 89h. The 10th is address 9 since it starts at 0. 21. 1s 22. (a) 23. (b) 24. key 3 25. This allows the microcontroller to do other things. 26. Use a chip for the keyboard (for both key press and identification) and then pass the scan code for the pressed key to the microcontroller via a hardware interrupt.

You might also like