I received today in the post an Arduino Mega with 3.2″ TFT LCD Display made by SainSmart, from Amazon. Click here.
I was impressed how easy it was to assemble – however it isn’t exactly a robust set-up. The screen board is attached at one end, so it’d be quite easy to bend the pins between the LCD PCB and the Arduino Shield .
To use the screen you need to use a library which I found on SainSmart’s website. However – there is an issue (in my Arduino IDE anyway) with this library. Namely that it refers to another library WProgram.h which has been renamed to Arduino.h. You’ll need to rename this once extracted or download my copy with the mod to your arduino/libraries/touchscreen directory (you’ll have to make one). Without this mod you’ll get an error when you compile;
In file included from ITDB02_Graph16_Demo_Landscape.cpp:18: C:\Program Files\arduino-1.0\libraries\touchscreen/ITDB02_Graph16.h:69:22: error: WProgram.h: No such file or directory
But once that’s done, it should work fine and dandy. There are two example sketches in the library – one uses the touch screen to make a sort of etch a sketch and the other displays some of the more advanced graphics that could be displayed.
Below’s a video of that second example running on the device. (sorry it’s a tad blurry)