IoT desktop ring clock
Function description: 72 WS2812s are used to display the current time. The outer ring is minutes and the inner ring is seconds. Get the weather forecast, date and time through the Tuya module and display it through OLED. In order to avoid frequent access to the server, the MCU uses the built-in RTC clock of STM32 for timing and displays it through WS2812. The MCU obtains the accurate time from the Tuya module at regular intervals to calibrate the internal RTC clock. The MCU obtains the temperature and humidity of the site through the STH30 module and displays it through OLED.
Hardware introduction: 1. Tuya module: The WB3S module communicates with the server, obtains weather forecast, time and date, and uploads the on-site temperature and humidity to the server. 2. Time display: 72 WS2812 are arranged in a circular pattern to display real-time time. 3. OLED: Use a four-line 0.96-inch OLED to display the local weather forecast, on-site temperature, and date. 4. Temperature and humidity module: Use SHT30 to obtain the temperature and humidity of the environment. Since there will be heat when there are multiple ws2812 displays on the board, SHT30 chooses the module that is connected with leads from Lichuang Mall. 5. MCU: STM32F103C8T6 is selected as the main control. Since the chip price exceeds the requirements, the STM32F103C8T6 minimum system board is selected, and a curved needle is used to weld it to the board in the form of a patch.
PCB usage instructions Since the phenomenon board is shared by RT and Tuya activities, the interface between the phenomenon board and the control board is a 20p double-row pin. Many 20p pins are not used and can be changed by yourself.
Video link Bilibili: Video link
Software description 1.github address " program download address . 2. What github shares is the project file. There will be two errors after compilation. You can use it by modifying the corresponding information according to the error message. 3. Due to time reasons, I did not write a detailed usage introduction. You can contact the author QQ: 2328155252 (note: Tuya) for help.
Last two pictures
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