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.
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 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 KingdomPosts: 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: FinlandPosts: 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:
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:
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: AustraliaPosts: 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
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: AustraliaPosts: 2961
Posted: 09:15am 31 Jan 2026
Copy link to clipboard
Print this post
The phone itself. 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 KingdomPosts: 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
manual page 63 I admit, this hasn't been tested recently, but it certainly used to work
Pluto Guru Joined: 09/06/2017 Location: FinlandPosts: 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