juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.55k stars 258 forks source link

Ili9341 40pin to raspberry pi #234

Open zarcade opened 2 years ago

zarcade commented 2 years ago

Does anyone have any guides to wiring a bare ili9341 40pin display direct to a raspberry pi. I managed to get a display briefly but then it blanks to white.

mikeinkl1 commented 2 years ago

Struggled a bit with this myself, but got it to work eventually. The datasheets from Aliexpress are not necessarily correct, so it takes some trial and error. But if you had it working briefly your wiring must have been OK a that point.

My particular issue was with the IM0..2 pins (pin 38..40), they had to be properly pulled up/down (0-1-1) I think in my case and could not be just left floating.

zarcade commented 2 years ago

Any chance of sharing your pinout. I gave up and packed it all away a while ago.

zarcade commented 2 years ago

I currently use the 18pin displays. It would rather use the 40pin with FPC connector

mikeinkl1 commented 2 years ago

Sure.. i got it from aliexpress and the pinout is in the description. Also see some of the reviews in the listing ... there seem to be 2 versions with pns 10 and 11 swapped. I also got the breakout board from that link and it wasnt labled correctly on one side. https://a.aliexpress.com/_mK76Ffg

zarcade commented 2 years ago

Yeah, I tried that. But I must be doing something wrong somewhere. Was hoping someone could just show me how they wired it up. Looks like I'll stick with the 18 pin for now unless you can show me your actual wiring.

mikeinkl1 commented 2 years ago

20210810_093832 When it didnt work on the pi i tried with an esp8266... cheaper to replace if someting blows up.

ashrond commented 2 years ago

description. Also see some of the reviews in the listing ... there seem to be 2 versions with pns 10 and 11 swapped. I also g

You said that you had to pull down 38 and 40 but it looks like you tied them in to VDDI and VDDA here?

I have a similar project with the ili9341 and I am not getting any image, I suspect this may be the root cause but before I go jumping pins, I am hoping to understand what you did here a bit more, I would greatly appreciate it if you could share a bit more :)

zarcade commented 2 years ago

If anyone is still having problems wiring a 40 pin bare LCD to a raspberry pi , I have now managed to do this successfully