News:

Let's find out together what makes a PIC Tick!

Main Menu

www.picgraphic.com

Started by trastikata, Nov 12, 2024, 10:44 PM

Previous topic - Next topic

SeanG_65

Trastikata, can you please add sources of the LCD modules you used in this website?

trastikata

Quote from: SeanG_65 on Nov 18, 2024, 03:19 PMTrastikata, can you please add sources of the LCD modules you used in this website?

Hello SeanG_65,

did you mean purchasing sources like Aliexpress or some code sources?

You can use any module with the same graphic driver (chip), just the pin-out might be different but this is something particular to specific project design. That's why I described the pin functionality for the different types.

Here some Aliexpress:

Parallel port:
ILI9486 With Touch - search phrase "TFT 3.5 480x320 ILI9486 With Touch 34P"
https://www.aliexpress.com/item/1005007461863045.html    - select from the types "ILI9486 With Touch" 34P

ST7796 WithTouch 34P - from the same link as above but different driver.

SPI port:
ST7789V With Touch - search phrase "TFT 240x320 2.8 SPI TFT Touch"
https://www.aliexpress.com/item/1005004557916570.html  - select "ST7789V With Touch"

ILI9341 - from the same link as above but select different driver.

P.s. If it is a code sources that you need, can you specify because I am not sure what would you mean.

Peter Truman

Hey Trastikata - is there any availability of that development board shown on the hardware page? One of those together with a couple of screen choices would be really useful!

Sommi

Hi Trastikata

can I find schematics on picgraphic.com?

Kind regards Sommi
KISS - keep it simple and stupid

John Lawton


trastikata

#25
Quote from: Peter Truman on Nov 19, 2024, 03:47 AMHey Trastikata - is there any availability of that development board shown on the hardware page? One of those together with a couple of screen choices would be really useful!

Hello Peter Truman, I got 5 bare PCB's from JLCPCB, and I have 3 PCB's left. I don't need the boards and I can provide the MCUs (I have few tens of them) and connectors but you'd need to populate the boards with passives 0805 sizes and solder by yourself everything.

As John said the schematic is there, and there's nothing critical in terms of values on this design and all passives are pull-ups and filter caps.

Maybe only the crystal capacitors can't vary that much from 12 to 18 pf, all the rest can differ as much as an order of magnitude ... whether the pull-up is 10k or 1k or the protection resistors are 10 or 100 ohms or the filtering caps are 47uf,22uf or 10uf or 1uf doesn't matter really. 

SeanG_65

Thanks Trastikata, that's EXACTLY what I needed.

Peter Truman

#27
Quote from: trastikata on Nov 19, 2024, 09:01 AM
Quote from: Peter Truman on Nov 19, 2024, 03:47 AMHey Trastikata - is there any availability of that development board shown on the hardware page? One of those together with a couple of screen choices would be really useful!

Hello Peter Truman, I got 5 bare PCB's from JLCPCB, and I have 3 PCB's left. I don't need the boards and I can provide the MCUs (I have few tens of them) and connectors but you'd need to populate the boards with passives 0805 sizes and solder by yourself everything.

As John said the schematic is there, and there's nothing critical in terms of values on this design and all passives are pull-ups and filter caps.

Maybe only the crystal capacitors can't vary that much from 12 to 18 pf, all the rest can differ as much as an order of magnitude ... whether the pull-up is 10k or 1k or the protection resistors are 10 or 100 ohms or the filtering caps are 47uf,22uf or 10uf or 1uf doesn't matter really. 
Hi Trastika - no problem, I'll knock up a few boards here and run them in with some other production in China - if there is any interests from anyone else I'd be happy to make a few more? I would just want to cover costs and freight - (I'm in Australia) - If I can just confirm with you that I'm ordering the correct LCD's?  I have (TZT 240x320 2.8" SPI TFT LCD Touch Panel Serial Port Module With PBC ILI9341 / ST7789V 2.8 Inch SPI Serial Display With Touch) and (TZT 3.5" 3.5 inch TFT LCD Touch Screen Module 480x320 ST7796U ILI9486 LCD Display for Arduino UNO MEGA2560 With/Without Touch)?

trastikata

Hello Peter,

this is the 3.5" model and the 2.8" can be either one on the site but I prefer the ST7789V - in my subjective opinion the picture was better.

If you need screen PCB dimensions, let me know.

Regards

2.8.jpg

3.5.jpg


Peter Truman

Thanks Transtikata

I ordered 2 of each to be going on with - A$52.00 'cheap as chips' as they say down here.

I would love the screen dimensions / pinout if you would share them, I couldn't see any sort of datasheet on Ali Express and, rather than wait for them to turn up and get out the verniers, I can bash on in advance.

All I need now is the time to actually get on with it.

Thanks again

Peter

trastikata

#30
Is it OK if I share Proteus PCB file with packages?

Sommi

Hi!

how to open this file?

TFT_DEV_BOARD.pdsprj

Regards sommi
KISS - keep it simple and stupid

Pepe


Peter Truman

Thanks again Transtikata - I'm not a proteus user (I have the Diptrace pro licence) so, I'll download the trial version and see how that goes.

Fanie

Very neatly done Trastikata, I briefly went through the web site.

We use these LCD's
https://www.dwin-global.com/4-3-inch-smart-lcdmodel-dmg80480c043_02wcommercial-grade-product/
These use JPG files instead of BMP, but it seems they work basically the same.
We will use these with the ESP32-S3 which runs at 240MHz so serial communication works flawless.  It is an upgrade from our previous version, the current board already provides for the peripherals we want to add.  A next year implementation, if the earth is not nuked into oblivion.

trastikata

Quote from: Fanie on Nov 27, 2024, 02:41 PMWe use these LCD's
https://www.dwin-global.com/4-3-inch-smart-lcdmodel-dmg80480c043_02wcommercial-grade-product/
These use JPG files instead of BMP, but it seems they work basically the same.
We will use these with the ESP32-S3 which runs at 240MHz so serial communication works flawless.  It is an upgrade from our previous version, the current board already provides for the peripherals we want to add.  A next year implementation, if the earth is not nuked into oblivion.

Hello Fanie,

Decoding JPEG files on the fly requires a lot of memory and some processing - hence the 32b ESP, whereas BMP files encoded as 16b RGB do not require any decompression and they can be used with 8b PICs and hobby applications.

Those displays look really nice and seems there's little to no additional effort required by the end user - but they have completely different purpose and, of course price tag ...  :)






trastikata

#36
TFT Graphic Library has been updated to v1.02

- fixed some bugs
- Add read pixel from the screen function.
- Add a screenshot to BMP file function where basically you can designate an area on the screen and copy the picture either to a new BMP file on a SD card or to the external FLASH memory.

-->-->

In this example, the "dog.bmp" file is printed from the SD card, then the text "Hello Positron World" and the axis origin have been overlaid and then finally a new BMP file "SCREEN1.BMP" is created on the SD card, where the entire TFT screen area is copied to to create a screenshot. 


normnet

#37
Thanks Trastikata!  Would it be possible to download the Fat.inc directory as I don't have proteus?

trastikata

Hello normnet,

sorry, I am not sure I understand the question, can you elaborate a bit?

Dompie

I think @normnet hasn't downloaded the library yet because then he would have seen that the file he is looking for, fat.inc, is in the SDcard directory.

Johan