Skip to content

ILI9341

Wireless Touchscreen LED Strip Controller

For Christmas I installed 20M (4 x 5M) of RGB LED strips, and 1 RGB spotlight under our patio, I then used the WIFI to 2.4GHz bridge (V4) (same used here) to connect them to the network in 2 groups. Now they can be turned on using our phones, etc… But I don’t carry my phone with me everywhere so this seemed fun but short sighted… With the ESP8266, a Touch screen, and 3.3v Arduino mini pro, I was able to create a wireless touch screen controller for the Christmas lights. Note: There is one caveat; it’s slow. This is due to the long delays I’ve had to add to the code to make sure the ESP8266 module actually does what it’s told to do, rather than replying “busy s…”. When it’s finally finished loading,… Read More »Wireless Touchscreen LED Strip Controller

2.4″ 240×320 SPI Touch ILI9341 3.3V

This is a notes post for future reference Description: Cheap eBay color LCD display Resolution: 240×320 Size: 2.4″ Driver: ILI9341 (Display), ads7843 compatible (Touch). Colors: 16bit Voltage: 3.3v or 5v (only tried 3.3) Libraries: SPI, Adafruit_ILI9341 (Display), UTouch (Touch). CODE: #include “SPI.h” #include “Adafruit_GFX.h” #include “Adafruit_ILI9341.h” #include <UTouch.h> #define TFT_CS 10 #define TFT_DC 9 Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC); UTouch  myTouch( 6, 5, 4, 3, 2); … void setup() { … tft.begin(); tft.setRotation(1); myTouch.InitTouch(); myTouch.setPrecision(PREC_MEDIUM); … Pins: Touch T_IRQ – pin 2 T_DO – pin 3 T_DIN – pin 4 T_CS – pin 5 T_CLK – pin 6 Display SDO(MISO) – Pin 12 LED – 3.3V SCK – Pin 13 SDI(MOSI) – Pin 11 D/C – Pin 9 RESET – RST CS – Pin 10 GND – GND VCC – 3.3V