An LCD screen can makes your simple Arduino projects look a lot cooler. A typical Arduino TFT LCD touch screen can cost around £20 from Adafruit for instance. This is quite a considerable cost for simple projects. Fortunately, similar screens originating from China can be purchased on eBay for a fraction of the cost. For this post, we bought a 2.4″ Touch screen for £3.03! The screen came with no manual or datasheet and there was no sign of a model number. The only information was a website on the silkscreen on the PCB: “www.mcufriend.com”. The website is in Chinese, so after google translating it, we were able to download the Arduino Library for the screen. Posts found on Arduino.cc forums suggested that the Adafruit TFT library can also be used to control the screen.
Arduino TFT connections
Online posts about this screen claim that it is only compatible with an Uno but we only had a Nano at hand. So we connected the screen to an Arduino Nano as follows:
We loaded the “graphictest” example from the Adafruit library and it didn’t work! All we got was a white screen. The graphictest example also prints out information on serial monitor. In our case, we got an “Unknown LCD driver chip: 0”. To fix this, we had to force the software to use the identifier 0x9341. All you need to do is to add the following line after the tft.readID() function call.