Go Down

Topic: Which touchscreen works with Leonardo (Read 2145 times) previous topic - next topic


Aug 02, 2013, 02:45 pm Last Edit: Aug 02, 2013, 02:47 pm by TMGeorge Reason: 1

I'm looking for a touch screen which works with leonardo. It would be nice if it also supports SD cards. I ask because the displays I found mention that the don't work with leonardo.

Can anyone pls explain why most touch screens don't support leonardo?

I played around with mine http://forum.arduino.cc/index.php?topic=178643.0 and couldn't get it working. At first the Compiler complained about missing stuff. But this were just the missing defined constants for the pins.

I fixed this but I wonder if this was the only problem because I didn't show the gfx demo. (which could also be cause by other issues)

One guy mentioned that the pinout has changed but I don't see a difference except the ICS connector is missing but it's not used for this shield.

thx n rgds

Could someone pls enlighten me what speaks technically against my shield?


I have not been able to locate a single display that works out of the box.

Most of the tft and sdcard  use spi
"SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Uno, They are only available on the ICSP connector. This means that if you have a shield that uses SPI, but does NOT have a 6-pin ICSP connector that connects to the Leonardo's 6-pin ICSP header, the shield will not work."

then the code is often greased to work more quickly(using port register access) . port registers differ depending on board version.
the seeedstudio 2.8 v1 tft uses the same controller chip(SPFD5408A) on the tft as the one you bought and is a pain to work with as it also uses data pins(too many pin for me).
i am remapping the seeed studio example to a Leonardo. I have not mangled it into working yet.  IF progress is made i will post an update.

4d systems display board seems to be a good candidate as they only use spi communication and two digital io to select tft or sdcard.
moving the shields d13 and d11 to the corresponding icsp connections might just work.
they also do not use any port registers in the provided library example.

anyone find a TFT shield with the icsp on it? might work out of the box.

what does the code you are using look like?

"my leo is for a programmable keyboard to set date time and defaults, also have it set up to work via bluetooth from my phone, now i want a local display for ease of use."

Whats yours for ?


found a good tutorial and a lcd that works from arduino
its not touch .
but i am not just going to throw more money at my problem. good luck !


you can use the 4d shield with the leonardo

Code: [Select]

    Picaso Display
  // uncomment if using alternate tx/rx pins
  #include <SoftwareSerial.h>
  #define DisplaySerial SerialSoft
  SoftwareSerial DisplaySerial(5,6);
  // uncomment if using uno with standard tx/rx pins
  //#define DisplaySerial Serial

  // uncomment if using leonardo
  //#define DisplaySerial Serial1

Go Up