桂花蒸

Mimic Glow Clock_Control Panel

 
Overview

ESP8266 pseudo-glow clock.

Inspired by official works: https://oshwhub.com/OSHWHubkai-yuan-ying-jian/esp8266-ws2812b-ni-hui-guang-guan

And CrazySuiJi’s unframed works: https://oshwhub.com/CrazySuiJi/ni-hui-guang-guanmini-wu-tong-zhu-ban

 

Do 3D first:

Probably like this

Then start drawing the 2D drawing:

Probably like this

Determine main functions

Main hardware: 1. 8266 connects to WIFI

                   2. IP5306 power management (in fact, 4056 and 5056 are more suitable, IP5306 is not used for external discharge at all)

                   3.WS2812

                   4. Polymer battery 603779, C port can charge and download at the same time.

 

 

Then roll the board:

Probably like this

This is my first time using 8266. My level is limited and I didn’t want to learn coding.

After looking at Lichuang's official website, it seems that they only provide firmware. CrazySuiJi provides .INO, but I don't know how to use ARDUINO.

Then eat the SDK.

I worked on it intermittently for 2 weeks and mainly achieved

1. WeChat distribution network

2. SNTP automatically reads network time

3. Driving light group

4. Press the button to switch colors

5. Realize the flow effect of CrazySuiJi

 

After finishing the code, inject the soul

Probably like this

 

After powering on, 8266 tries to connect to the Internet according to the last WIFI configuration. If it fails, it enters listening mode and waits for network configuration. The light displays 6 0s. At this time, scan the QR code behind WeChat

Something like this:

 

Follow the prompts to configure the network and wait for the network configuration to be successful. After the network is successfully configured, the number plate flashes from 9 to 0 in sequence, and then the time starts to display normally.

Something like this:

 

 

The DXF file has been attached

The video has been attached

After finishing the firmware, add attachments

 

Light board project link: https://oshwhub.com/WIGWAG/ni-tai-hui-guang-zhong

 

Finally: This project is released based on the GPL 3.0 agreement. Secondary developers are required to make it open source and free under the same open source agreement and cannot be used for commercial purposes.

 

#Added on July 8, 2021:

 

An accidental discovery is that a git master has streamlined the Python3 parser, cut out some libraries and transplanted it to the embedded platform. It is called MicroPython, and 8266 is one of the officially supported sons.

git connection: https://github.com/micropython/micropython

 

As a pure hardware engineer who talks about python every day but doesn’t know anything about it, let’s try MicroPython.

By chance, I got the information of a certain studio. Let’s use the V1.11 version of the micropython firmware. The latest version on the official website is V1.16.

Official website link http://www.micropython.org/download/esp8266/

 

Micropython firmware download, python tutorials are available online, I won’t go into details.

There is a quick reference for reference: http://docs.micropython.org/en/latest/esp8266/quickref.html#networking

 

I did it back and forth for almost a week.

I only have one experience. The indentation must be standardized. I was stuck for a whole day because of one space. I was so fucked. . .

 

Currently, NTP synchronization time, WS2812 driver, breathing effect, key switching, video has been uploaded, and source files have been uploaded to attachments.

MicroPython currently does not have a particularly good one-click network configuration solution. Friends who need DIY can modify the source code by themselves.

 

The one-click network configuration firmware of the SDK needs to be improved a bit, I originally wanted to polish it. But, I just picked up Python.

 

Python is the best in the world

 

 

 

      

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-08 20:49:58

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号