# 1. First, it is an electronic clock that supports multi-interface switching
# 2. Support e-book function and support full text page turning.
# 3. Support alarm clock function
# 4. Support weather forecast
# 5. Support temperature and humidity, and support a variety of temperature and humidity chip selections
# 6. Support network automatic update time
# 7. Support TF card
# 8. Support OTA updates, and consider supporting online updates in the future.
# 9. Automatically select the built-in storage file type. ESP32 configuration is saved using NVS. Weather and other information is stored on the built-in storage.
# 10. Automatic power supply control, automatic power supply switching. When USB power supply is provided, the battery only charges, and automatically switches after being removed. Automatically enable CH340 circuit when USB is plugged in
# 11. Support rhythmic lighting effects
# 12. Support Apple’s HomeKit management
Hardware support:
# 1. Supports ESP32-WROOM (or ESP32-S) 4M 8M 16M;
# 2. Support temperature and humidity chip AHT20 SHT30 (or GxHT30), just solder one of the two.
# 3. Added WS2812B tri-color lamp to achieve cool RGB lighting effects. The overall lighting effect consumes more power, so this normally needs to be turned on when USB is plugged in. The hardware also reserves a USB plug-in detection function, which can realize automatic activation;
# 4. An ambient light sensor is used, which comes with a distance sensor. This is intended to realize automatic switching of the reading light. The distance sensor can also achieve some interesting things, mainly to see the actual test results. The photoresistor photometry circuit is reserved for two considerations. One is to reduce costs, and the other is to prevent difficulties in developing certain functions of the ambient light sensor. The main reason is that the "LTR-553ALS" used only has documentation and no Relevant sample programs are reserved for later use^_^.
# 5. The Ink screen is currently being developed with a 2.9-inch screen. You can consider buying a second-hand screen to remove the screen and use it. The main reason is that this screen size is more suitable. 2.13 is too small and 4.2 is too expensive.
Let’s take a look at the actual photos first
# Main interface
# Time interface
# Weather interface
# Of course, e-books are indispensable, right?
# The setting interface is also very rich.
Yes, you saw it, it also supports the alarm clock function
# Web management interface
Web is the main management interface, so it has the most complete functions. It is really tiring to do many things on the small screen of Ink Screen, so I basically put them here.
Did you think it was over when you saw this? Of course not yet, it also supports HomeKit, and the iPhone can be connected directly ( the prerequisite is to keep it in working mode or plug in, otherwise the small battery will not work ), so that you can Look at the temperature and humidity, current light intensity and some control functions:
It supports native HomeKit, so you can directly connect to the control without connecting to any gateway. Of course, if you want to see it when you go out, you need a home hub, which can be HomePod or iPad, so that you can view information remotely. .
HomeKit pairing key: 46637726
Okay, I have written a lot better. There are not many functions, but there are many settings.
Do you think it’s over? Of course it won’t end so easily. There is also a new feature...
# Rhythmic lighting effect, a lighting effect that moves with the rhythm of music, a dynamic rhythm, brings him a different feeling, and also adds some ways to play:
It’s difficult to show the lighting effects in pictures, so watch the video!
I received the 3D Monkey printing. The printing material is nylon. The price is really expensive, but the effect is much better. However, it is only black. I have also uploaded a few pictures. Take a look:
The entire project took more than a month longer than expected, mainly because some functions have not yet reached my own expectations:
1. WeChat management function, in fact, the function has been completed, but I found that the whole system will become unresponsive when WiFi and Bluetooth are turned on together. I have no choice but to give up the Bluetooth function. If it can be solved later, it will be enabled through version update;
2. The design of the casing. This is something I am really not satisfied with. Firstly, I don’t know how to do it and learned it temporarily. Secondly, it does not meet expectations. Also, the temperature is relatively high during operation. If the ink screen is attached to the PCB, it will not work. Affected by temperature, the display effect will be affected, and the cable length is also reserved, so if you have the ability, you can redesign the casing;
3. I originally wanted to add the Mesh function, but it was also affected by the system. After all, the ESP32-WROOM memory is too small and the work is very unstable;
4. Because the ports are not enough, the SD and screen reuse SPI, which causes the upload function to be abnormal. Previously, it was normal to use SDMMC driver, but this occupied too many pins, so I temporarily canceled the upload file function (later). If it is resolved, it will be enabled through updates).
Some final suggestions:
1. When printing the panel, it is recommended to set the transparency of the light effect position to 50%. When I first confirmed with Lichuang, I changed it to 80%. It felt too bright, especially when recording on the mobile phone, the whole thing was blurred together. It is best to Play with different transparency levels to see which one works better;
2. Use 1.2mm PCB when making the board, which will make the overall layout better.
3. It is recommended not to solder CH340, because it will not be used after programming once. It is not necessary, and there are also reserved programming terminals, which can be used directly for programming and debugging.
Let’s briefly talk about the burning information:
1. If the CH340C is not soldered, you can use any serial port burner. This is required for the first time burning. You can update it through OTA later, which means opening the Web configuration in the settings and connecting to the IP address prompted on the device. page, click Update System and select the firmware update with version number;
2. You can use FlashDownload under Windows, and you can find a bunch of them just by searching on Baidu;
3. When burning the device, just follow the picture example below. Please choose your own COM port.
new version update:
v1.4 2022-6-17 Optimize the display problem of the setting interface and add GDEW029Z13 support firmware
v1.3 2022-6-15 Fixed the bug that the rhythm lighting effect cannot be turned on after it is turned off.
v1.2 2022-6-12 Added hourly reminder function at the request of group friends
v1.1 2020-6-8 first version released