newrudeman

[Physical object verified] 1.3 OLED network calibration clock

 
Overview

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 :)

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-20 15:38:32

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号