It's usually busy, but it feels even busier during the National Day. . .
Before the National Day, I told Zhou Gong that I would open source two network clocks, but it has been delayed until now~
First open source a 1.3OLED network calibration clock. This clock is based on ESP-12F. In actual use, it is also possible to use 12S and 12E.
The source code part was originally passed on to me by a Xianyu player, and later I saw an identical source code on Station B~ I can’t figure out who this source code is.
Post the source code of Station B for your reference: https://www.bilibili.com/video/BV1eJ411H7LN
https://github.com/flyAkari/ESP8266_Network_Clock
If you like something a little more compact, you can click on the 0.96 OLED Network Weather Clock
Link: https://oshwhub.com/duyes/0-96-oled-shi-zhong
The code part is completely universal!
The clock hardware design of our school is completely open source and can be used for personal and commercial use . The open source LOGO and personal information must not be deleted for commercial use . Please respect the open source spirit!
First, let’s put a preview of the purple board that JLC doesn’t have:)
Then there is the entity diagram that I personally like
After reading the various pictures, I will briefly talk about what you need to pay attention to:
Hardware part: There is nothing special to pay attention to. I bought the components from Lichuang Mall and just soldered them:) When buying OLED, pay attention to the wiring sequence on the top. It is 35.4mm long and 33.5mm high. The fake Baoyouxin has finished products. The connection between the screen and the motherboard is a 3MM screw hole and bracket post. There are so many fakes~
Software part: The code basically has comments. I will mention some things that need attention.
1. The 1.3-inch OLED uses the SH1106 chip driver, while the 0.96 OLED uses the SSD1306 chip driver. Ours is a 1.3-inch one, so we write SH1106;
2. #define DEF_WIFI_SSID " Your home WIFI SSID "
#define DEF_WIWI_PASSWORD " Password for your home WIFI "
I don’t need to say more about these two. Everyone knows it. If you don’t understand, I can’t help it~
3. The bug part of this code : Because it uses the DYWiFiConfig library, the library itself has a small bug, so if you use this code directly, the clock will always transmit the AP defined in "#define AP_NAME "Esp12F Clock 1.3" The signal is unencrypted. Initially, this problem is not big, but when you connect to this AP and open 192.168.4.1, you will find out? ? ? ? Are your wifi account numbers and passwords clearly written on the page you open ? ? ? ? Interested friends can actually test the specific effect, but I won’t show the picture here.
Solution: Comment out the following line of code in the second "If you don't need the Web background, you can comment out this line" position in the source code. I tried the first place, and it will cause an error that cannot be booted . Just follow the picture. Already :)
The hardware of this 1.3 network calibration clock and the 0.96 network weather clock I will post later are basically the same, and the code is completely common. Friends who like it can follow and like it:)
Finally, here is the demonstration video of the physical machine :)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet