Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:36 27 Nov 2024 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 : Setting up Pimoroni Explorer Base for the Pico

Author Message
HLinder
Newbie

Joined: 17/08/2023
Location: Germany
Posts: 3
Posted: 03:22pm 18 Aug 2023
Copy link to clipboard 
Print this post

Dear all,

apologies if I have missed this topic in my forum search.
I try to get the Pimoroni Base Explorer on-board LCD to work with the current picomite firmware.
The board is working under MicroPython so hardware seems ok.
However OPTION settings in MMBasic led to no success so far.

Did already someone get this to work?
Any help would be wonderful.

Thanks

Helmut
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 03:30pm 18 Aug 2023
Copy link to clipboard 
Print this post

No idea what that display is, and the schematic doesn't tell us either. Do you have any details on it? Model number or anything?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
hitsware2

Guru

Joined: 03/08/2019
Location: United States
Posts: 713
Posted: 03:32pm 18 Aug 2023
Copy link to clipboard 
Print this post

I also had a problem with that . If I remember correctly ,
uPython uses different pins ?
In some cases uPython is  much more accessible
than MMBasic .
my site
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 03:40pm 18 Aug 2023
Copy link to clipboard 
Print this post

Right, I've looked closer. The only connected signals are MOSI, SCLK, CS and DC. There is no RESET connection so I don't think MMBasic can initialise this display at all. If you can find a RST or RESET pin on the display it may be possible to wire it to another pin and do something with it.

Welcome to the forum, Helmut. :)
Edited 2023-08-19 01:42 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 04:13pm 18 Aug 2023
Copy link to clipboard 
Print this post

Try tie reset high.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 04:35pm 18 Aug 2023
Copy link to clipboard 
Print this post

AFAIK the display RESET signal has to be toggled to initialise it under MMBasic.
Edited 2023-08-19 02:38 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
HLinder
Newbie

Joined: 17/08/2023
Location: Germany
Posts: 3
Posted: 04:40pm 18 Aug 2023
Copy link to clipboard 
Print this post

Wow what a fast response.
Thank you so much for the support.
It nags on me since days.
My final attempt was a trial and error approach and that gave success.
These are the settings which did the trick so far.

OPTION SYSTEM SPI GP18,GP19,GP20
OPTION LCDPANEL ST7789, LANDSCAPE,GP16,GP12,GP17

GP20 is a dummy pin with regards to SPI.

Should I close the topic and how is that done?

Thanks

Helmut
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 04:50pm 18 Aug 2023
Copy link to clipboard 
Print this post

There isn't really a way to close a topic. They just sort of degenerate into nothingness. :)

I thought it might be a ST7789, but the schematic connections look strange. I have one of those, but without CS brought out so I had to modify it as it definitely won't work without that signal.

I see the display has a RESET pin but it's hard-wired to a power-on reset circuit. That's why it's working. :)  Yes, MMBasic needs you to specify a pin whether you need it or not.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Derek_H
Newbie

Joined: 26/07/2023
Location: United Kingdom
Posts: 10
Posted: 02:43pm 22 Aug 2023
Copy link to clipboard 
Print this post

Possible already solved/too late but here are my settings for the Pimoroni Pico Explorer Base.

> option list
WebMite MMBasic Version 5.07.07
OPTION SYSTEM SPI GP18,GP19,GP0

OPTION LCDPANEL ST7789, PORTRAIT,GP16,GP26,GP17,GP20

Derek
 
HLinder
Newbie

Joined: 17/08/2023
Location: Germany
Posts: 3
Posted: 12:51pm 23 Aug 2023
Copy link to clipboard 
Print this post

Ultimate proof that SPI only needs 3 wires i.e. those pins our settings have in common  
btw. backlight dimming appears to be non-functional on the board.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 02:33pm 23 Aug 2023
Copy link to clipboard 
Print this post

Depends on what you want to do. All the pins are there for a reason. :)
You can't have more than one device on the bus without a CS for each.
You can't read data from a device without MISO.
You can't re-initialise a device without powering down without RESET.

The backlight LED has a fixed current drive from its own chip. You can't vary the brightness without some serious PCB hackery..
Edited 2023-08-24 00:39 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


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

© JAQ Software 2024