![]() |
Forum Index : Microcontroller and PC projects : PicoMite Waveshare RP2040-LCD-.096
Author | Message | ||||
3Dot1415 Newbie ![]() Joined: 06/09/2025 Location: United StatesPosts: 5 |
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: AustraliaPosts: 2689 |
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 StatesPosts: 5 |
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: AustraliaPosts: 2689 |
Waveshare don't say what chip the LCD uses so I am guessing it is the ST7735S. 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: AustraliaPosts: 2689 |
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 StatesPosts: 205 |
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 StatesPosts: 205 |
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 StatesPosts: 5 |
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: AustraliaPosts: 2689 |
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 StatesPosts: 5 |
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 StatesPosts: 5 |
![]() You can see scope in background. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2689 |
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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |