张三叔

ESP32 desktop small TV_CH340K

 
Overview

[Latest update] If the wifi signal is poor, the specific operation is as shown in the figure

Solution to the problem of poor WiFi signal from Lichuang EDA version.jpg Demo video: [ https://www.bilibili.com/video/BV1hy4y1W7NL#reply4659296399 ]()

introduce

Communication QQ group: 531732157

Station B: Xutoubee

  1. The ESP32 desktop small TV is positioned as a small desktop ornament. It is used for working and studying occasionally. It can stare at the screen to understand the time, weather, and life index, etc. In fact, watching the chinchilla move on the screen, it also It has a unique flavor.
  2. The hardware part includes the ESP32-WROOM-32 module + 1.54-inch 240*240 ST7789 screen + mode button + light sensor. The reason for using the module is that it is stable and reliable and can reduce many peripheral components; the ST7789 screen accounts for a large portion of the project funds. I really miss the days when I could buy it for 10 yuan two years ago; the mode button is mainly used to set relevant parameters at startup, such as changing the home screen animation, entering the network distribution mode, etc. The single-button setting, the program idea is also very simple, according to the button The duration is set after releasing the button. The disadvantage is that it is too time-consuming; the last is the light sensor, which is mainly used for automatic control of the screen backlight. It automatically adjusts the screen backlight according to the light intensity. When the lights are turned off at night, the screen The backlight is turned off, which is very suitable for horizontal use. The dim light of the screen will not affect sleep.
  3. As for the power supply method, I actually considered using lithium batteries, but the two power tigers of screen + ESP32 (not considering optimizing for power saving for the time being) made me give up. Coupled with the compact appearance, it is inevitable that a large-capacity battery cannot be inserted; also I thought about using a wireless power supply method, but after searching around on the market, I found that the coil size was too large. I had to wind the coil myself (forgive me!), and the work was positioned on the table, with a small tail (charging cable) attached to it. It doesn't hurt either. Download the program, and in the supporting information, open the Arduino IDE and press the figure below to set the parameters. The type and memory allocation of the main development board are strictly as shown in the red box in the figure below: image.png
  4. Next, it is a very critical step. Create a new blank program in the Arduino IDE and download it. The reason: During the actual download, you need to download three bins, which are firmware, configuration file, and user program, and they are all stored in different memory addresses. We I tried to burn 3 bins respectively according to the address it prompted, but failed. I had no choice but to do this first. After completing this step, you can download the user program. Open Flash_download_tool_3.8.7.exe and follow the picture below. Settings, click "OK"

image.png

  1. Then, follow the steps below to set the settings in sequence. COM: is the actual port number of your computer. image.png

  2. When the prompt is completed, you need to power off and restart, and then power on again. Because this is the first time, there is no wifi data in the NVS storage of ESP32, so it will automatically enter the Web configuration mode. At this time, turn on the phone, enter the wifi settings, and connect the phone to the "desktop" "Small TV", then the network configuration page will automatically pop up, just enter the wifi information of the environment. Note that ESP32-WROOM-32 does not natively support the 5G frequency band, so you know, enter the wifi name in Chinese + numbers + letters + symbols You can combine them at will, just don't output them. Confirm that they are correct and click "Save". After receiving the data, the small desktop TV will automatically restart and connect to the newly set wifi. If the information is entered incorrectly, during the connection process, when the progress bar is almost over, , it will automatically enter the distribution network mode (who told you to enter it wrong) Single button mode setting. If you want to enter this mode, it is also mentioned above. It is actually very simple. First, the small desktop TV must be powered off or work normally. Press the button on the back without releasing it (soft restart will be performed after pressing the button), and then there will be a text prompt on the screen, what information is prompted, just release the button on this page to complete the setting (this method is indeed very time-consuming)

  3. Current problems: [1] When used under mobile broadband, there will be a discrepancy between the location and the location displayed on the screen. The reason is not explained in detail. You know → The program setting function will be added in the single-button setting mode in the future. [2] Network If the environment is poor (the network speed is poor), the moving part of the screen will stop when getting data online. The reason is that the function to get api data always stays in the while, and no data is obtained (or times out), so it will not jump out → Follow-up Will run this work under RTOS, and can reasonably "squeeze" the dual-core processor of ESP32

  4. Beautiful pictures 4e3a508f7b1e2731d69121a4c6584bf.jpg5e78060f627cd38d6f5f79f201111e1.jpg93d97212614a3955b67d96b3be4cdfa.jpg4126c7e8b9c90d0bdbfe2abf960c4e8.jpge60707cc6f23b3b551040d1daf5f366.jpg

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-25 05:47:26

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号