Figure 1 Character Mapping
According to the datasheet, each character is shown on the LCD by writing a 5 byte array to the OLED memory.
For example, if you want to write a character A, you will continuesly input 5 byte, 0b01111110,0b00001001,0b00001001,0b00001001, and 0b01111110, into OLED memory. '1' means lighting up the corresponding pixel and zero means shutting down that pixel.
As we found that a 20-pin PIC do not have sufficient pins for development. As a result, we deside to use a 40-PIC, PIC18F4550, for the LCD module development.
Figure 2 PIC18F4550 Schematic
Compared with previous version, I added three external interrupts (RB0, RB1 and RB2 ) which is for debuging. As Isuru instructed, I properly arranged the component and put all the buttons and LEDs together for easy using and watching.
Figure 3D simulation of the PCB with Component |
HOME: FYP STUDENTS 2008 > Hou Junsong >