Connect Nokia 3310 LCD to LPT port

I found this circuit really simple and interesting. It is really simple to drive Nokia 3310 graphical LCD by using simple LPT cable and some PC software. Firs of all connect graphical LCD to LPT port according to following circuit:

LPT_to_Nokia3310.PNG

Graphical display needs about 3.3V of supply voltage, while LPT gives about 4.5 -5V. This is why diodes are used to reduce voltage by formula: 4.5V-0.7V-0.7V=3.1V.

LCD pin numbering on Nokia 3310 LCD is as follows:

Nokia3310_LCD_pins

Graphical display is controlled by PCD8544 controlled. Download Controller specifications here:PCD8544.pdf

As you have noticed LPT port data pins are used for data transfer and powering of LCD:

Port_Data_pins.JPG

When hardware part is done it is time to draw some images on LCD. For this download control program (Pascal source is included in package too). Software is written to drive ports directly in DOS or win98 operating system. If you are using Win2000 or XP you might want to read: Program LPT and COM ports easily under windows NT-2000-XP.

I have copied One of solutions here:

Download PortTalk and unzip it in separate folder somewhere. Then copy allowio.exe directly to the directory where is you program which you want to run. Then create shortcut of your compiled program for instance LCD.exe. Then open files properties and in line target do following changes:

Instead of:

D:/project/LCD.exe

change to

D:/project/allowio.exe D:/project/LCD.exe /a

Remember that you must have administrator rights on computer. Dirty trick but it works.

Some prof that works - Run program and draw with left mouse button pressed. Right mouse button erases:

Nokia LCD in progress

Good luck from o-d-v.nm.ru

Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post

New on WinAVR Tutorial
Running TX433 and RX433 RF modules with AVR microcontrollers,
Sometimes in embedded design you may want to go wireless. Might be you will want to log various readi …
Programming AVR ADC module with WinAVR,
Most of AVR microcontrollers have Analog to Digital Converter (ADC) integrated in to chip. Such solut …
New on WinARM Tutorial
What are differences between WinARM and WinAVR,
Everyone who is working with AVR microcontrollers knows this powerful tool – WinAVR (http://win …
LPC2000 watchdog timer,
As in all microcontrollers watchdog timers purpose isto reset microcontroller after reasonable amount …

11 Responses to “Connect Nokia 3310 LCD to LPT port”

  1. rodgers Says:

    man you are great i must try this at home

  2. Knight_NS Says:

    Great project! Can you please add some comments in source code?

  3. dmitry Says:

    Thanks for publicize of my page (o-d-v.nm.ru)…
    Comment for source - for compile it you need modules
    “timer.pas” and “kbd.pas”
    Soon will be possible to download it (see my site)
    timer-is a replacement of PASCAL`s machine dependent “delay” function.
    kbd - provide simple access for BIOS int16 keyboard functions.

  4. Jm Says:

    Would it kill ya to comment your code man?

  5. Piotr Says:

    I’m quite new on this area so I hope my question doesn’t make you too upset for probably being so dumb, anyway… I can’t figure it out where the ground connections are being made. Power supply is made by the parallel port, so I suppose that it go’s in some of the ground pins of the parallel port!? But than I see ground connection coming out directly from pins 21, 22, and 23… so, where should I connect the ground connections that we see in the schematics?

  6. scienceprog Says:

    Just connect all ground connections to LPT 21, 22, 23 pins and thats it.

  7. van Says:

    hi i want to know if 3310 LCD has backlight or Not. if yes then how to turn it ON.I have read datasheet of the controller there is no clue given for the backlight and in above Picture the LCD has backlight.And the other thing i don’t know Pascal that much but i do know C & C++ hoping for reply thanks in advance……..
    Technology Always Rules…………

  8. Chityala Shailesh Says:

    Project is Great But Only Problem is Pascal Source Code.
    C Source would be far better One.
    I Hope to See, C Source Code Soon

  9. Greg Says:

    why do you have to use three LPT port data pins( pin 7,8,9 ) for power supply in the circuit?
    I think only one LPT port data pin used for power
    supply is enough.How do you think?

  10. kiku Says:

    thank u for ur project but i found the LCD.EXE file is not working on windows 2000 even after all the methods.please help me. hope a C code will be developed in this aspect.
    wat abt the pcd 8544 ? i found no connection of it in the circuit is it necessary or not?
    hope reply soon….!

  11. scienceprog Says:

    Try to contact author from o-d-v.nm.ru (dima_2001_2001[at]fromru.com )

Leave a Reply