ABSTRACT:
For our projects we are using displays to show the output, but with 16×2 display options are very limited and it had only two rows. By using nokia LCD we can display data in multiple rows and these LCD can easily be programmed to display graphics as well and resolution of this LCD is better.
ARDUINO:
For this project I have been using freeduino which is having atmega 8 microcontroller. Atmega328P, Fully compatible with Arduino UNO Board. This board has 14 digital pins, 6 analog pins, 8 pin Power connector has 5V, 3.3V GND and Reset connection. SCL and SDA lines are also made available in the connector. 100uf/16V capacitors are used instead of 47uf as in original UNO design for improved filtering. Power selection is automatic, it can be from USB or external power adopter.
This board uses Atmega16U2 microcontroller for software based USB to serial converter and comes Atmega328P-PU chip as main controller for projects.
As this board is 100% compatible with Arduino UNO R3, You don’t have to change any thing in Arduino IDE. It will work as UNO R3 always with lower cost.
Original Arduino UNO design is fallowed so there is no difference, made in most modern automated factory for great quality and reduced cost. Anti static package and a good quality FREE USB cable 52 CM long comes with this pack.
NOKIA 5110 LCD
This is a quick tutorial for our 84×48 pixel monochrome LCD display. These displays are small, only about 1.5″ diameter, but very readable due and comes with a backlight. This display is made of 84×48 individual pixels, so you can use it for graphics, text or bitmaps. These displays are inexpensive, easy to use, require only a few digital I/O pins and are fairly low power as well. The display driver is a PCD8544 chip, and it runs at 3.3V so you’ll need a 3V supply handy
Fig. 1: Prototype of Arduino and Nokia LCD Interfacing Circuit
Specifications of LCD 5110
· 48 x 84 Dot LCD Display
· Serial Bus Interface with maximum high speed 4.0 Mbits/S
· Internal Controller No.PCD8544
· LED Back-Light
· Run at Voltage 2.7 -5.0 Volt
· Low power consumption; it is suitable for battery applications
· Temperature range from -25°C to +70°C
· Support Signal CMOS Input
Block diagram
Fig. 2: Block Diagram of Nokia LCD
PINNING (all pins including internals):
SYMBOL |
DESCRIPTION |
R0 to R47 |
LCD row driver outputs |
C0 to C83 |
LCD column driver outputs |
VSS1, VSS2 |
ground |
VDD1, VDD2 |
supply voltage |
VLCD1, VLCD2 |
LCD supply voltage |
T1 |
test 1 input |
T2 |
test 2 output |
T3 |
test 3 input/output |
T4 |
test 4 input |
SDIN |
serial data input |
SCLK |
serial clock input |
D/C |
data/command |
SCE |
chip enable |
OSC |
oscillator |
RES |
external reset input |
dummy1, 2, 3, 4 |
not connected |
Pin Functions
1 R0 TO R47 ROW DRIVER OUTPUTS
These pads output the row signals.
2 C0 TO C83 COLUMN DRIVER OUTPUTS
These pads output the column signals.
3 VSS1, VSS2: NEGATIVE POWER SUPPLY RAILS
Supply rails VSS1 and VSS2 must be connected together.
4 VDD1, VDD2: POSITIVE POWER SUPPLY RAILS
Supply rails VDD1 and VDD2 must be connected together.
5 VLCD1, VLCD2: LCD POWER SUPPLY
Positive power supply for the liquid crystal display. Supply
rails VLCD1 and VLCD2 must be connected together.
6 T1, T2, T3 AND T4: TEST PADS
T1, T3 and T4 must be connected to VSS, T2 is to be leftopen. Not accessible to user.
7 SDIN: SERIAL DATA LINE
Input for the data line.
8 SCLK: SERIAL CLOCK LINE
Input for the clock signal: 0.0 to 4.0 Mbits/s.
9 D/C: MODE SELECT
Input to select either command/address or data input.
10 SCE: CHIP ENABLE
The enable pin allows data to be clocked in. The signal is active LOW.
11 OSC: OSCILLATOR
When the on-chip oscillator is used, this input must be connected to VDD. An external clock signal, if used, is connected to this input. If the oscillator and external clock are both inhibited by connecting the OSC pin to VSS, the display is not clocked and may be left in a DC state. To avoid this, the chip should always be put into Power-down mode before stopping the clock.
12 RES: RESET
This signal will reset the device and must be applied to properly initialize the chip. The signal is active LOW.
Function of Pin LCD (externals)
1 |
VCC |
+VCC ; USING POWER SUPPLY |
2 |
GND |
Pin Ground
|
3 |
SCE |
Pin CHIP ENABLE to control operation of Pin
|
4 |
RESET |
Signal RESET for operation of LCD
|
5 |
D/C |
Pin to configure the data formats between Data and Command
|
6 |
SDIN |
Pin DATA
|
7 |
SCLK |
Pin CLOCK
|
8 |
LED |
Pin to control operation of LED |
INSTRUCTIONS
The instruction format is divided into two modes: If D/C (mode select) is set LOW; the current byte is interpreted as command byte (see Table 1). Figure 8 shows an example of a serial data stream for initializing the chip. If D/C is set HIGH, the following bytes are stored in the display data RAM. After every data byte, the address counter is incremented automatically.
The level of the D/C signal is read during the last bit of data byte. Each instruction can be sent in any order to the PCD8544. The MSB of a byte is transmitted first. Figure 9 shows one possible command stream, used to set up the LCD driver.
The serial interface is initialized when SCE is HIGH. In this state, SCLK clock pulses have no effect and no power is consumed by the serial interface. A negative edge on SCE enables the serial interface and indicates the start of a data transmission.
Description
These displays are small, only about 1.5″ diameter and it can be used for display low quality graphics and it is very easy to use. Connect the pins according and program it. This LCD is using I2C communication to communicate, if u r using any other microcontroller then please check if it supports I2C.
Fig. 3: Typical Image of Nokia LCD Module
Pin connections:
RST TO 12
CE TO 11
DC TO 10
DIN TO 9
CLK TO 8
Circuit Diagrams
Project Video
Filed Under: Electronic Projects
Filed Under: Electronic Projects
Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.
Tell Us What You Think!!
You must be logged in to post a comment.