The WEATHERMAN Web Weather Station project has taken on many guises as it has evolved through different hardware configurations. My latest is built on the ESP8266 WeMos D1 Mini board and uses my recent eBay delivered 2.4″ True Color TFT LCD 320×240 Display Module.
Similar to other small OLED displays, this display runs on 3.3V and supports an I²C interface which makes it an ideal companion to the web-capable ESP8266. And what’s more, it ships from within Canada!
According to the data sheet for this device (DS320240CTFT-56) from DIGOLE has the following features:
- Pixels: 320xRGBx240, 262K colors, high bright self light emitting
- Screen size: 36.8x49mm
- Product size: (WxHxD): 43 x 70 x 5.6mm (1.7″ x 2.8″ x 0.2″)
- Power Supply: 3.0V to 7.0V
- Power consumption: 0.5mA to 135mA (at 5V when backlight full on)
- Communication mode: UART, I2C, SPI, detect your setting automatically
- Receiving buffer: 2Kb
- Communication signal can work on 3.3V and 5.0V TTL
- Default setting: UART baud 9600bps, I2C 0x27 address
- UART baud (bps): 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200
In addition, it boasts a simple command set with an integrated graphic engine, 7 preloaded fonts, provides special commands to set color and draw color image, and can display 256 color image with 262K true color image on same screen.
The unit is built using a WemMos D1 Mini board built on the ESP8266-12 processor. The board connects to the display using the I²C interface and a small push button is used to cycle through the seven days of the weather forecast. Data displayed comes from an API hosted by “openweathermap.org“. For each of the 7 days of forecast, data is parsed from the response and displayed on the screen. Humidex and windchill are calculated using data from the forecast (see this post) and also displayed.