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

ESP8266 Kit Released
ESP8266 Kit Released
An Arduino laser pinball machine
An Arduino laser pinball machine
CTCSS fingerprinting: A method for transmitter identification
CTCSS fingerprinting: A method for transmitter identification
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
Brute force computation for cheap log digital potentiometer
Brute force computation for cheap log digital potentiometer
Smart "Homer"
Smart "Homer"
A DIY Segway-style vehicle
A DIY Segway-style vehicle
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Peeqo is a desktop bot that communicates through GIFs
Peeqo is a desktop bot that communicates through GIFs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs

Top


Shares