Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:40 04 Dec 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 : CrowPanel_Pico_HMI_Display-3.5

Author Message
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 172
Posted: 09:12pm 20 Nov 2024
Copy link to clipboard 
Print this post

Hi,

I recently got a CrowPanel Pico display - a Pico 2040 with a 3.5" 480x320 TFT attached. Could not resist, was relatively inexpensive (19 €) and the display looked brilliant.

https://www.elecrow.com/wiki/CrowPanel_Pico_HMI_Display-3.5.html#resources-download

Just in case someone is interested in such a display, here are a few things I figured out. I used PicoMite MMBasic Version 6.00.00RC15 for testing and these options:


OPTION SYSTEM SPI GP10,GP11,GP12
OPTION FLASH SIZE 8388608
OPTION LCDPANEL ILI9488, LANDSCAPE,GP8,GP15,GP9,GP18
OPTION SDCARD GP22
OPTION COLOURCODE ON
OPTION LCDPANEL CONSOLE
OPTION DISPLAY 26, 60


-- the display works well, it's really nice but (unsurprisingly) rather slow
-- I could not get the SD card to work; not sure why. It shares the system SPI and the CS line should be correct
-- the board has a buzzer at GP14, which works
-- one can mirror the console to the display, but scrolling is slow but ok-ish
-- the board has a couple of connectors and a pin header





Cheers
Thomas
Edited 2024-11-21 07:12 by karlelch
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2150
Posted: 09:37pm 20 Nov 2024
Copy link to clipboard 
Print this post

there's a resistor and diode solution for sd card with ILI9488
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2149
Posted: 09:44pm 20 Nov 2024
Copy link to clipboard 
Print this post

Re the SD card issue.

If LCD_DO is connected to the Pico MISO the SD card won't work. To check try reading back from the display with Pixel, Blit or Save Image.
If any of those work cut the LCD_DO to MISO track and solder a 1N400x diode across the cut. Anode to LCD_DO, cathode to MISO. Then add a 1.8kΩ from LCD_CS to MISO.

If it has a touch chip configure it with Option Touch to prevent it tying up MISO.
Alternatively add a 4.7kΩ pullup on T_CS to switch T_DO off.

Some SD cards check for a pullup on SD_DO (MISO) when first powered up. If they don't find it they go to sleep. So try a 4.7kΩ pullup on MISO.
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2150
Posted: 10:02pm 20 Nov 2024
Copy link to clipboard 
Print this post

I use
TDO--diode +<---SDO
TDO--[10k]-----CS
Edited 2024-11-21 08:18 by stanleyella
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 172
Posted: 07:49pm 21 Nov 2024
Copy link to clipboard 
Print this post

Hi Stan and Phil99,

thanks for the hints. Will try out and report back

Best
Thomas
 
Print this page


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

© JAQ Software 2024