Code Monkey home page Code Monkey logo

esp8266_weather_clock's Introduction

esp8266_weather_clock

esp8266 的一个增改他人的 天气时钟 固件程序

设备图

web控制端

字体字库

本程序的硬件及软件均基于ESP8266太空人天气时钟,硬件及软件开源地址:https://oshwhub.com/nanxiangxiao/tai-kong-ren-shi-zhong_copy

软件增加功能:

  1. 增加自动配置wifi网络功能(基于esp的smartconfig库)。手机端使用espTouch 软件app可以配置esp8266的wifi网络参数。
  2. 增加wifi参数保存功能(基于esp的eeprom库)
  3. 增加了一个黑色背景的gif动画(一个跑步的小老头),和源程序中自带的4种动画(白色背景),一共5个动画,可以配置使用哪个动画显示
  4. 增加httpserver功能:通过http可以修改设置动画的类型,还可以通过http升级固件(http://ip/update)
  5. 增加OTA升级功能,可通过OAT进行固件烧录
  6. 增加mqtt功能。通过mqtt消息广播设置显示动画的类型
  7. 增加了一个DHT11的温湿度传感器,占用urat0 的RX端口收发数据。可以获取到实时的温湿度数据
  8. 修改了字体,增加了几个原来字体中没有的字

字体修改教程参照:https://www.bilibili.com/read/cv14663437

使用的工具都放到了src/tools 目录下


原硬件的小问题:

  • 屏幕的LEDK(led阴极)引脚直接接地,导致屏幕亮度最大,而且无法调节屏幕背光亮度。使用起来功耗较大而且屏幕晚间比较刺眼;改进:参照屏幕说明书电路可以实现程序控制调节背光亮度
  • 硬件发热量较大,尤其是屏幕、esp8266屏蔽罩、asm1117三部分的热量较高,去掉屏幕后温度马上正常。
  • 有几个未用到达GPIO(IO4、IO5、IO12)口最好能通过排针引出来,方便后面的扩展

esp8266_weather_clock's People

Contributors

walkingsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.