ILI9341 not full screen

Recurrent H/W and software problems
Post Reply
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

This morning, I succeeded reading the Wii Nunchuk joystick and buttons using I2C in an Annex32 program.
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

I ordered a selection of 0603 size surface mount resistors, and they arrived today. I removed R7 (0 Ohms) from the CYD board with the video games, and I replaced it with a 47000 Ohm resistor. That made the audio amplifier gain 11 times lower, and the sound now has less distortion. I may try this same change on the CYD board that is running Annex32 tomorrow.
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

I changed R7 to 47000 Ohms on the CYD board that I'm using for Annex32 experiments. It improved the sound considerably. Previously, I had to set play.volume to about 4 to minimize distortion. Now I can set it to 60 or 80 and get loud sound without distortion using play.wav or play.speak .
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

Soldering a 100000 Ohm resistor in parallel with (on top of) R15 on the CYD board has improved the voltage range of the light sensor (IO34).
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

I see that there is a similar ESP32 TFT module with a 3.5 inch screen and 320 by 480 resolution called the ESP3248S035R. It is a bit more cost, but I read that it has a feature that may make it a little easier to adapt Annex32 software for it. I read that the TFT and the touch controller on this module share the same SPI clock and data connections. The SD card is on a separate set of SPI connections, but this means that the touch controller may work with the TFT in Annex32 without requiring a new software version. Also only two SPI busses are used, simplifying software changes to also use the SD card. It uses the ST7796 TFT controller. I checked the schematic for this board, and it shows that the TFT and the touch controller do indeed share the same SPI clock and data connections. I think that I'll order one of these and try it.
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Re: ILI9341 not full screen

Post by Monki »

hello botman,
Thanks for the information.
The board seems interesting, can you post the link to the board and the circuit diagram

Thanks
monki
botman
Posts: 88
Joined: Thu Apr 01, 2021 3:04 pm
Has thanked: 10 times
Been thanked: 39 times

Re: ILI9341 not full screen

Post by botman »

Here is the link for the 3.5 inch module:
https://www.aliexpress.us/item/32568044 ... pt=glo2usa
I bought two for $25.87 including shipping. The CyberMonday discount helped.
This link is very helpful:
https://macsbug.wordpress.com/2022/10/0 ... -3248s035/
Last edited by botman on Thu Nov 30, 2023 12:54 pm, edited 1 time in total.
User avatar
cicciocb
Site Admin
Posts: 2061
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1360 times
Contact:

Re: ILI9341 not full screen

Post by cicciocb »

I bought recently the model with 7" LCD and esp32-s3.
Is the unit l'm actually playing with.

The capacitive touch is wonderful compared to the resistive
BeanieBots
Posts: 348
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 184 times
Been thanked: 112 times

Re: ILI9341 not full screen

Post by BeanieBots »

Does that mean you will be supporting 7" 800*480 HMI screen?
User avatar
cicciocb
Site Admin
Posts: 2061
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1360 times
Contact:

Re: ILI9341 not full screen

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Nov 30, 2023 11:21 am Does that mean you will be supporting 7" 800*480 HMI screen?
Yes
Post Reply