Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: Teensy 4.1 and 2.4' TFT tutorial

  1. #1
    Junior Member
    Join Date
    Nov 2020

    Teensy 4.1 and 2.4' TFT tutorial

    hi everyone , I am new here and somehow new to electronics, i just got the teensy 4.1 and i have an old 2.4' tft and i wish to know how i can hook them up together, my bigger project is making a touch screen for a flight simulator but i want to start small first and build up from there.

    i got also the mega shield if that would help me use it

    i wish for wiring and simple programming tutorial if possible

    really thanks for any help i can get

    and sorry for the really noob question

    Click image for larger version. 

Name:	20201130_005104.jpg 
Views:	35 
Size:	110.3 KB 
ID:	22686Click image for larger version. 

Name:	20201130_005115.jpg 
Views:	41 
Size:	93.9 KB 
ID:	22687Click image for larger version. 

Name:	20201130_005128.jpg 
Views:	76 
Size:	116.4 KB 
ID:	22688

    Click image for larger version. 

Name:	20201130_005142.jpg 
Views:	80 
Size:	82.0 KB 
ID:	22689

  2. #2
    Senior Member
    Join Date
    Jul 2020
    There are many different chips in TFT screens - it really helps if you know which one yours has.
    I can't even see a make given for those boards.

  3. #3
    Interesting project that you have considered. From experience, the learning curve that you are about to start will inevitably lead you to explore other types of screens.

    Although it is a common screen, probably ILI9325D due to the format and dimensions, for teensy 4.x it turns out that it is not at all common, since it has not been properly explored. I think that until teensy 3.6 you could try to connect it, but in teensy 4.x things are somewhat different since it is a micro something special when it comes to using digital pins with somewhat outdated libraries such as UTFT that has not received support for more 5 years.

    Maybe your first contact should be with SPI screens like the ILI934, ILI9488, or already entered something more advanced with the FT813 chip.
    Click image for larger version. 

Name:	d8k8mksy6p9ajlrzg.jpg 
Views:	47 
Size:	125.3 KB 
ID:	22691

    GPS: Teensy 4 + FT 813 3.5" +Neo 7 GPS

    Library: GD23ZUTX

  4. #4
    Senior Member BriComp's Avatar
    Join Date
    Apr 2014
    Cheltenham, UK
    Searching the web I found the following entry from 2014. Images provided at the arduino forum for this post look like your board.
    Perhaps this will give you a starting point.
    Re: Use of 2.4" TFT LCD.
    Apr 04, 2014, 02:29 pm Last Edit: Apr 04, 2014, 02:34 pm by bevangg Reason: 1
    I have bought one of these displays and a mega shield, which is marked CTE TFT LCD/SD shield The display has no model number on the underside of the pcb and is marked 2.4"TFT 240*320 V2.1 on the topside.
    I downloaded the UTFT library and found that the sketch found in examples/Arduino(ARM) + Teensy/UTFT_Demo_320*240.ino worked with the model parameter set as ITDB24.
    I am not sure yet whether it is running 8 or 16 bit mode, that's next to do.
    Anyway it is a relief to see an image on the screen and know that the shield etc are compatible. The only concern at the moment is how to use the other pins on the mega, does anybody know how this is done?

  5. #5
    I've spend a fair amount of time trying to get these "Arduino dedicated" LCDs to work with a non-arduino--i've never been successful. Pinouts and mapping is one issue, getting a lib that matches the chip and pins is another. I use 2.2, 2.4, 2.8 displays that use the ILI9341 chip, and the ILI9341_t3 is a wicked good lib. I use 3.5" ILI9488 and the ILI9488_t3 lib as well. Adafruit has libs for stuff like the HX8357, but are not as fast as the xxx_t3 ones i listed.

    Depending on your comfort level with tinkering (and time tinkering), I'd recommend getting a new display (can be bought from PJRC). If you amazon it, find out what the chip and interface is first, then make sure a lib exists--unless you feel like writing your own display lib

  6. #6
    Junior Member
    Join Date
    Nov 2020
    okay , first thanks for all the replays and guides, but i didn't expect it to be that hard , i guess i must start with something much smaller and fits my current knowledge and skills.

    thanks a lot

  7. #7
    Member garcho's Avatar
    Join Date
    May 2020
    Richmond, VA
    remember during your experimenting, that teensy 4.1 is NOT 5V tolerant

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts