This project is slightly different from the 1.3OLED network clock calibration hardware part posted earlier, and the code is completely universal! Link: https://oshwhub.com/duyes/1-3-oled-shi-zhong
Modifications: The on/off key has been deleted, and the layout has been carefully optimized. The specific value has been deleted from the silk screen part. There is no way. This little thing is too small:) The power communication port has been moved from the left to the right to satisfy the tastes of different friends~
Link to the source code of this project: https://www.bilibili.com/video/BV1WC4y1h7k4
https://github.com/bilibilifmk/ESP_weather_Cube
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 of all, it is still the purple PCB preview that JLC cannot print:)
Then I’ll send you a preview of the actual product :)
By the way, JLC printed my open source silk screen into a big white blob...can I apply for re-production?
I once again complain that Zhuhai’s silk screen printing is not as good as New Mega’s~
Someone asked me why I made a 0.96 OLED after making a 1.3 OLED?
It's actually very simple, because I found that 0.96 OLED has one more option than 1.3 OLED, which is a yellow and blue dual-color screen T_T...
Very beautiful!
You need to pay attention to the hardware part:
1. When welding the TYPEC port, do not let too much tin come out from the back of the fixed post. If too much tin comes out, there may be a risk of short circuit with the components on the back. Although I have deleted the GND network of the fixed post, everyone still needs to be careful. Better;
2. The size of 0.96 OLED is as shown below. The fake Baoyouxinjia sells finished OLED modules;
3. The screen and motherboard are fixed using 2mm screw holes and bracket posts. After all, the motherboard is too small and the 3mm screw holes are too big~
Software part (key point):
1. The network distribution part uses the WeChat network distribution method. After scanning the QR code on WeChat, a small program will be opened first, and the 8266AP will be connected to the small program. After that, the IOS system needs to enter the network settings and click on WIFI to search for your own home. Network configuration and saving (this step may take half a minute). If the Android system scans the QR code on WeChat and uses the mini program to connect to 8266AP, the search page for network configuration and saving will pop up directly.
2. Because it involves displaying a Web page on the mobile phone, after you use ARDUINO to burn the code, you need to upload the data file to 8266 in the tool. You can just follow the picture;
3. The weather information obtained in the code is mainly provided by Zefeng Weather .
String keys = "balabalabalabalalabalalala"; //Interface address: https://console.heweather.com/app/index
String dq = "10122xxxx"; //Fill in the city number to get the number https://where.heweather.com/index.html
Therefore, everyone should try their best to register a private Key for use. This can minimize the problem of not being able to display the weather due to exhaustion of the public version Key;
The PM2.5 value is available in big cities such as Beijing and Shanghai, but not in small cities. If not, it means that the gentle weather is not included:)
4. The ArduinoJson library used in the source code will report an error when actually testing version 6.x. Please use version 5.13.5;
5. The puppy LOGO that appears when the computer is turned on during the demonstration of this project can be realized by modifying "zlt.h";
Use the tool PCtoLCD2018 software to prepare a 128*64 bitmap , set it as shown below, generate C code, and copy it into zlt.h:)
Please read the source code comments in detail for other code parts. It can run normally without modification:)
6. The QR code for the network configuration may not appear when the machine is turned on for the first time. Please hold down the Boot button for about 10 seconds and wait for the machine to restart to enter the network configuration mode. If you need to reconfigure the network in the future, please press and hold the Boot button for about 10 seconds to reconfigure the network.
Finally, I attach the actual demonstration renderings. I will not demonstrate the burning process. They are all automatic burning procedures. Anyone who plays 8266 will understand:)
Recently, I am making a board with 8266 spring pins to burn and debug the base . I use spring pins to hold the 8266 module. I don’t need to solder it every time to test it:) Interested friends can follow and like:)
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