How to create custom characters on 16x2 LCD using PIC18F4550
Summary
The 16x2 character LCD can also be used to display custom characters other than numerals, alphabets & special characters. Refer LCD interfacing with PIC. Some special shapes like hearts, arrows, smileys etc. can easily be displayed on the 5x8 pixel pattern of character LCD. These shapes are first stored at a special location in LCD’s controller and then displayed on the LCD module. This procedure has been explained here by using PIC18F4550.
Description
The special characters are generated by bit-mapping of LCD’s 5x8 bit pixel matrix. Refer Creating custom characters on LCD using 8051 for more details on bitmap generation and storing custom values in custom generator (CG) RAM of LCD’s controller.
ASCII Code | Base Address |
0 | 64 |
1 | 72 |
2 | 80 |
3 | 88 |
4 | 96 |
5 | 104 |
6 | 112 |
7 | 120 |
Video
Code
This Code is only visible to Registered users. Please Login/Register
Components
|
Preset A preset is a three legged electronic component which can be made to offer varying resistance in a circuit. The resistance is varied by adjusting the rotary control over it. The adjustment can be done by using a small screw driver or... |
|
LCD
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. These modules are preferred over seven segments... |
|
PIC18F4550 PIC18F4550 is an 8-bit microcontroller of PIC18 family. PIC18F family is based on 16-bit instruction set architecture. PIC18F4550 consists of 32 KB flash memory, 2 KB SRAM... |
- 8837 reads
