HOME    PROJECTS    LIBRARIES    RESOURCES    LINKS    CONTACT  
Select category:
Arduino
  DS1302
  DS1307
  DS3231
  DS3234
  KeyPad
  LCD5110_Basic
  LCD5110_Graph
  LCD5110_SPIflash
  LEDmatrix7219
  MCP4725
  MGLCD
  OLED_I2C
  OLED_SPIflash
  OLED_StatusIcons
  relay8
  SPIflash
  tinyFAT
  UTFT
  UTFT_Buttons
  UTFT_Geometry
  UTFT_SPIflash
  UTFT_tinyFAT
  UTouch
  WiiChuck
chipKit
TI LaunchPad

IF YOU LIKE,
and use any of my projects or libraries, and would like to encourage further development you can donate through PayPal here:

Rather donate hardware directly? Then click here.





Library: UTouch

This library is primarily an add-on to my UTFT library for TFT display modules.

3.2" TFT LCD Screen Module: ITDB02-3.2 by ITead studio2.4" TFT LCD Screen Module: ITDB02-2.4 by ITead studio

As stated earlier, this library is primarily an add-on to UTFT, but the library in it self does not require UTFT. The supplied examples DO however require the UTFT library.

The library works great with the ITDB02 Arduino MEGA Shield v2.0 from ITead Studio and the TFT01 Arduino Mega Shield from ElecFreaks.

The library will not work with the current verison of the ITDB02 Arduino Shield from ITead or the TFT01 Arduino Shield from ElecFreaks because the shield does not connect the required IRQ signal to the Arduino.

Download:

UTouch.zip
(Filesize is 423.85 KiB. Downloaded 76262 times)


Some demos showcasing most of the functions are included in the download.
This is a multi-platform library that will work with several different development board types.

Changes:
v1.01 Dec 2012initial release
v1.123 May 2013added support for more display modules
  modified calibration to try to compensate for slight flaws in some (larger) touchscreens
  changed license to CC BY-NC-SA 3.0
v1.222 Sep 2013general optimization
  fixed some issues with calibration
  made modifications to reduce erroneous readings
  added support for more display modules
  added UTouch_QuickPaint example
v1.2106 Dec 2013added support for ElecFreaks TFT01-4.3
  added support for Coldtears 3.5" and 4.0" modules
v1.2218 Feb 2014added support for Teensy 3.x Boards
  added support for three display modules from ElecHouse
  made some modifications to improve accuracy when precision is set to medium or higher
v1.2316 Mar 2014fixed a bug that were introduced in v1.22
v1.2405 May 2014added support for DisplayModule DM-TFT24-104 and DM-TFT28-103
  added support for Coldtears 5" and 7" CPLD modules
v1.3017 May 2015added support TI CC3200 LaunchPad

Nice to know:

A program to calibrate the touch screen is included in the download. If your touch screen is inaccurate you simply install and run UTouch_Calibration. Follow the on-screen instruction to calibrate your touch screen.

The supplied calibration parameters are fairly accurate on my 3.2" S module. If you are using any other module you will have to run the calibration. For the best possible results you should run the calibration in any case.

More information about calibration can be found in the included manual. Make sure you read the manual before running the calibration sketch.

 

Compatibility:

WorkingArduino Duemilanove w/ATmega328
WorkingArduino Uno
WorkingArduino Leonardo
WorkingArduino Mega
WorkingArduino Mega2560
WorkingArduino Due
Not tested, UnsupportedBobuino
WorkingTeensy 3.x
Working = Working   Not working: Not working
Not tested, Unsupported = Not tested, Unsupported

Manual:

CLICK HERE TO VIEW
The manual is included in the download

License:

By downloading the library you accept the following license:
Creative Commons BY-NC-SA Logo
Creative Commons (CC BY-NC-SA 3.0)
View SummaryView Legal