手可摘棉花

Based on STM32L496 smart water cup holder

2022 Digitech Electronic Innovation Design Competition Participation Award Works

 
Overview
This work designs a smart water cup holder that can detect the use status of the water cup and remind users to drink water in time. By connecting to the Alibaba Cloud platform, automatic clock calibration is achieved. You can also set parameters for the water cup holder on the cloud terminal. The main work of this project is to design a beautiful interface that is pleasing to the eye. The other is to connect to Alibaba Cloud to realize cloud sharing and intelligent connection. The hardware uses the STM32L496G-DISCO evaluation board as the main control, and uses a reflective photoelectric sensor RPR-220 to detect whether the cup appears on the cup holder. Connect to Alibaba Cloud through the ESP8266 module, and obtain network time, synchronize water cup status, set parameters and other operations. The hardware block diagram is as follows. The software uses the FreeRTOS system as the basic software platform and uses TouchGFX to design the interface. In standby mode, an analog clock is displayed. If the user does not pick up the water cup after a certain period of time, it will enter the next reminder state. If you drink water before timeout, enter the encouragement state. In the reminder state, the text "It's time to drink water!" is displayed. If the user picks up the water glass, it enters the encouragement state. In the encouraging state, the text "Awesome!" is displayed. If the user puts down the water cup, it enters standby mode. If the user does not put down the water cup for a certain period of time, it will enter the water receiving state. In the water-receiving state, the text "Have you received the water?" is displayed. If the user puts down the water cup, it enters standby mode.
参考设计图片
×

Blockdiagram

Design Files
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-22 23:56:43

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号