Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:28 01 Feb 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Which is the latest Micromite driver for Nokia 5110 LCD

Author Message
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 408
Posted: 02:10pm 05 Jan 2022
Copy link to clipboard 
Print this post

Nokia 5110 is included in the firmware for PicoMite. I got it working on Picomite after some difficulties. Peter updated also the PicoMite firmware yesterday. THANKS.

In the past I used an old driver (anno 2014 by Peter) for standard Micromite (28-pin) successfully. When I recently tried to use that procedure on Micromite 5.0504, i run into difficulties.

Wondering now if there is any newer driver version for the standard MicroMite?

-fred
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10917
Posted: 06:10pm 05 Jan 2022
Copy link to clipboard 
Print this post

There was a change in one of the MM versions that required a small change to all loadable drivers. Unfortunately I've lost the source for the 5110 driver so can't make the change. The only solution would be to use an earlier version of the MM firmware if you need this display - sorry
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 408
Posted: 08:45pm 05 Jan 2022
Copy link to clipboard 
Print this post

Thanks for checking.
Got this code from 2015 working on Micromite 5.0504:

https://www.thebackshed.com/forum/ViewTopic.php?TID=10183&PID=114241#114241#114241

Initially I tried to change the ports used for rs, cdand cs for the SUB LCD.Init(rs,cd,cs,wi,ht,nr) w/o success.  Going back to the ports originally used in the program was more fruitful.

LCD.Init 17,18,16


It will still leave some room for my own programs:

> memory
Flash:
 34K (56%) Program (846 lines)
  9K (15%) 3 Embedded C Routines
  4K ( 6%) Library
 13K (23%) Free

RAM:
  4K ( 8%) 40 Variables
  0K ( 0%) General
 46K (92%) Free
>



I think I can manage with this for my applications. THANKS!
-Fred
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 408
Posted: 08:52pm 05 Jan 2022
Copy link to clipboard 
Print this post

Noticed that I had some earlier attempts stored in library. Deleting that and this is the memory usage:
> library delete
> memory
Flash:
 34K (56%) Program (846 lines)
  9K (15%) 3 Embedded C Routines
 17K (29%) Free

RAM:
  0K ( 0%) 0 Variables
  0K ( 0%) General
 50K (100%) Free


I believe that the stuff in library prevented me from chanching the rs, cd and cs pins!!
-Fred
 
WJSMarine
Newbie

Joined: 09/10/2023
Location: Australia
Posts: 2
Posted: 05:23am 31 Jan 2026
Copy link to clipboard 
Print this post

  Pluto said  Nokia 5110 is included in the firmware for PicoMite. I got it working on Picomite after some difficulties.
-fred


Hi Fred, I'm fumbling my way trying to get subject LCD to work on a PICO-W without success. I've had good success using 8bit PICs to do this task previously but new to MMBasic and the RP2040 environment.

Can I ask if you could share some of your PICO code to drive the Nokia lcd please? Just a snippet or two would be appreciated, I'm not asking for anyone to write my code, just a kickstart. I've had no problem with the other GLCD's, but the monochrome 5110 has me scratching my head. The only code I've found on TBS didn't help (MX170).

Many thanks,
Bill (Perth, Australia)
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2961
Posted: 07:16am 31 Jan 2026
Copy link to clipboard 
Print this post

On Geoff's site latest firmware is MicroMite Firmware V5.05.05, 12/2021.
It has a few useful extras.

Edit.
I have a couple of Nokia 5110 phones in the junk box that may have usable displays but don't know how the 9 pads connect to the pins on the carrier board version.
Does anyone have a circuit for the carrier board?
Edited 2026-01-31 17:50 by phil99
 
WJSMarine
Newbie

Joined: 09/10/2023
Location: Australia
Posts: 2
Posted: 08:09am 31 Jan 2026
Copy link to clipboard 
Print this post

Hi Phil, thanks for the response. I'm looking for PICO examples and it looks like Fred has his working, so would be my best shot at it.
With the old Nokias you mention, do you mean the red eBay modules or the phone pcb itself? The red module I have has 8 pins (1 Rst, CE, DC, DIN, CLK, VCC, LED, GND). I can't help with the phone's pcb, unfortunately.

Cheers,
Bill
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2961
Posted: 09:15am 31 Jan 2026
Copy link to clipboard 
Print this post

  Quote  do you mean the red eBay modules or the phone pcb itself?
The phone  itself.
  Quote  The red module I have has 8 pins (1 Rst, CE, DC, DIN, CLK, VCC, LED, GND).
I need to map those 8 pins to the 9 pads on the LCD.
If I can identify Vcc and Gnd I could use trial and error for the others without destroying it.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10917
Posted: 09:48am 31 Jan 2026
Copy link to clipboard 
Print this post

The 5110 is supported on the Pico-W. OPTION SYSTEM SPI then
  Quote  OPTION LCDPANEL N5110, OR, DC, RESET, CS [,contrast] [,INVERT]
Initialises a LCD display using the Nokia 5110 controller. This supports 84 * 48 resolution. An additional
parameter ‘contrast’ may be specified to control the contrast of the display. Try contrast values between &HA8
and &HD0 to suit your display, default if omitted is &HB1

manual page 63
I admit, this hasn't been tested recently, but it certainly used to work
 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 408
Posted: 12:08pm 31 Jan 2026
Copy link to clipboard 
Print this post

I just connected a NOKIA 5110 LCD and tested with a standard PicoMite (green with Raspberry logo).
> option list
PicoMite MMBasic RP2040 V6.02.00
OPTION SYSTEM SPI GP10,GP11,GP8
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 200000
OPTION LCDPANEL N5110, LANDSCAPE,GP13,GP14,GP15, 177


A few observations:

A. The LCD functions as "normal".
B. Tried to use the INVERT mode:
    OPTION LCDPANEL N5110, OR, DC, RESET, CS [,contrast] [,INVERT]
by setting the INVERT to 1. The display is not inverted. . Was my INVERT setting 1 correct?

C. When changing to invert mode I had to first set OPTION LCDPANEL DISABLE.
  After that the Pico is no more accessible. Tried to disconnect the LCD, but it did not help. Reloading the firware was required. Unexpected behaviour!

'Connection:
'PicoMite     Nokia5110
'GP8 (MISO)   Not connected. N5110 has no data out.
'GP10 (CLK)   SCLK
'GP11 (MOSI)  DIN(MOSI)
'GP13 (DC)    D/C      
'GP14 (RESET) RST
'GP15 (CS)    SCE
'3.3V         VCC
'GND          GND


Pluto

EDIT:
Invert seems to be OK!
Edited 2026-02-01 00:16 by Pluto
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026