Showing posts with label TFT. Show all posts
Showing posts with label TFT. Show all posts

Monday, 13 May 2013

Cheap Colour TFT with the Arduino

As long as I've been working with Arduinos I've always wanted to use a colour TFT to display stuff but they were always quite expensive, well now I've found a quite cheap one that's relatively easy to programme. Ebay link.

I read a blog article from http://tronixstuff.wordpress.com/2013/04/26/tutorial-arduino-and-ili9325-colour-tft-lcd-modules/ about using an inexpensive TFT from Ebay (China) it costs about £7 inc. delivery, worth a try.

www.tronixstuff.wordpress.com is definitely worth a visit as there are loads of Arduino tutorials to read.

There's already a library available from another site http://henningkarlsen.com/electronics/library.php?id=51 called UTFT.rar, download it and install to your library folder.

The library comes with three fonts, small, large and a seven segment calculator type font, unfortunately the seven segment font doesn't come with a decimal point so when you use it to display floating point numbers with the printNumF command it doesn't display a decimal point just some small random characters.

I contacted the Library author Henning Karlsen and he was very helpful in pointing out information for creating your own fonts and some already created extra fonts. http://henningkarlsen.com/electronics/r_fonts.php

A couple of things to be aware of though: -
  • The fonts use up memory, quite a lot of memory for the full fonts so be aware.
  • The code includes all the drivers for all the various chipsets, to reduce the memory edit the memorysaver.h file in the UTFT folder and remove the commenting from the lines for the chipset you don't need.  If you don't do this then some examples compile to more than 32K.
  • On the screen I got, using the UTOUCH library from the same site as the screen library, the touch functionality wouldn't work.  I'm in contact with the supplier to try and understand if it's an issue with the screen or the library.
  • There is also an SDcard socket on the back of the PCB but I've not yet tried it out.
The library includes the ability to draw recangles, circles etc and I noticed a new geometery library that will let you draw arcs, pie slices.

Overall I think it's well worth the £7 even if the touch doesn't work although it would be fantastic if it can be made to work.

The memory limitations are a pain when you want to use a large font size but if it's a must then you could look at using a Arduino Mega or the Chipkit Uno equivalents, I beleive they have more memory to play with.

Finally, some pictures for the TFT, I've modified my Chronograph code to run with the TFT screen, the only issue is the lack of a decimal point in the seven segment font but I should be able to modify the font source to add one.

 
 
I've also started work on a shield for the UNO so that it can be plugged directly on top and also included five switches along the bottom, using a resistor ladder network so they only use up one analogue input.
 
If anyone interested in a shield then just let me know in the comments.
 

Tuesday, 5 July 2011

iSmart TFT Modules

I've recently discovered these iSmart TFT modules, which combine an ARM9 processor core with a 480x272 colour resistive touch display, 24 I/O lines, RS232, USB, I2C interfaces and an RTCC plus more!

The module uses its own programming language to control a collection of pre-defined screens, up to 100,and also control the I/O and external interfaces. These programmes are written in a text editor and stored on a uSD card, when the module powers it runs a file called TU480a.mnu, this contains the code.

The language is very different to C and is an object orientated type more like html, each "entity" is given a style, this is then used whenever the entity is used on the screen.

The website can be found here
 
The programme can be loaded into NAND so it can be run without the uSD card inserted and you are able to send data to and from the screen via the serial port so I assume it will work in conjunction with the Arduino platform, at least that's what I'm hoping!

So far I've just loaded a couple of screens, which I generated in Open Office Draw and then grabbed the screen and re-sized to fit, and then added a couple of touch areas to switch between them.


For the Arduino community there is the problem with there being no libraries so everything would need to be done in code and also another thing to note is that it's not open source code or hardware.

The price is around 90 Euros + VAT for the 4.3 inch version

New Accessories for the AirChrony S3

With the increasing abilities of AI it has become so much easier to take an idea to a finished, working item in a really short time. I was t...

Popular Posts