Shop OBEX P1 Docs P2 Docs Learn Events
Help reading a nokia 3310 datasheet cant follow the basics! — Parallax Forums

Help reading a nokia 3310 datasheet cant follow the basics!

mickalmickal Posts: 75
edited 2010-12-17 21:40 in General Discussion
Hi, I have just begun looking into some kind of graphics output. First looked at 4DSystems µOLED-128-GMD1 and their datasheets were perfectly readable even for a novice with the qualification i needed help with one of the image commands answered here->

http://forums.parallax.com/showthread.php?127890-beginner-graphics-...%B5OLED-128-GMD1-Object-Image-method-help-needed&highlight=mickal

However those displays start at around $29 and models all the way to ,well a lot. So I bought a nokia 3310 LCD cheap which is less advanced but harder to use.
I can drive it courtesy of code I saw elsewhere(arduino and a basic program picaxe) BUT this datasheet _>
http://www.sparkfun.com/datasheets/LCD/Monochrome/Nokia5110.pdf is above my pay grade. From reading example code (i am sure there will be both basic stamp and prop, sx code when i look).. it sends 5 bytes for each character you wish to display ...see below. The code i have read sends each bit with a pulse of 10us, so 40 pulses for 'A' or 'B' etc.

My question is..... is it possible for me to work out these 5 byte values from the datasheet or do you suggest that I be content that it has all been done for me ?

thanks for your patience.:innocent:

,{0x7e, 0x11, 0x11, 0x11, 0x7e} // 41 A
,{0x7f, 0x49, 0x49, 0x49, 0x36} // 42 B
,{0x3e, 0x41, 0x41, 0x41, 0x22} // 43 C
,{0x7f, 0x41, 0x41, 0x22, 0x1c} // 44 D
,{0x7f, 0x49, 0x49, 0x49, 0x41} // 45 E
,{0x7f, 0x09, 0x09, 0x09, 0x01} // 46 F
,{0x3e, 0x41, 0x49, 0x49, 0x7a} // 47 G
,{0x7f, 0x08, 0x08, 0x08, 0x7f} // 48 H
,{0x00, 0x41, 0x7f, 0x41, 0x00} // 49 I

Comments

  • kwinnkwinn Posts: 8,697
    edited 2010-12-16 14:18
    The data sheet is pretty detailed and complete as to how the display operates and is programmed. It is essentially a graphics display where characters are drawn by placing pixels in the appropriate memory locations. It is possible to work out the 5 byte values from the data sheet but if you are having trouble understanding the data sheet why bother. Start with what is provided and make any changes if you need characters or graphics that are not provided.
  • Clock LoopClock Loop Posts: 2,069
    edited 2010-12-17 00:03
    This datasheet and LCD were NOT easy to get working. First off, the datasheet doesn't set your lcd defaults to the correct values at all. This datasheet was one of the first datasheets that I successfully consumed and was able to interpret the large amount of variables for my given situation. Don't get down on yourself for not getting it right away, the way they present some of the information, you'd think they wanted this lcd to fail, as far as engineering using it.

    My code on the thread below has a specific writeup of all the various modes that can be set on this lcd. It also is setup to run on 3.3v using the prop. (which took a few days of trial and error) This lcd requires the engineer to program the voltage the lcd operates at, into the lcd. Most modern lcd's don't require this. (this thing even has temperature adjustments...)


    You're in luck, because I have already made a driver for the pcd8544 chip that is in that and many other nokia lcd's.

    Here is the thread.

    http://forums.parallax.com/showthread.php?124487-EtPhoneHome-v1.0-A-Nokia-6150%28like%29-pcb-redone-with-two-propellers.-PCD8544-l

    If you need help hacking my code into useful code for you, send me a PM or reply here.
  • mickalmickal Posts: 75
    edited 2010-12-17 21:40
    Great Clock Loop, I will PM you after I have got display working or not working :smile: Thanks for replying to my thread. Will be great to hear your advice.
Sign In or Register to comment.