Interfacing Nokia 3310 LCD with PIC 18F2520

Nokia 3310 was an extremely popular mobile phone during it’s time. However with advent of newer colour mobile phones the old ones are discarded, but almost everyone possessed this magical phone. As the topic suggests we are going to interface a Nokia 3310 LCD (Type LPH7779) with a PIC18F2520. The LCD can be bought at any mobile repairing shop or can be hacked off an old Nokia 3310. Beware the Chinese LCD do not possess the entire pixels but still work pretty well if you cannot find the original. The LCD is based on PCD8544 controller, it can drive a 48X84 pixels matrix LCD. Please note that this type of LCD interfacing is different than the conventional HD44780 type LCD. The LPH7779 LCD displays pixels and the characters need to be first created in the PIC Micro Memory, unlike the 2X16 LCD where the characters can be directly printed on the screen.

 

The tutorial is aimed at providing basic information for beginners and does not include the complex character generation method used. However any advanced user may read the datasheet for the controller and understand the method of displaying character and other commands used to initialize the LCD.

 

The compiler used is MikroC from Mikroelektronika (www.mikroe.com) which is available for download with 2k demo limit.

 

The PIC 18F2520 is a 28 pin device with 25 I/O Pins. It has 32K program memory and 1536 bytes of data memory along with many on chip peripherals like ADC, EUSART, SPI, MSSP, Interrupts etc.

The LCD connects with PIC 18F2520 via SPI (Serial Peripheral Interface) and requires only 5 I/O lines.  The setup uses the internal RC oscillator of PIC micro and no external crystal is required. The setting for internal RC oscillator can be set in the CONFIG register during setting up a new project wizard of MikroC. Inexperienced users may utilize an external 4 MHz crystal.

 

LCD PIN Details

 

  • SDIN: Serial Data Input
  • SCE: Chip Enable
  • SCLK: Serial Clock
  • D/C: Data or Command
  • Reset: Reset’s Chip
  • VDD: 3V Supply
  • Vout should be connected to GND via a 4.7uF (or higher) value capacitor.

 

Nokia LCD Circuit Diagram

 

Note: The VDD & VSS pins of PIC 18F2520(not shown) should be connected with VDD & GND of power supply or battery. A 100nf capacitor should be connected between the VDD& VSS pins of PIC18F2520. The circuit should operate at 3 volts, a CR2032 lithium ion cell may be used. The circuit consumes very low power.

 

Few Pictures:

 

Nokia LCD Display

Nokia LCD

Nokia LCD breadboard circuit

 

A Microchip ICD2 is used for programming. The picture shows a 18F2520 running a Nokia 3310 LCD. The setup may seem a little crude, but you can do the pruning and making it look a little pretty.

 

Program:

 

/* Nokia 3310 LCD Interfacing

         BOTSKOOL

      SHOBHITKUKRETI

*/

#include<nokia3310botskool.h>

#include<all.h>

void main()

{

TRISC=0; // PORT C as output

PORTC=0;   // Intial Value at PORTC is Zero

cmcon=0x07;  // Turn off the comparators

nokia_init();     // Initialising the Nokia LCD

delay_ms(10);

nokia_clear_screen(); // Screen should always be cleared intially.

delay_ms(10);

nokia_clean_ddram();

while(1)

{

nokia_gotoxy(15,0);

printf("  BOTSKOOL");

nokia_gotoxy(15,1);

printf("  CAN BE");

nokia_gotoxy(15,2);

printf("  REAL");

nokia_gotoxy(15,3);

printf("  FUN  ");

nokia_gotoxy(15,4);

printf("  24/7  ");

delay_ms(1500);

nokia_clean_ddram();

nokia_gotoxy(0,0);

printf("MADE");

nokia_gotoxy(40,0);

printf("BY");

nokia_gotoxy(5,2);

printf("SHOBHIT");

nokia_gotoxy(5,3);

printf("KUKRETI");

delay_ms(1500);

nokia_clean_ddram();

}

}

 

 

Please place the two header files in the include folder of “C:/Program Files/Mikroelektronia/MikroC” before compiling the code.

Comments & Suggestions are welcome.

P.S. : - 

LCD Controller is PCD8544, google it for datasheet and understanding the various commands sent to LCD to initialize. It also provides a good example to show how fonts can be developed. To display a picture on this LCD, small program called FAST LCD may be used which will covert any bmp image into a table which needs to be fed to the microcontroller. Similar to character generation the picture is first created in the PIC Micro memory and then displayed on the LCD

 

 

  

Comments

Member since:
7 August 2017
Last activity:
6 weeks 1 day

kanye west shoes

michael kors bags

ua shoes

ray ban erika

prada handbags

payless shoes online

official kate spade website

coach outlet online

pandora rings

pandoracharms

pandora rings uk

Coach Sunglasses Outlet

balenciaga outlet

Engagement Rings - Official

Nike Air Max 180

official michael kors

Ray Ban sunglasses

shoes sale

Nike Air Max

Air Max 180

burberry outlet

Dreamland Jewelry - Official

birkenstock sandals

birkenstock

Nike Air Max Couple

coach outlet online

prada outlet online

louis vuitton outlet online

Nike Air Jordan

gel kayano

official michael kors

michael kors outlet bags

Hugo Boss Store

payless shoes

Premier Jewelry - Official

ray ban outlet

Coach Handbags

pandora sale

coach watches

nike store

football jerseys

louis vuitton outlet online

coach outlet online sale

Add Your Link Free

backlink

louis vuitton us

michael kors

Nike Air Jordan Enfants

michael kors

Michael Kors Handbags Outlet Sale

kate spade outlet online

Green Cleaned

ugg boots

sunglasses

Nike Blazer Femmes

evbid

Wine

coach outlet

birkenstock outlet

Burberry Australia

payless near me

Chanel Outlet

north face sale

Nike Air Max

Prada Shoes - Official

michael kors outlet

ray ban wayfarer sunglasses

Oakley Sunglasses

puma sneakers outlet

payless shoes

nike free shoes

diesel watches

burberry outlet canada

prada sale

puma sneakers sale

louis vuitton outlet

Air Max 180 Homme

Jewelry Armoire - Official

coach handbags sale

Hermes Outlet

timberland shoes

Nike Air Max 2017

coachs outlet

louis vuitton outlet online

Nike Jordans

football jerseys

burberry outlet sale

Nike Free 3.0

michael kors outlet online

ray ban wayfarer

ray ban sunglasses

Rolex Watch

michael kors

michael kors

nike huarache shoes

ray ban sale

Adamson

pandora necklaces

kate spade italy

coach australia

pandora uk

pandora uk

swatch watch

michael kors watches

michael kors

rayban prescription sunglasses

Brighton Jewelry - Official

prada outlet online

Nike Air Force

michael kors outlet

fulam shoes

softball jerseys

Nike Air Max

balenciaga us

Air Max 1 Homme

michael kors

Watches

Air Jordan Enfant

chrome store canada

sunglasses store

coach outlet

michael kors outlet

Nike Free Run

mk outlet online

michael kors outlet

the beat

seiko watches

michael kors

Lifestyle

Air Max 90 Femme

hermes outlet

Nike Air Jordan enfants

hermes outlet

prada purses

kate spade outlet

nike jordan shoes

me adc8.7

Member since:
7 July 2017
Last activity:
2 weeks 1 day

2017.7.7yangping

coach outlet

moncler

mbt shoes

cheap jerseys from china

christian louboutin shoes

coach outlet online

kate spade

michael kors outlet clearance

nike free run flyknit

marc jacobs bags

fit flops

coach factory outlet

kate spade handbags

kd 9 shoes

cheap oakley sunglasses

nike air max 90

chi flat iron

kate spade outlet

longchamp handbags

hermes bags

ralph lauren outlet

coach outlet

salomon shoes

burberry outlet store

coach outlet online

christian louboutin sale

michael kors outlet

polo outlet

coach outlet online

nike free flyknit

air max

nike store

louboutin uk

houston texans jerseys

coach outlet

coach factory outlet

coach factory outlet

louis vuitton outlet

air jordan retro

levis jeans

polo ralph lauren outlet online

oakley sunglasses

moncler outlet

mont blanc

adidas nmd

true religion outlet

fit flops

steph curry shoes

cheap jordans

ralph lauren pas cher

michael kors outlet clearance

fitflops sale clearance

cheap nike shoes

coach outlet store

pandora charms sale

coach outlet

mont blanc pens

cheap mlb jerseys

coach factory outlet

ralph lauren outlet online

michael kors outlet online

birkenstock pas cher

coach factory outlet online

cheap nfl jerseys wholesale

polo ralph lauren outlet online

toms shoes outlet

pandora charms sale clearance

air jordans

ed hardy

ed hardy clothing

pandora charms

mont blanc pens

adidas superstar

mulberry purse

nike shoes for men

nike air max outlet

nike store

true religion

hermes handbags

celine outlet

cheap ray ban sunglasses

oakley sunglasses

ralph lauren sale clearance

adidas yeezy

borse gucci

louis vuitton handbags outlet

fitflops

michael kors bags

true religion jeans

louis vuitton outlet

oakley sunglasses

christian louboutin sale

christian louboutin

doudoune moncler

michael kors outlet

michael kors outlet clearance

versace shoes

louis vuitton outlet online

coach outlet

mulberry handbags

columbia shoes

pandora jewelry outlet

red bottoms shoes

ralph lauren

yeezy boost 350

pandora outlet

birkenstock sandals

christian louboutin

coach outlet

nike air max

parker pens

longchamp bags

vans shoes

yeezy boost

ralph lauren sale clearance

birkenstocks

nike roshe run

hollister clothing store

adidas pas cher

dansko sandals

discount oakley sunglasses

oakley sunglasses

hermes handbags

adidas yeezy

adidas yeezy

polo ralph lauren

james harden shoes

ralph lauren uk

hermes birkin

pandora

coach outlet

mlb jerseys cheap

true religion outlet

longchamp uk

coach outlet store online clearances

fendi handbags

rolex replica

sac longchamp pas cher

michael kors outlet

coach outlet

dansko shoes

dansko outlet store

gucci outlet

nike air max

christian louboutin outlet

wholesale nike shoes

adidas shoes

coach bags

jordan shoes

kate spade outlet

sac longchamp

nike outlet

coach factory outlet

coach factory outlet

tory burch outlet

ray ban sunglasses

birkenstock shoes

ralph lauren uk

vans outlet store

nike shoes

oakley sunglasses

adidas nmd

ralph lauren outlet

coach outlet

michael kors outlet clearance

adidas yeezy

tory burch outlet

michael kors uk

birkenstock sandals

cheap jordans

birkenstocks

clarks outlet

christian louboutin outlet

salomon shoes outlet

rolex replica watches

new england patriots jerseys

ray ban sunglasses discount

ralph lauren uk

fred perry polo

yeezy boost 350 v2

cheap mont blanc

rolex watches

swarovski crystal

true religion jeans

sac michael kors

fitflops

birkenstock shoes

ralph lauren sale clearance

cheap nfl jerseys

coach outlet

jimmy choo

mbt shoes

michael kors handbags

michael kors outlet

coach factory outlet

coach factory outlet

oakley sunglasses outlet

adidas yeezy

ralph lauren outlet

sac longchamp pas cher

coach outlet

adidas shoes

adidas shoes

ralph lauren outlet

michael kors handbags

oakley sunglasses outlet

louboutin pas cher

pandora jewelry

hermes outlet

hermes handbags

polo ralph lauren outlet

gucci outlet

pandora outlet

coach outlet

fitflops

clarks outlet

coach outlet

michael kors

cheap jerseys

kevin durant shoes

valentino shoes outlet

kate spade outlet store

tods outlet

birkenstock sandals

nike shoes

burberry outlet canada

cheap jordan shoes

coach factory outlet

red bottoms

michael kors outlet online

jordan shoes

louboutin

toms shoes

adidas uk

golden state warriors jerseys

cheap jordans

mulberry outlet

pandora bijoux

adidas superstar

michael kors outlet

cheap oakley sunglasses

coach factory outlet

ralph lauren uk

ed hardy

pandora jewelry

pandora uk

coach outlet

coach factory outlet

fendi handbags

tory burch outlet store

adidas superstar shoes

adidas nmd

pandora bracelet

dolce and gabbana outlet

yeezy boost 350

longchamp handbags

yeezy boost

coach factory outlet

cheap nike air max

adidas outlet

ralph lauren

nike outlet online

adidas superstar

polo ralph lauren

polo ralph lauren

louboutin chaussures

coach outlet store

supra shoes

polo ralph lauren

adidas yeezy boost 350

nike free 5.0

giuseppe zanotti outlet

pandora charms

fake rolex

louis vuitton outlet store

michael kors handbags

air jordan uk

polo outlet

nike shoes outlet

michael kors canada

coach factory outlet

pandora jewelry

pandora charms uk

oakley sunglasses

coach outlet

adidas shoes

yeezy boost

cat shoes

dallas cowboys jerseys

clarks shoes

fred perry

sac longchamp pliage

nike outlet store

toms outlet

christian louboutin outlet

nike outlet

coach outlet

air max 95

nmd adidas

swarovski jewellery

jordans

mbt shoes

fitflops sale clearance

ralph lauren outlet

kate spade handbags

fitflops

michael kors canada

cheap jordans

nike air max

official coach factory outlet

longchamp bags

toms shoes outlet

moncler jackets

michael kors outlet

marc jacobs handbags

birkenstock sandals

nmd adidas

burberry sale

coach handbags

adidas shoes

pandora uk

mlb jerseys wholesale

michael kors outlet

ecco shoes

pandora jewelry

coach outlet

moncler outlet

michael kors handbags

celine outlet store

pandora jewelry

swarovski crystal

ultra boost

true religion jeans

coach factory outlet online

nmd shoes

nmd adidas

birkenstock outlet

polo ralph lauren

seattles eahawks jerseys

polo ralph lauren

coach outlet

mont blanc

cheap jordans

louboutin shoes

kate spade handbags

coach outlet store

cheap mlb jerseys

ray ban sunglasses

coach outlet store

oakley sunglasses

polo ralph lauren outlet online

adidas uk

longchamp uk

adidas outlet

fitflops shoes

nike air max 90

air max 2017

cheap ray bans

coach factory outlet

mulberry bags

salomon shoes

longchamp outlet store

cheap jordans

cheap mlb jerseys

nike air max

under armour shoes

valentino shoes

adidas shoes

ray ban sunglasses

coach outlet

nike outlet

michael kors outlet

hollister co

discount ray ban sunglasses

nike factory store

red bottoms

adidas yeezy boost

louis vuitton handbags

christian louboutin

rolex replica watches

michael kors uk

kate spade outlet

fitflops uk

burberry outlet

true religion outlet

pandora soldes

christian louboutin shoes

yeezy boost 350

louis vuitton outlet

parada handbags

burberry outlet

columbia outlet online

coach factory outlet

coach outlet store online

michael kors outlet

coach outlet

cveland cavaliers jerseys

polo ralph lauren outlet

yeezy 350 boost

louis vuitton outlet

pandora charms

ray ban sunglasses

christian louboutin

miami heat jerseys

ralph lauren sale clearance

fred perry

kate spade outlet

adidas shoes

rolex watches

adidas nmd

nike roshe

coach outlet

birkenstock sandals

valentino

rayban

dansko outlet

christian louboutin outlet

cheap nfl jerseys

clarks shoes

timberland boots

ralph lauren outlet

pandora charms

nike air max 90

replica watches

ralph lauren outlet online

cheap jordans

mulberry handbags

adidas trainers

red bottoms shoes

longchamp outlet

pandora outlet

pandora charms

ralph lauren clearance

oakley sunglasses

yeezy boost 350

cheap jordans free shipping

longchamp outlet

adidas superstar

michael kors outlet online

michael kors outlet clearance

michael kors handbags

burberry outlet online

mulberry uk

michael kors outlet

pandora charms

moncler jackets

kate spade handbags

michael kors outlet

toms shoes

michael kors uk

tods shoes

ysl handbags

coach outlet store

michael kors

coach outlet store

coach canada

giuseppe zanotti sneakers

coach outlet

nike air max pas cher

nike air max

adidas outlet

nike free run black

longchamp uk

denver broncos jerseys

cheap oakley sunglasses

michael kors handbags

adidas nmd

adidas outlet

pandora jewelry

yeezy boost

prada outlet

longchamp handbags

fitflops

fitflop sandals

coach outlet store

yeezy boost 350

nike store

Member since:
9 February 2017
Last activity:
17 weeks 3 days

Basketball Jerseys Outlet

beat headphones

Nike Air Max TN

oakley frogskins glasses

pandora bracelet uk

prada bags

louis vuitton outlet

pandora bracelet

Basketball Jerseys Outlet

oakley glasses

kate spade bags

ray ban wayfarer

chrome store uk

canada goose coats

michael kors outlet online

Hockey Jerseys Outlet

prada uk

pandora necklaces

nike air max 95

shop mlb

major league baseball

nfl store near me

pandora uk

Shopping Online

louis vuitton outlet

michael kors uk

michael kors canada

pandora charms uk

Mens Sunglasses

Tiffany

louis vuitton factory outlet

burberry canada

nba mock draft

burberry outlet

authentic prada outlet online

prada outlet

Dreamland Jewelry - Official

Prada Shoes - Official

Prada bags

nike running

kate spade handbags

nike outlet

michael kors tote

Nike Air Jordan

north face outlet

Clothing

ugg boots uk

Burberry Shirt - Official

coach handbags

Mizuno Running Shoes

oakley frogskins sunglasses

chrome store

Oakley Sunglasses

prada outlet online

michael kors bags outlet

myhermes

pandora bracelet charms

coach outlet us

michael kors outlet online

louis vuitton handbags

prada bags outlet

burberry

michael kors outlet online

myhermes parcel shop

Nike Zoom

mlb store

chrome store

Gift

pandora bracelet

ray ban sunglasses

moncler outlet

canada goose sale

ugg uk

nfl schedule

pandora uk

mlb jerseys

mlb shop

ray ban sunglasses

michael kors outlet

nike air huarache

balenciaga outlet

shoes online sale

michael kors factory outlet

official

coach australia

prada bags

snow boots

polo outlet

salomon hiking shoes

Ray Ban Outlet

Burberry Australia

kate spade outlet online

michael kors online

coach outlet

prada bag

Oakley Australia

chrome hearts earrings

KD 8 shoes

Tiffany and Co.

Pandora Bracelet - Official

Hugo Boss Online

oakley australia

kate spade

nflshop com

Sports

Football Jerseys Outlet

prada outlet

adidas australia

mens sunglasses

ugg boots

Table

coach tennis shoes

rayban prescription

payless shoe source

kate spade handbags

ralph lauren australia

shoes sale

pandora bracelets charms

TCO

michael kors bags

nba score

michael kors us

coach crossbody

moncler outlet

yeezy boost 350 white

michael kors bags

balenciaga bag

Online Marketing

chrome store

nfl jerseys

kate spade

nike outlet

coach online

michael kors

Nike Free Run

Jewelry

Wedding Rings- Official

pandora bracelet

Zales Jewelry

prada men

beats studio

prada outlet prices

moncler men jackets

Oakley Australia

prada outlet

chrome store canada

louis vuitton outlet

prada wallet men

longchamp outlet

payless shoe

Salomon Speedcross Shoes

sunglasses

coach factory outlet

kate spade

Products Made in China

payless shoe store

hermes parcel

coach carter

pandora.com

pandora rings uk

Jewelry Armoire - Official

north face outlet sale

Flatware

pandora charms sale

pandora deutschland

Jewelry

coach factory outlet

uggs outlet

pandora sale

oakley holbrook glasses

mcm factory outlet

Coach Australia

Prada Shoes - Official

prada sunglasses

ray-ban aviator

pandora uk

Wine

pandora uk

yeezy boost 350

Gift Card

prada outlet online

prada saffiano

ray ban aviator

chrome hearts outlet

michael kors wallet

piumini moncler replica

Prada Sunglasses - Official

rayban eyeglasses

prada outlet california

Cheap Ray Ban

moncler jacket

pandora charms sale

coach outlet usa

pandoracharms

hermes belt

online shoes

ray-ban glasses

Ray Ban Australia

dre beats

pandora earrings

Coach Bags

nike shox

Nike Air Jordan

moncler clothing

ray ban sunglasses

pandora necklace charms

air jordan shoes

nike huarache shoes

nike shoes

pandora rings

Nike Free

kate spade black friday

louis vuitton outlet online

ray-ban outlet

Nike Air Max

coach outlet online

payless shoe store near me

ua shoes

louis vuitton outlet online

prada bags prices

Dinnerware

Prada Sunglasses - Official

ray-ban aviator

pandora earrings

prada online

Diamonds

pandora rings

Mobile Phones

louis vuitton outlet

pandora sale

balenciaga us

kate spade newyork

prada handbags

michael kors outlet

louis vuitton us

tracking ups

pandora rings

ray ban prescription sunglasses

celine factory outlet

michael kors bags

louis vuitton

homepage keywords

chrome hearts

ray ban wayfarer sunglasses

michael kors

kate spade bags

tiffany and co

coach outlet

authentic shoes

Nike Air Jordan

oakley frogskins

michael kors handbags

coach outlet

moncler jacket

michael kors outlet online

salomon sneakers

michael kors outlet

ugg boots sale

michael kors handbags

coach outlet

michael kors online

Sunglasses for men

prada outlet bags

moncler jacket

top sunglasses

adidas shoes australia

ray ban uk

nike air

burberry outlet

prada sale

coach bags

prada handbags

MIZUNO Shop US

coach outlet

balenciaga bags

kate spade online

louboutin shoes

coach

pandora jewelry

prada bags on sale

nfl fan shop

michael kors uk online

prada outlet price

ray ban aviator sunglasses

Nike Free Run

louis vuitton

kate spade canada

ups com tracking

michael kors australia official

ralph lauren polo

Wedding Registry

michael kors outlet

Nike Hyperdunk 2015

louis vuitton outlet

mlb.com

nike id

mk outlet

kate spade black friday

MIZUNO Shop On Line

brand sunglasses

prada outlet

prada outlet nj

Accessories

kate spade italian

shoes online

Engagement Rings - Official

prada clearance sale

michael kors

Nike Dunk SB Low

Oakley Sunglasses

coach outlet online

Oakley glasses

ray ban polarized sunglasses

prada bags

pandora rings

Mizuno Wave

sunglasses hut

pandora rings

ugg uk

michael kors outlet

nfl shop com

chanel australia

ups tracking number

christian louboutin shoes

Nike Free

polo online

michael kors outlet

prada bags

kate spade handbags

kate spade bags

2015 Nike Dunk

pandora bracelet

kate spade

abercrombie canada

moncler down jackets

ugg slippers uk

louis vuitton outlet online

Home

jordan shoes

ray ban online

michael kors shoes

discount nfl jerseys

louis vuitton outlet online

coach outlet

rayban prescription glasses

gel kayano

Coach Outlet Store

nike air max 2013

Watches

Sterling Silver Flatware

shoes online

Minisinbox

coach australia

ups shipping

nike shoes

official rayban

nfl store nyc

nba finals

sunglasses sm

north face outlet online

Nike Air Jordan

salomon mens shoes

kate spade outlet

burberry outlet online

nike air max

coach shoes

rayban sunglasses

kate spade bags outlet

yeezy boost 350

sunglass hut

Air Jordan

coach outlet online sale

pandora australia

Jimmy Choo Australia

pandora charm bracelet

Kay Jewelers - Official

michael kors outlet online

nba store

michael kors outlet clearance

coach purses

coach factory outlet online

prada outlet

Nike Air Jordan

ray-ban wayfarer

chanel bag

Prada Outlet

kate spade bags

my hermes tracking

Promise Rings - Official

Abercrombie Fitch

hermes handbags

moncler us

mcm outlet

prada outlet online

coach outlet

Jared Jewelry - Official

ray-ban sunglasses

Michael Kors Outlet

nike huarache

kate spade outlet

mlb jerseys

michael kors outlet

brand sunglasses

spades uk

tiffany co

snow boots uk

beats by dr dre

dr dre beats

pandora charms

pandora charms 2016

Wave Prophecy 2 Shoes

pandora charms cheap sale

snow boots

ray ban new wayfarer

nfl shop coupon code

ray ban polarized

boots

wayfarer sunglasses

CHanel Factory Outlet

tiffany and co

official prada site

nfl store

pandora rings

Nike Air Max

tiffany australia

louis vuitton factory outlet

coach watches

beats by dre headphones

polo outlet online

Air Jordan

pandora charms uk

prada outlet

kate spade outlet

pandora jewelry charms

Football Jerseys Outlet

Diamond Rings - Official

ugg slippers

pandora necklace

Mizuno Shop Japan

nike free shoes

Chanel bags Outlet

Shoes

ray ban sunglasses

classic

kate spade purses

michael kors outlet

chrome hearts

pandora jewelry

Mizuno Shop

moncler down Jackets

pandora rings uk

prada purses

yeezy boost 350 black

chrome hearts jewelry rings

Nike Air Max Lunar

prada outlet

ray ban prescription glasses

Jewelry Armoire - Official

louis vuitton australia

prada outlet online

burberry purse

payless boots

huaraches shoes

nike air max

beats headphones

celine outlet online

coach shoes

burberry outlet canada

coach outlet online

kate spade outlet

burberry outlet online

nbastore

Gift Certificate

Jordan Flight 45 Femme

burberry online

kate spade outlet online

michael kors outlet

Coach outlet online

coach usa online

official prada site

canada goose jacket

Birkin Bag Hermes

Longchamp Outlet

China Wholesale

michael kors outlet

Hyperdunk 2016

prada outlet bags

beats audio

payless sandals

pandora rings

payless shoes near me

canada goose outlet

nike shox

Nike Air Jordan

coach bags

pandora jewelry

coach australia

chrome hearts

canada goose mens

prada outlet texas

chrome hearts jewelry

coach usa

nike australia

coach sunglasses

adidas yeezy boost 350

coach outlet online

louis vuitton factory outlet

rayban glasses

sunglasses store

pandora charms sale clearance

pandora jewelry

michael kors bags

2017 Nike Air Max

pandora jewelry

coach wallets

Longchamp Sale

michael kors shoes

Air Jordan

rayban sunglasses

canada goose jacket

prada us

coach outlet online

nfl pro shop

Mizuno Shoes

ray ban

nike store

the beat

coach outlet store

ray-ban eyeglasses

michael kors factory outlet

ray ban new wayfarer sunglasses

pandora online

Cheap coach purses

ray ban sunglasses

ray ban sunglasses

nike com

michael kors outlet

nike shox

adidas shoes

Vase

michael kors bags

nike free

ups ground tracking

nfl apparel

Dreamland Jewelry - Official

michael kors outlet online

official chrome hearts

michael kors outlet

canada goose kensington parka

louis vuitton factory outlet

Hugo Boss Store

nfl shop

Nike Air Jordan

prada bags 2016

chrome hearts jewelry rings

michael kors wallet

pandora charms

payless shoes online

chrome hearts outlet

prada outlet store near me

official michael kors

rayban wayfarer

Nike Air Jordan

adidas australia

michael kors

sunglasses online

nba jerseys

pandora bracelet charms

celine outlet

beats by dre studio

pandora australia

pandora charms

pandora bracelet

michael kors outlet

kate spade online outlet

michael kors purses

kate spade italy

coach outlet

pandora charms

cheap mlb jerseys

coach outlet online

prada bags outlet

Air Max

louis vuitton purses

nba shop

huaraches

ugg

pandora charms sale clearance

michael kors outlet

coach outlet

chrome store

prada bags

kate spade handbags

chrome store

coach shoes for women

ray ban wayfarer

pandora bracelet charms

Drinkware

nba schedule

hermes uk

ups tracking

pandora bracelet

tiffany australia

prada outlet online

Nike Zoom

pandora australia

yeezy boost 350 shoes

payless coupons

Air Max

Tiffany And Co

pandora rings uk

rayban sunglasses

michael kors uk online

Wave Prophecy 2 Shoes

kate spade uk

coach factory outlet

nba scores

chrome hearts

coach factory

michael kors australia

adidas

michael kors outlet online

prada sale

Home Accessories

chrome hearts jewelry for men

prada online

michael kors bags outlet

pandora jewelry

coach outlet online

moncler outlet

pandora charm bracelet

michael kors tote

pandora app

Salomon Running Shoes

michael kors watches

pandora charms

shop mlb

Nike Air Max

pandora bracelet

louis vuitton online sale

kate spade wallet

burberry australia

prada official site

mlb clothing

Jimmy Choo Shoes

ray ban aviator

softball jerseys

pandora sale

ugg

prada shoes for men

Michael Kors

pandora bracelet

sunglasses

ray ban outlet

coach outlet

ray ban eyeglasses

Salomon Shoes

coach outlet online

moncler jackets

Air jordan Femme 2015

prada outlet bags

ups freight tracking

Canada Goose Outlet

coach outlet online

adidas yeezy boost

Gift Registry

Oakley Sunglasses

Hermes Outlet

Hugo Boss Outlet

michael kors watches

prada outlet online

mk outlet online

coach handbags

salomon shoes

michael kors bags outlet

Abercrombie Nederland

asics gel kayano

prada handbags

kate spade handbags

Phones

pandora earrings

burberry scarf

pandora uk

michael kors handbags

louis vuitton australia

pandora jewelry sale

kate spade

Nike Free

michael kors

coach outlet online

mlb store

payless shoes coupons

christian louboutin uk

louis vuitton 80% off

mcm outlet online

hermes parcel shop

official kate spade website

nike air max

louis vuitton bags

Coach Handbags

Air Jordan

payless shoes

prada outlet online sale

pandora official site

coach handbags outlet

Coach Sunglasses Outlet

prada outlet

rayban outlet

burberry australia

oakley holbrook sunglasses

Jared Jewelry - Official

nike air max

nba standings

coach handbags sale

coach outlet

beats by dre

mlb news

official michael kors

import sunglasses

yeezy boost 350 Pink

michael kors

louis vuitton australia

fox fur

Air Max

ray ban glasses

ray ban clubmaster sunglasses

michael kors online

cheap ray ban sunglasses

pandora rings

sunglasses outlet

dr beats

drum beats

Ray Ban sunglasses

chrome hearts jewelry

asics gel

pandora charms

oakley sunglasses

kate spade outlet online

nbashop

my herm茅s

pandora necklace

michael kors outlet

pandora charms

nike air max 90

michael kors outlet

Wedding

pandora charms sale

Home

nike free run shoes

Jordan Aero Mania Homme

ray ban wayfarer

dr dre headphones

adidas shoes

coach outlet online

coach factory

pandora bracelets

coach factory outlet

Kate Spade - Online Sale

coach outlet

kate spade outlet store

prada outlet sale

BURBERRYburberry australia

pandora outlet

huarache nike

nike jordan shoes

Brighton Jewelry - Official

mlb apparel

north face sale

burberry scarf

pandora bracelet

pandora charms

michael kors

coach totes

Nike Jordans

Sunglasses outlet sale

pandora jewelry

burberry online

Air Max

burberry scarfs

kate spade black friday

prada factory outlet

ray ban sunglasses

longchamp outlet online

pandora jewelry

michael kors purses

prada handbags

prada online

Longchamp tote

oakley glasses

yeezy boost

Phones case

Ray Ban Outlet store

nike outlet

chrome hearts us

michael kors uk

kate spade

rayban aviator

michael kors outlet bags

Baseball Jerseys Outlet

Mizuno Shop Japan

pandora rings

Coach Outlet

chrome hearts jewelry

prada online

michael kors outlet online

salomon boots

baseball jerseys

prada bags

ugg australia

poly sunglasses

burberry outlet

coach factory outlet

Nike Hyperdunk Shoes

michael kors outlet

chrome hearts

rayban prescription sunglasses

pandora uk

Company

prada outlet woodbury

ray-Ban sunglasses

chanel

ray ban clubmaster

Nike KD 8

coach factory outlet

beat maker

coach factory outlet

louis vuitton bags

chrome hearts earrings

michael kors outlet online

ray ban sunglasses

Tiffany Co

pandora bracelets

cheap moncler jacket

michael kors factory outlet

mlb shop

oakley holbrook.

coach outlet

chrome hearts canda

andora charms cheap sale

rap beats

Coach Outlet Online

tiffany co

prada outlet online

Baseball Jerseys Outelt

michael kors outlet online

Electronics

nba playoffs

nike shoes

pandora charms

Nike Air Max

burberry us

pandora charms 2016

prada outlet online

kate spade outlet

Nike Air Max

prada glasses

nba store nyc

michael kors outlet

kate spade UK

Abercrombie Outlet

Watches

Chanel Outlet

louis vuitton

Nike Jordan Shoes

prada sale

China Manufacturers

kate spade wallet outlet

asics kayano

beats dr dre

Bridal Registry

Michael Kors Canada

hermes bag

moncler coats

moncler sale

canada goose sale online

pandora charms

louis vuitton sale

michael kors outlet

Premier Jewelry. - Official

coach sunglasses for women

kate spade outlet

Nike Air Max

chrome hearts uk sale

prada bags

pandora rings

official coach outlet site

pandora rings

burberry outlet

Prada Sunglasses - Official

mlb com shop

Kevin Durant Shoes

Hermes Belt

kate spade bags

rayban aviator

kate spade outlet

Brighton Jewelry - Official

asics shoes australia

michael kors bags

China Suppliers

Premier Jewelry - Official

Nike Free Run

ugg boots

me adc5.20

Member since:
7 November 2010
Last activity:
6 years 44 weeks

Can you please upload the code for the function to display images on the LCD with the complete procedure? Thanks in advance.

Member since:
21 May 2010
Last activity:
6 years 44 weeks

 

Hi

I would like  to now what is the  best program for simulating nokia 3310 LCD  with PIC as i see in picture above?

Thanks


Member since:
20 May 2010
Last activity:
7 years 17 weeks

Wel nice tutorial,you have just explained it in easy way.I am a beginner and learning by reading and exeperimenting.

Member since:
28 April 2009
Last activity:
7 years 24 weeks

There are a lot of other associated registers with portc and portb. I have not gone through the data sheet of 16F887. Make sure comparators are off if any and , port is in Digital I/O mode and not the analog mode

Member since:
20 February 2010
Last activity:
7 years 27 weeks

Hi, I developed this circuit using a pic 16f887 and the result is great, now I want to set the display on the doors B.

I changed this part of code, but does not work:

TRISC = 0, / / Port C as output
PORTC = 0, / / Value at Intial PORTC is Zero

to

TRISB = 0, / / Port B as output
PORTB = 0, / / Value at Intial PORTB is Zero

and

# define nok_sclk portc.f0
# define nok_sda portc.f1
# define nok_dc portc.f2
# define nok_cs portc.f3
# define nok_res portc.f5

to

# define nok_sclk portb.f0
# define nok_sda portb.f1
# define nok_dc portb.f2
# define nok_cs portb.f3
# define nok_res portb.f5

The pins of the gates are different because I had followed another guide who brought her in this way and had already developed the circuit.

Anyway, with the pins changed on PORTC everything works, but when reprogrammed for PORTB no longer works.

How can I fix?

Thanks

Member since:
16 November 2009
Last activity:
7 years 44 weeks

I have built a program for driving the Nokia 3310 LCD. I bought 2 of these LCDs recently, while I had another older one with me(without the plastic frame). Now I am facing a problem interfacing these new LCDs that the display is garbled on both. The older one displays correctly (as in Proteus): 

 

What I am getting on both new LCDs is:

 

The older LCD:

 

see also the difference in graphics display for older & newer: 

http://lh5.ggpht.com/_Njeu3g-Ugm0/SwEr1nA5jqI/AAAAAAAABHM/7qrn4xQa7MI/s800/Clipboard04.jpg

 

http://lh6.ggpht.com/_Njeu3g-Ugm0/SwEr2p9aY4I/AAAAAAAABHQ/garYdv61FrU/s800/Clipboard05.jpg

 

The newer LCDs are not displaying the top 2 rows of the image & the last 11 rows of the LCD are always filled with random(?) dots. I also think the LCD is writing some data off-screen as some characters are not visible at all.I am using 5V for all the LCDs (according to some websites) & here's the (standard) initialization:


lcdcmd(0x21);  // Activate Chip and H=1.
lcdcmd(0x80 + 90); // contrast value (0 to 127): 60 enough for old LCD & 90 for new
lcdcmd(0x13);  // Adjust voltage bias.
lcdcmd(0x20);  // Horizontal addressing and H=0.
lcdcmd(0x09);  // Activate all segments.
clrdisp();  // Erase all pixel on the DDRAM.
lcdcmd(0x08);  // Blank the Display.
lcdcmd(0x0C);  // Display Normal.
pixelXY(0,0);  // Cursor Home.



The commands for setting contrast work (but different values  for old & new, as you can see above)
So finally here are my queries:
1) I suspect it is some different controller than PCD8544  (
http://www.edaboard.com/ftopic324477.html).  Is anyone aware of  a different controller than this in Nokia 3310 LCD?
2) Is 5V safe for this LCD/controller? datasheet says 7 V is absolute max.
3) I saw some people talking about setting an offset. What is it & how to use it? Cant find anything in the datasheet...



 

 

 

 

 

 

 

Note:- This post has been edited by munish4u911ex at Mon, 2009-11-16 19:34.