张小哥

[New version-tested successfully]NTP clock-1 inch version

 
Overview

The current project is for a 1-inch digital tube. Click here to go to the 3-inch large-screen version project.

Warm reminder: It is recommended to choose a 0.8mm thick PCB. If it is thicker, the DC holder will be pushed up, causing the shell to tilt up, which is very unsightly.

B station video

CSDN

Function
  1. Light control function: the brightness of the digital tube changes with changes in external brightness
  2. Temperature and humidity detection function: You can view real-time temperature and humidity and historical temperature and humidity on the Blinker APP
  3. The first digit does not display "0" function: When the first digit of the digital tube is "0", it is not displayed by default (for example: when it is eight o'clock in the morning, only "8:00" is displayed instead of "08:00"
  4. Alarm clock function: Please see video 2 for the setting method. Press the button to turn it off, or wait for it to sound a certain number of times to automatically turn off (the alarmCountMax variable can be changed in the program, the default is 30)
  5. Mobile phone network distribution function: see here for details (not included in the main program, but in the attachment, you can paste it into the main program by yourself)
  6. RTC real-time clock function: RTC time is usually used, and NTP time is updated once a day to ensure accuracy and not occupy too much NTP server resources.
  7. Digital tube automatic switching function: displays year, month, day, temperature and humidity every two minutes. Functions such as countdown to high school and college entrance examinations will be added in the future. It is recommended to collect it.

The shell is made of a male model, link to a certain treasure

The network distribution function has been packaged in the attachment. If you need to add the network distribution function, you can paste the routine into the main program by yourself.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-24 20:37:18
  • I feel sorry for a certain treasure technology seller
  • About the serial port problem in TCC7901_bsp2.2
  • Insert node in interrupt service routine
  • Interface application design of USB interface device PDIUSBD12
  • Newcomer (self-introduction)
  • About STM32F102/103 USB module and USB library function

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号