Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

PIC controlled compass CMPS03 to graphical LCD

PIC controlled compass CMPS03 to graphical LCD

Readout of compass module CMPS03 to a NOKIA graphic LCD type LPH7779 used in a Nokia 3310 GSM. Controlled by a PIC16F877 at 4 MHz. Uses an I2C EEPROM 24C256 for character and symbol data.
How does it work?

Of course, the microcontroller 16F877 does most of the job.

1* Driving the graphic LCD module type LPH7779 (used in a Nokia 3310 GSM) This takes 5 data-lines (see basic schematic.) These are output only, which means that the LCD module only receives data. So we have to be very careful with signal-timing here.


2* Interfacing the CMPS03 module. We use the I²C interface for maximum resolution. Only the registers 2 & 3 are read (binary 16 bit, 0 to 3599.) This data is then converted to decimal and sent to the LCD.

3* Interfacing the I²C EEPROM 24C256. This stores character and symbol data. The NOKIA LCD module does not have an on-board character set (so each pixel has to be set individually.)

Visit Here for more.