Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

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.

 

More Articles to Read

Muxtronics open source 12V powerbank
Muxtronics open source 12V powerbank
TI’s Little Professor
TI’s Little Professor
App note: Testing inductors at application frequencies
App note: Testing inductors at application frequencies
1968 Princeton Reverb Repairs
1968 Princeton Reverb Repairs
Skill Sunday: Power Over Ethernet for Arduino
Skill Sunday: Power Over Ethernet for Arduino
More on Color TFT Displays ~ The Big Ones — 240 X 320
More on Color TFT Displays ~ The Big Ones — 240 X 320
Magnetic Rotary Encoder
Magnetic Rotary Encoder
Vertical Pole Climbing Robot
Vertical Pole Climbing Robot
ESP8266 Weather Station Projects
ESP8266 Weather Station Projects
Single tube Lethal Nixie clock
Single tube Lethal Nixie clock

Top




Shares