JFET

Using 8266 to drive super mini weather clock

 
Overview

I had a lot of idle stuff when making a thermal printer before, so I made this esp8266 driver 0.91oled weather clock with temperature and humidity sensor and ws2812 light.

 

There are two buttons, a mode button and a ws button.

The mode button can set the OLED to display time, today's weather, weather in the next three days, number of fans, and temperature and humidity sensors.

The ws button can display four modes of lights, among which the white mode can be used as a night light. Of course, you can add remote code such as blinker and other controls yourself.

The 3-pin module used by the temperature and humidity sensor can also be changed to other sensors. After all, it is a slot-type design. Just modify the driver.

 

In order to be as simple as possible, there is no wifi distribution and remote control.

You need to modify the wifi name and password in the program yourself, as well as the weather and other information.

When compiling arduino, the esp8266 development board requires version 3.0 or above, and the library arduinojson requires version 6.0 or above.

 

Completely used 4 boards, 2 base boards, and 2 panels

The sequence is as follows: panel 1 is used as a baffle, substrate 1 is welded with esp12f, battery holder, OLED display, etc., substrate 2 is welded with 4p female header for plugging in the temperature and humidity sensor, and panel 2 is welded with ws2812 lamp.

The corresponding copper pillar specifications are: panel 1 - substrate 1, double-pass copper pillar of 8mm, substrate 1 - substrate 2, single-pass copper pillar of 23mm or above, substrate 2 - panel 2, single-pass copper pillar of 9mm or above.

Screws, 3mm*5mm.

 

 

 

Note on the materials: ws2812 has 6 pins, not 4 pins, you can modify it as needed.

 

Tips: 1. If the button does not work, you can press and hold it because there is a sequence. If you want to turn off and restart the light after it is turned on.

          2. One side of the oled welded can easily become crooked. You can cut the other side with a hot melt glue stick or pad it with other non-conductive things.

          3. Solder the pin header of the OLED. Since the esp12f is a bit thick and there are some capacitors on the back of the OLED, you need to remove the plastic part on the other pin header and install it into one

               The two plastic fixing posts formed on top are just right.

          4. You can adjust the required panels according to your needs. For example, you don’t need the temperature and humidity sensor and ws2812 light panel, or you don’t even need the front panel.

          5. Some signals are transmitted through copper pillars, and nylon pillar materials that are not conductive cannot be used.

 

Regarding power consumption, I used a 1600ma 18650 battery, and the actual test showed no problem in 24 hours of standby. After all, 18650 is much cheaper than lithium batteries and can be replaced with larger capacity batteries as needed.

Or add a clock module yourself and turn off wifi to save power.

 

See HD video: Bilibili Demonstration         

        

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-02 10:48:13

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号