Tft 2.4" con STM32F103C8T6

Post Reply
Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 1:15 pm

Hi, I'm trying to implement the Chinese 2.4 "TFT screen with the STM32F103C8T6 board. I've seen other discussions on this forum, but without coming up with a result. Could anyone help me?

dannyf
Posts: 330
Joined: Wed May 11, 2016 4:29 pm

Re: Tft 2.4" con STM32F103C8T6

Post by dannyf » Sat Mar 16, 2019 1:28 pm

usually having the datasheet for your display would be the starting point.

Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Re: Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 1:46 pm

Modulo LCD TFT DA 2.4 pollice TFT schermo LCD per Arduino UNO R3 Consiglio e supporto mega 2560 con gif Touch penna
https://s.click.aliexpress.com/e/bOPNniZj

david.prentice
Posts: 163
Joined: Wed Nov 16, 2016 8:52 am

Re: Tft 2.4" con STM32F103C8T6

Post by david.prentice » Sat Mar 16, 2019 2:23 pm

It is a regular Mcufriend Shield.
The photos in your link show an AMS1117-3.3 regulator.
The link says SPFD5408 controller.

I would not trust Ebay advertisers or your AliExpress link. Wait and see what arrives through the door.

99.9% of these boards should work with MCUFRIEND_kbv Arduino library.
Depending on the controller that is mounted, several other libraries should work too. e.g. with ILI9325, ILI9341

David.

Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Re: Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 2:43 pm

I made this LCD work with both Arduino UNO and Arduino Mega 256p r3 with Joao Lopes's SPDF5408 library
https://github.com/JoaoLopesF/SPFD5408

Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Re: Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 2:58 pm

from another discussion in this forum I realized that we need to connect the pins in the following way:

Code: Select all

Port data |D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 |
Pin stm32 |PB7|PB6|PB5|PB4|PB3|PB2|PB1|PB0|
Control pins |RD |WR |RS |CS |RST|
Pin stm32    |PA4|PA5|PA6|PA7|PA8|

Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Re: Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 3:01 pm

the PB2 pin is not present between the output pins, so I took the soldering iron and soldered a wire to use the PB2 pin

Domenico
Posts: 6
Joined: Sun Aug 05, 2018 8:21 pm

Re: Tft 2.4" con STM32F103C8T6

Post by Domenico » Sat Mar 16, 2019 3:20 pm

Image
Attachments
Pin B2.jpg
Pin B2.jpg (52.32 KiB) Viewed 5 times

Post Reply