Author Topic: Nokia5110 LCD (PCD8544 controller) with PIC18F4550  (Read 3953 times)

0 Members and 1 Guest are viewing this topic.

Offline Bibiricat

  • Contributor
  • Posts: 43
Nokia5110 LCD (PCD8544 controller) with PIC18F4550
« on: March 25, 2014, 01:08:33 pm »
Hello.
I just bought a Nokia5110 LCD and i was trying to interface it with a pic18f4550, but i can't find any example code to use with C18 or Hytech C compilers, as most of the results are with arduino or old broken links.
Does anyone have some example code for PIC mcu's ? Any example code would do.


 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8229
  • Country: 00
Re: Nokia5110 LCD (PCD8544 controller) with PIC18F4550
« Reply #1 on: March 25, 2014, 01:13:28 pm »
Don't find sample code. Find the datasheet for your lcd / chip and write code to drive it.
================================
https://dannyelectronics.wordpress.com/
 

Offline diyaudio

  • Frequent Contributor
  • **
  • Posts: 672
  • Country: za
Re: Nokia5110 LCD (PCD8544 controller) with PIC18F4550
« Reply #2 on: March 25, 2014, 01:49:10 pm »
Hello.
I just bought a Nokia5110 LCD and i was trying to interface it with a pic18f4550, but i can't find any example code to use with C18 or Hytech C compilers, as most of the results are with arduino or old broken links.
Does anyone have some example code for PIC mcu's ? Any example code would do.

@Danny is right find the datasheet  then get some coffee/tea and watch this while reading the datasheet.

Arduino Nokia 5110 LCD Tutorial #1 - Connecting and Initial Programming


Note ignore the Arduino title, you can port the code after understanding the abstract. I found this LCD more fun and easy than HD44780U controllers.

Note if you bought it off ebay, the video says it will work from 5V or 3.3V, but I had a different experience the batch I have seems to only work off 3.3V, I tested a batch of 5 pieces (with the blue back light).
« Last Edit: March 25, 2014, 01:50:52 pm by diyaudio »
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 892
  • Country: us
Re: Nokia5110 LCD (PCD8544 controller) with PIC18F4550
« Reply #3 on: March 25, 2014, 03:19:25 pm »
Any example code would do.
Here's my attempt:

pdc8544.h
pdc8544.cc

It's C++, but may be useful anyway.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf