Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:00 08 Sep 2025 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 : PicoMite Waveshare RP2040-LCD-.096

Author Message
3Dot1415
Newbie

Joined: 06/09/2025
Location: United States
Posts: 5
Posted: 01:38am 06 Sep 2025
Copy link to clipboard 
Print this post

Not sure which uf2 file to use for PicoScope w?PicoMite Waveshare RP2040-LCD-.096
PicoMiteHDMIUSBV6.00.03.uf2
PicoMiteHDMIV6.00.03.uf2
PicoMiteRP2040USBV6.00.03.uf2
PicoMiteRP2040V6.00.03.uf2

Help please!
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 02:09am 06 Sep 2025
Copy link to clipboard 
Print this post

HDMI and VGA versions are incompatible with a graphics LCD.

Perhaps start with PicoMiteRP2040V6.00.03.uf2 to see if the LCD can be configured in MMBasic.
The Display Panels chapter in the manual has information on that. Check the Waveshare site to see what LCD controller chip it uses.

If you need a USB keyboard attached you could then upgrade to PicoMiteRP2040USBV6.00.03.uf2, sort out one complication at a time!
 
3Dot1415
Newbie

Joined: 06/09/2025
Location: United States
Posts: 5
Posted: 05:14am 06 Sep 2025
Copy link to clipboard 
Print this post

Thank you Phil99: I'm doing the PicoScope project by Steve Johnson in Make 87 (Boards Guide 2024).

What an awesome idea. I'm continually amazed by what can be done with microcontrollers.
Keep up the Great work. It's appreciated.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 09:09am 06 Sep 2025
Copy link to clipboard 
Print this post

Waveshare don't say what chip the LCD uses so I am guessing it is the ST7735S.

  PicoMite manual said  OPTION LCDPANEL ST7735S, OR, DC, RESET, CS [,BL] [,INVERT]
Initialises a IPS display using the ST7735S controller. This supports 160 * 80 resolution.


So I think the Options you need are:-

OPTION SYSTEM SPI GP10, GP11, GP8 'if GP8 conflicts with anything else try GP28.
' The LCD doesn't use MISO but the firmware requires it to be configured.
OPTION LCDPANEL ST7735S, L, GP28, GP12, GP9, GP25, INVERT

If the colours are wrong use OPTION LCDPANEL DISABLE then:-
OPTION LCDPANEL ST7735S, L, GP28, GP12, GP9, GP25

If the backlight isn't on use the command BACKLIGHT 50. That should get it working regardless of whether 0 or 100 is maximum.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 10:16pm 06 Sep 2025
Copy link to clipboard 
Print this post

The most recent version of the PicoScope program by @NPHighview is in this thread.
And here are the PicoMite settings he uses.
PicoMite MMBasic Version 5.07.08b8
OPTION SYSTEM SPI GP10,GP11,GP28
OPTION AUTORUN 2
OPTION COLOURCODE ON
OPTION HEARTBEAT OFF
OPTION CPUSPEED (KHz) 250000
OPTION DISPLAY 50, 132
OPTION LCDPANEL ST7735S, LANDSCAPE,GP8,GP12,GP9,GP25
OPTION AUDIO GP0,GP1, ON PWM CHANNEL 0


I think GP24 can be used instead of GP28 for SPI MISO. This pin isn't brought out to a connector but this LCD doesn't need MISO. That frees up GP28 for any other use you may have.
 
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 205
Posted: 10:21pm 06 Sep 2025
Copy link to clipboard 
Print this post

Phil and 3Dot - Thanks for playing with my design! Waveshare does some fun boards.
Live in the Future. It's Just Starting Now!
 
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 205
Posted: 10:34pm 06 Sep 2025
Copy link to clipboard 
Print this post

Phil and 3Dot - Thanks for playing with my design! Waveshare does some fun boards.
Live in the Future. It's Just Starting Now!
 
3Dot1415
Newbie

Joined: 06/09/2025
Location: United States
Posts: 5
Posted: 12:58am 07 Sep 2025
Copy link to clipboard 
Print this post

I love playing with designs, I'm doing metal detector next. Drive on.
It took the simple uf2.

But then I had to stumble and poke around in TeraTerm to get OPTION LIST set
per Steve Johnson project, verbatim.

Then I transferred Picoscope.bas. Screenful of errors, but the last two lines went to LCD so it works.

Error : Frame buffer not created
>   FRAMEBUFFER COPY F,N
> End Sub
Error : Nothing to return to
> clearTerminal done

Need more Help please.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 04:02am 07 Sep 2025
Copy link to clipboard 
Print this post

I don't have a Waveshare RP2040-LCD-.096 board so loaded the PicoScope program linked to in my previous post to a  RP2040 / ILI9341 setup with firmware PicoMite MMBasic RP2040 V6.01.00b11 (the latest beta version).
After changing the pin assignments to suit the different hardware it works without error, so I don't know what the issue is. It may be a bug in the firmware version you are using as @MatherP has fixed one or two recently.

This version can be found at the bottom of this page at geoffg.net, Beta Test Version of the Firmware in Other Downloads.
 
3Dot1415
Newbie

Joined: 06/09/2025
Location: United States
Posts: 5
Posted: 05:34am 07 Sep 2025
Copy link to clipboard 
Print this post

I think it's a file transfer issue.
XMODEM freezes
If I use send file instead, with 300ms per line delay I can see the program scroll
across the LCD. About halfway thru the PicoScope displays on LCD with button choices
but then is partially covered by scrolling code.

Window | 1 + COM4 - Tera Term VT

I don't know if this is correct setting

Thank you
 
3Dot1415
Newbie

Joined: 06/09/2025
Location: United States
Posts: 5
Posted: 06:15am 07 Sep 2025
Copy link to clipboard 
Print this post



You can see scope in background.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 06:20am 07 Sep 2025
Copy link to clipboard 
Print this post

Perhaps Autorun is the problem. It sounds like it is starting to run the program before it has finished loading.
Set OPTION AUTORUN OFF until you have everything working properly. F2 starts the program from the command prompt and Ctrl-C stops it.

The method I used to load the program was to copy all of the program to the Windows clipboard from the code box in the TBS link I mentioned. Then use AUTOSAVE (in TeraTerm at the MMBasic command prompt press F10) then press Alt-V to paste the code. When it stops scrolling press Ctrl-Z to save it. F2 should start it.

Edit.
You posted while I was typing, now I see.
Error messages go to any attached screen so they can be seen in embedded systems not connected to a computer.

Perhaps a Subroutine is trying to return to the main program and failing.
Maybe part of the program is missing. Set OPTION AUTORUN OFF then try reloading the program, or press F3 to List it in TeraTerm and compare it with the code in the link.
Edited 2025-09-07 16:31 by phil99
 
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 2025