ESP8266 and 1.6' ST7735 TFT Screen - 30MHz stream

preview_player
Показать описание
Here's my Sun-Clock, Date, Analog time, Sun spot, Sun corona, and web-cam monitor demonstration.

the slightly newer one:

Implementing it was easier than it sounds - the ESP connects via WiFi to a .Net page I set up. The .Net page on each request streams 160 x 128 x 2 bytes of data (about 40k - hardly anything) back to the ESP. The data is simply the 1D array of image data from a canvas with the same dimensions as the TF - 160x128 pixels, and which is encoded using the RGB 565 format. (5 bits for red, 6 for the eyes higher sensitivity to green, and 5 for blue).

Upon receiving each pair of bytes making up a single RGB565 pixel, the ESP writes it to the TFT screen, which is intelligent enough to "stack" them from the top left, across and down without being told explicitly the next position.

So to sum up:

1: .Net sends a canvas RGB565 1D array stream to the ESP8266 via a web GET request.

2: The ESP8266 does no processing of the data - it simply echoes the received bytes to the SPI port of the TFT screen.

3: The TFT screen stacks them back up into the 160x128 pixel display, pixel by pixel.

The webpage on each request changes where the source canvas image comes from. For some, the .Net code generates the image itself - such as for the real-time analog clock. For others, it uses the images supplied by various societies and companies.

I'll be adding the contact information for them as soon as I compile the list.
Рекомендации по теме
Комментарии
Автор

I can't believe this was 4 years ago, feels like yesterday... Time surely flies

prpqend
Автор

Terrific project for the ESP8266. Thanks for sharing the code. With a few changes, it worked on an ESP-12/ST7735 just as yours did although the screen refreshes were much slower than in your video. This project is a fair bit more interesting than the next weather station application.

cz
Автор

I really liked the style of the watch;
What should be changed in the sketch to use with a 2.8 inch ILI9341 display? Thank you

Dancopymus
Автор

Hello, thank you for this wonderful idea. But is the service still available? I tried it with a D1 mini and 1.4" 128x128 tft without success. Writes only dots and no picture.

marcomuller
Автор

Could I marry you?
... Okay, just kidding! But still, you're awesome! It seems quite rare to find a female that is into this stuff! ;)

BenjaminEsposti
Автор

Nice! Is it possible to share the source code?

bastiaan
Автор

I really liked the style of the watch;
What should be changed in the sketch to use with a 2.8 inch ILI9341 display? Thank you

Dancopymus
welcome to shbcf.ru