ohahaha

【CW32】Self-discipline timer

 
Overview
A self-discipline timer based on cw32f030c8t6 (although the drawing is a brushless motor controller, I also reserved its second function-self-discipline timer). Since the brushless motor control project has not been completed yet, let’s take advantage of its timer function now. This timer is used to set the time during your own learning process, so that you can stay away from the temptation of mobile phones. The timer mainly has two types of timing times, namely study time and rest time. Their timing times can be set separately to improve the efficiency of learning. According to my habits, the study time is scheduled to be 50 minutes and the rest time is 10 minutes. There will be a longer break-like time in the middle. This can be adjusted according to your own habits, and during the long rest time, the screen will Turn off (except for displaying the scheduled time), this is also to save power. Let’s quickly demonstrate the working process of this timer: 1. First, the learning time is set to 2 minutes, the rest time is set to 1 minute, and the long break time is set to 1 minute (the word “rest” will not be displayed during this process). 2. Turn on the power and press the reset button. A pattern will move from left to right. Once this process is completed, it will enter the learning timing state. 3. If there is an urgent matter that needs to be handled, you can press the first button in the upper left corner of the PCB board to stop the timing. After the event is processed and you want to continue studying, you can press the button again and continue the timing. 4. The buzzer will sound every time it is study time and rest time to remind me whether I should study or rest. 5. In order to demonstrate quickly in the video, I accelerated the timing time by 10 times. 6. The top line of the OLED screen is the time, with hours displayed on the left, minutes displayed in the middle, and seconds displayed on the right. You can watch the video in the attachment for the demonstration process.WeChat picture_20220615110321.jpgWeChat picture_20220615110310.jpgWeChat picture_20220615174906.jpgWeChat picture_20220615174917.jpg
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-04 07:05:11

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号