Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
NOTE: some 5110 do not come with all the resistors fitted.
Hi N,As far as I'm aware none of them do?, it's a 3.3V device, and you need to take precautions using it on a 5V system.
hi,
The 5110 SPI is Write Only.
The PIC is the Master and the 5110 is the Slave.
Master Out Slave In = MOSI
Master In Slave Out = MISO
So at PIC the MOSI pin has the Data input to the 5110
NOTE: some 5110 do not come with all the resistors fitted.
4 * 10k and 2 * 1k
https://www.amazon.co.uk/LCD-Module...r=8-1&keywords=nokia+5110+lcd#customerReviews
https://www.microchip.com/forums/m148739.aspx
E
EDIT:
You could simplify your program ref SPI5510a.bas
Hi Eric,hi C,
As you know, I would like to help you solve the SPI problem, but you are making it almost impossible by posting programs which are so over complicated.
If I post a cut down diagnostic Basic SPI program for the 5110 only, will you try it and advise what you see.??
Eric
I appreciate your help of course, but I am limited in my skills, and have to print everything out and comment it so I can follow, so big changes take me longer time to digest. Sorry.
Hi E,hi C,
Program the 18LF2520 with this simple program.
Connect the 5110 to the PIC pins as per the program [ no changes made ] but note that Oshonsoft SDO means MOSI .
The LCD should display all pixels.
The image shows that the correct data is being sent from the PIC when simulated.
E
View attachment 108505
I guess you have the backlite, lit on the 5110.?
No, they are identical from programming point of view.Hi,
Is there's any possibility it could be a problem that I am using 18LF2520 and Oshonsoft only supports 18F2520?
C.