Monday, June 30, 2008

Nokia 3310 PCD8544 Based Graphical LCD Demo





Ah. Happy New Year!! This is one cool graphical LCD. Not only it is easy to programme, the Nokia 3310 LCD also consumes low power. I manage to get hold of one of this from a friend of mine who is no longer wanting his Nokia 3310 cellphone. =)
Therefore, I decided to dismantle the cellphone and see what I could do with its individual parts. And, what really interest me was the LCD screen.

The Nokia 3310 is based on a PCD8544 Controller which is manufactured by Philips. With this controller, you can easily interface any PICs to it via SPI.






A simple text demo. Also a New Year's greeting. :)




Its pinout is as follows:-
1 - VDD ==> Input voltage.
2 - SCK ==> Serial Clock.
3 - SDI ==> Serial Data Input.
4 - D/C ==> Data/Command Input.
5 - SCE ==> Chip Select.
6 - GND ==> Ground.
7 - VOUT ==> VLCD.
8 - RES ==> Reset.



There are quite a few source codes available out there on how to control the LCD with a PIC. One good instance can be found in Michel Bavin's website. His firmware was coded in CCS-C. He has done a great job by providing good explainations on the functions of his Nokia 3310 LCD codes. I do not have CCS-C, therefore I decided to translate some of his codes to Hi-Tech C and add alittle features to it. Both codes uses 'bit-banging' SPI. =)





There, the picture to the left is another snapshot of it. Here, I added a function to plot a smooth continuous line and its plot time is surprisingly rather fast. There's also the typical bar plot as shown below. The firmware provided here runs a demo program at main( ) to generate random numbers and plotting them on the LCD using both bar and continuously line plot. Simply adjust the delay in the programme to control the speed of the plot. It's cool to see animation, rather than a still picture. ;-)



Graphical animation of random number plots using both bar and continuous line plots.





Okay, I guess this should be it. Most of the explainations of the firmware are already provided in the C source file. Check it out. And as usual, here is the source code and the schematics. =)


Schematics : Nokia3310schem.jpg
Source codes :
Nokia_3310_LCD.zip

SpecialThanks:geocities.com/dariuskrail20

2 comments:

  1. http://leahjoseph.wordpress.com

    http://ceskypooh.wordpress.com

    http://jimcaro.wordpress.com

    http://www.unlawyer.net

    http://www.yugatech.com

    http://www.selaplana.com

    http://www.aboutmyrecovery.com

    http://www.macuha.com

    http://abuggedlife.com

    http://philhord.com/phord

    http://rimart.net

    http://www.mindanaobloggers.com

    http://www.retzwerx.com

    http://toni.marikit.net

    http://www.alleba.com/blog/

    http://ryansalvaneraonline.ph PR3

    http://clickmomukhamo.com PR3

    http://www.tingog.com PR4

    http://rhodilee.com PR3

    http://reynaelena.com PR3

    http://www.basapa.com PR3

    http://www.ladygadfly.com PR1

    http://blogkadahan.com PR3

    http://www.motoristangpinoy.com PR2

    http://apples-pie.com/blog PR3

    http://gmtristan.com

    http://alfamercado.com

    http://silkenhut.com

    http://marcvillanueva.com

    http://sesantos.com.ph PR3

    http://www.jehzlau-concepts.com PR2

    http://www.taintedsong.com PR6

    http://www.kubiertos.com

    http://jaypeeonline.net PR2

    http://justemaristel.com

    http://www.blogalag.com PR2

    http://www.pinoyblogero.com PR3

    http://matsocampo.wordpress.com PR3

    http://www.pinoytechblog.com PR3

    http://manilenya.com PR4

    http://www.bikoy.net PR4

    http://www.kotsengkuba.com PR2

    http://www.misteryosa.com PR3

    http://www.abuggedlife.com PR4

    http://dexfamily.wordpress.com PR3

    http://rebelpixel.com PR5

    http://clickmomukhamo.com PR3

    http://www.pinoycook.net PR3

    http://www.thatgirlwasme.com PR3

    http://www.kontrapelo.com PR3

    http://mikeabundo.com PR4

    http://www.haravata.com/blog/ PR4

    http://www.ajalapus.com/ PR6

    http://arellevalla.com 0

    http://www.haravata.com PR4

    http://blog.box.com.ph PR4

    http://lakbaypilipinas.com 0

    http://kwentongtambay.com PR4

    http://www.vespinoy.com PR4

    http://pinoyambisyoso.com PR3

    http://pinoyblogmachine.com PR2

    http://www.pinay.org PR3

    http://daragang-magayon.com 0

    http://www.filipinasoul.com PR3

    http://cyberbaguioboy.com.ph PR4

    http://www.sharmskee.com PR4

    http://www.jonasdiego.com PR3

    http://aboutmyrecovery.com PR3

    http://projectmanila.com PR4

    http://www.guitarchic.net PR4

    http://poochycat.com PR3

    http://www.arcskyline.com 0

    http://www.lheeanne.com 0

    http://sweetagring.com 0

    http://5thirtyone.com/ PR4

    http://codamon.com/ PR3

    http://www.starmometer.com/ PR4

    http://www.ourawesomeplanet.com/ PR4

    http://skirmisher.org/ PR4

    http://www.mixph.com/ PR4

    http://migs.wordpress.com/ PR5

    http://drawwriteplay.com/ PR3

    http://www.pinoypress.net/ PR5

    http://www.lagahit.com/

    http://whoridesavespa.com/

    http://blogwerx.net/

    http://www.buhaykorea.com/ PR4

    http://cureless.net/

    http://www.bloggingmix.com/

    http://pinoyfood.nimrodel.net/ PR4

    http://winterheim.wordpress.com/ PR5

    http://thepinoy.net/ PR4

    http://www.franchise.mixph.com/

    http://filipinaimages.com/ PR4

    http://www.bluemumble.com/

    http://conradmiguel.com/

    http://phstars.com/

    http://evilwoobie.com/

    http://www.pinoyfansclub.com/

    http://bloggista.com/

    http://technobiography.edongskey.com/

    http://batangbaler.net/

    http://cantalktech.com/

    http://blog.edarevalo.net/

    http://www.allanjosephbatac.com/

    http://doorlight.ihousha.net

    http://www.rickey.org/

    http://www.brownbaron.com/

    http://anton.blogs.com/

    http://racoma.com.ph/

    http://www.pinkseo.net/

    http://sachachua.com/

    http://www.styleitless.com/

    http://www.eatingfabulous.com/

    http://www.insideonlinevideo.com/

    http://www.sheknowsbest.com/

    http://www.filipinasoul.com/

    http://www.shaicoggins.com/

    http://ederic.tinig.com/

    http://www.batangyagit.com/

    http://www.pcij.org/blog/

    http://houseonahill.net/

    http://max.limpag.com/

    http://luved.net/

    http://blog.jammedph.com

    http://www.quezon.ph/

    http://selfhelpdiva.com/

    http://paraz.com/

    http://www.theaftermac.com/

    http://www.dailyblogtips.com

    http://www.searchenginejournal.com

    http://www.awadallah.com

    http://www.blogmad.net

    http://mashable.com

    http://www.dailyblogtips.com

    http://www.searchenginejournal.com

    http://blog.mediawhiz.com

    http://www.awadallah.com

    http://newteevee.com

    http://www.shaunlow.com

    http://scobleizer.com

    http://litemind.com

    http://www.garryconn.com



    EXTRA

    http://komski.net

    http://greenbucks.info

    http://kalawakan.info

    http://kokeymonster.com

    http://www.kutserongkulot.com

    http://kingdaddyrich.com

    http://pinoypetblog.com

    http://jrocas.com.ph

    http://imomonline.net

    http://www.pinoymoneytalk.com

    http://www.filipinasoul.com/

    http://arpeelazaro.com

    http://greenpinoy.com

    http://www.mixph.com

    http://myfilipinowedding.com

    http://katesgasis.com PR 3

    http://pinoyfood.nimrodel.net

    http://www.franchise.mixph.com

    http://rhodilee.com/

    http://thepinoy.net

    http://rimart.net

    http://www.lakwatsero.com

    http://kutitots.com

    http://samjuan.com/

    http://wifelysteps.com

    http://www.ajalapus.com

    http://www.retzwerx.com

    http://bloggista.com W

    http://www.topblogs.com.ph





    ENGLISH BLOGS

    http://www.bloggernoob.com

    http://skirmisher.org

    http://www.whydowork.com

    ReplyDelete
  2. dudz mag-comment ka sa mga blogs na yan.pangdagdag traffic.

    ReplyDelete