filmov
tv
ESP8266 and 1.6' ST7735 TFT Screen - 30MHz stream

Показать описание
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.
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.
Комментарии