Has anyone got one of these to work?
I have a Waveshare 2.4" LCD (ILI9341) that I'm trying to run from an ESP32 Devkit V1 (30 pins)
https://www.waveshare.com/wiki/2.4inch_LCD_Module
It's a blue-ish PCB and there is NO MISO pin.
All 3 sketches I've tried (with the pins below) give just a white screen -
Bodmer.s Fonts_demo with the TFT_eSPI.h library
Vaveshare's own example for Arduino
Adafruit's example with Adafruit_GFX.h and Adafruit_ILI9341.h
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RST 4
#define TFT_BL 32
Any help would be gratefully appreciated.
Thanks
Waveshare SPI 2.4" LCD - no MISO
Waveshare SPI 2.4" LCD - no MISO
Last edited by Westcott on Sun Jan 31, 2021 10:40 am, edited 1 time in total.
Re: Waveshare SPI 2.4" LCD - no MOSI
There's no miso because the lcd doesn't send any data, it only receives data and displays.
From your link:
The code snippet of your 3 sketches doesnt have define MOSI, do you have that? MOSI / DIN is how you send data in to the lcd
PS your post title.says "no MOSI" but your text says "no MISO", a typo
From your link:
Did you read the datasheet?Note: It is not like the traditional SPI protocol, it only uses MOSI to send data from master to slave for the LCD display. For details please refer to Datasheet Page 105.
The code snippet of your 3 sketches doesnt have define MOSI, do you have that? MOSI / DIN is how you send data in to the lcd
PS your post title.says "no MOSI" but your text says "no MISO", a typo
Re: Waveshare SPI 2.4" LCD - no MISO
Hi Becorey,
Thanks for the typo alert, fixed.
Waveshare's name for MOSI is DIN.
Yes, I've read the datasheet thoroughly - this is the first SPI device I've ever had.
I haven't found any examples of this type of display in actual use.
All of the pin combinations I've tried so far just give a white screen.
Apparently -
"The Adafruit graphics test outputs 5 register values at the start, these show if your SPI bus is connected correctly."
Mine show all zeroes, which is not good.
Thanks for the typo alert, fixed.
Waveshare's name for MOSI is DIN.
Yes, I've read the datasheet thoroughly - this is the first SPI device I've ever had.
I haven't found any examples of this type of display in actual use.
All of the pin combinations I've tried so far just give a white screen.
Apparently -
"The Adafruit graphics test outputs 5 register values at the start, these show if your SPI bus is connected correctly."
Mine show all zeroes, which is not good.
Re: Waveshare SPI 2.4" LCD - no MISO
Did you ever get this to work? I'm stuck at the exact same place
Re: Waveshare SPI 2.4" LCD - no MISO
Hi Balooski,
Unfortunately no, I never did on an ESP32.
However it did work for a day on an Arduino, then white-screened again.
It suddenly started to work OK when I was waggling its leads.
Kept going for a day while I played with the code, then stopped.
Unfortunately no, I never did on an ESP32.
However it did work for a day on an Arduino, then white-screened again.
It suddenly started to work OK when I was waggling its leads.
Kept going for a day while I played with the code, then stopped.
Re: Waveshare SPI 2.4" LCD - no MISO
I was able to get this working. My setup:
ESP32-32 WROOM-1
Waveshare 2.4" LCD ILI9341 Controller
SCLK_PIN GPIO_NUM_12
MOSI_PIN GPIO_NUM_11
DC_PIN GPIO_NUM_2
CS_PIN GPIO_NUM_15
RST_PIN GPIO_NUM_4
Baudrate 9600 (I have set this as high as 256000 without issue)
I used the Adafruit Gfx library
ESP32-32 WROOM-1
Waveshare 2.4" LCD ILI9341 Controller
SCLK_PIN GPIO_NUM_12
MOSI_PIN GPIO_NUM_11
DC_PIN GPIO_NUM_2
CS_PIN GPIO_NUM_15
RST_PIN GPIO_NUM_4
Baudrate 9600 (I have set this as high as 256000 without issue)
I used the Adafruit Gfx library
Re: Waveshare SPI 2.4" LCD - no MISO
Hi Drloko,
Thanks for posting.
I think my panel is broken, although backlight control is working.
Thanks for posting.
I think my panel is broken, although backlight control is working.
Who is online
Users browsing this forum: Baidu [Spider] and 123 guests