4 Replies Latest reply on Jan 9, 2015 2:01 PM by DiegoV_Intel

    how can i connect a touchscreen tft_320qvt to a galileo gen 1?

    agnis

      My main issue is that the display have 16 pins for the touch bus, and the board have 14 digital pins. So should i have to use the display in 8bit mode?. is there a way to use the analog pins has digital ones? and besides that. i don't know how exactly the display works besides the Vcc and Gnd, i haven't found a decent data-sheet yet.PinOut.jpg

       

      here is the pin assignment of the screen, The pins named with “D_” is the touch bus.

      700px-LCD_TFT01_3.2W_16.jpg

       

       

      This is the screen.Thanks for the help, and my apologize if my English writing is bad.

        • 1. Re: how can i connect a touchscreen tft_320qvt to a galileo gen 1?
          DiegoV_Intel

          Hi agnis,

           

          I have been searching for information related to this screen and I found this document: http://www.sainsmart.com/zen/documents/20-011-918/3.2LCD+UNO.pdf. I don't know if you already found that document, but it explains how to use the TFT screen with the Arduino UNO. There are some pins of the TFT display that are connected to the analog pins so you can check it. Since the Galileo has the same pinout of the Arduino UNO that could be useful to know how the display can be connected to it.

           

          In the document there are some explanations related the code used, and the example used can be found here: The Desktop Contemplator - Nuts & Volts Magazine - For The Electronics Hobbyist. In that site you will find a download section to download the code example and some additional documents including a couple of datasheets that can be interesting to you.

           

          They use a library named UTFT in the code. I searched for it and I found this site: UTFT - Electronics - Henning Karlsen. In there, you will find useful information, including the UTFT library. There are several examples for Arduino and PIC32. However here is also the bad news. I was thinking that the library could be used with the Galileo but it is written specifically for ARM, AVR and PIC32 architectures. Since the Galileo has a different architecture the library won't work.

           

          If you still want to use this TFT display the option would be to write a new library to make it compatible with the Galileo, however that is not an easy task. I would suggest using another TFT screen. I'll recommend you to check this other thread where an user was able to use a TFT screen that you might find interesting: Re: 2.8" TFT V2 and Galileo Problem.

           

          Regards,

          Diego.

          • 2. Re: how can i connect a touchscreen tft_320qvt to a galileo gen 1?
            dferyance

            I think no matter what you are looking at a pretty big challenge. Galileo IO speed is notoriously slow. I have never tried doing a parallel bus with it, but I don't see that working well. It might even be so slow that the display driver won't respond right.

             

            I think your best bet is to connect the LCD to something that can control it easily and then communicate from the Galileo to that MCU. Maybe go with an Arduino and communicate over serial or USB to it. If I was doing this, I would probably do something like connecting it to the MegaProLogic (http://www.earthpeopletechnology.com/?wpsc-product=ept-570-ap-u2-usbpld-development-system-for-the-arduino-uno-duplicate) and talk to that over USB to the FTDI mini-module. I find that kind of thing fun but it also would be quite a bit harder than using a MCU with a pre-written graphics library.

            • 3. Re: how can i connect a touchscreen tft_320qvt to a galileo gen 1?
              agnis

              I understand, is there a way to use tft ardunio lib for use the screen just has a display at least?, and what architecture is the one that galileo use?. Thank you so much for your help, I'm very new into all this.

              • 4. Re: how can i connect a touchscreen tft_320qvt to a galileo gen 1?
                DiegoV_Intel

                Hi agnis,

                 

                Unfortunately the TFT Arduino library is not compatible with Galileo. If you want to use a TFT display you should try to write or adapt the library so it can be used in Galileo. In the link I suggested before, the library to control the display was ported to Galileo. That depends on the architectures. The Arduino libraries are written for the architecture of the Arduino MCUs.

                 

                The Galileo architecture is x86. So the libraries have to be written for that architecture.

                 

                Regards,

                Diego.