Intelligent cup base control system

By using the combination of STC89C52 microcontroller and temperature sensor in the intelligent water cup system, the intelligent cup holder control system is designed, which solves the problems of complex circuits, large size, high cost and easy damage in the existing system, and realizes regular reminders and water temperature control to ensure the safety and reliability of the system.

CN119689916APending Publication Date: 2025-03-25XIAN TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311240701.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing intelligent water cup system circuit design is complex, large in size, high in cost, and is prone to damage due to accidental water leakage, and it is impossible to effectively remind drinking water regularly and control the water temperature.

Method used

A smart cup holder control system is designed, using the STC89C52 microcontroller combined with a temperature sensor, and the timing reminder and water temperature control are achieved through the combination of control module, display module, temperature acquisition module, power module, reminder module and clock and reset module.

Benefits of technology

It realizes a smart cup holder control system with practical functions, simple structure and low working voltage, ensuring safety and environmental protection, and quickly recovering in abnormal situations, improving the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689916A_ABST
    Figure CN119689916A_ABST
Patent Text Reader

Abstract

The invention relates to the field of single chip microcomputer technology and circuit design, in particular to an intelligent cup base control system which comprises a control unit, a display module, a temperature acquisition module, a power module, a reminding module and a clock and reset module. The control module is respectively connected with the display module, the temperature acquisition module, the power supply module, the reminding module, the clock and the reset module, the key module is used for setting a drinking water temperature interval and a time interval suitable for a user to drink, and the temperature acquisition module is used for acquiring cup bottom water temperature; the reminding module is used for reminding the user to drink water when the water temperature is within the preset temperature interval and the drinking interval exceeds the preset time interval. Specific circuit connection is disclosed, a single-chip microcomputer and a temperature sensor are matched, people are reminded to drink water regularly, the suitable drinking water temperature interval and time interval can be preset, the function is practical, the structure is simple, the working voltage is low, no harm is caused to the human body, and safety and environmental protection are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of single chip microcomputer technology and circuit design, and specifically discloses an intelligent cup holder control system. Background Art

[0002] Drinking water regularly is a good habit, but in real life, most people will only consciously drink water after they feel thirsty. However, the suitable temperature for drinking water is different for each person, and even the temperature requirements for drinking water in different solar terms are not the same. In the current fast-paced life, few people have enough time to manage their drinking time or wait for the temperature of drinking water to naturally drop to a temperature suitable for them. The existing technology usually provides a smart water cup to realize the reminder function, and its research is usually based on monitoring the water volume and water temperature to remind users to drink water. Now there is also a structural design that provides a coaster to monitor the temperature. The coaster is embedded with a single-chip microcomputer to realize the monitoring and reminder functions, but the existing circuit design is relatively complicated and usually needs to be connected to other smart devices with a management system, so it is large in size and high in cost. At the same time, during use, due to accidental leakage and other situations, the circuit will fail and be easily damaged. Summary of the invention

[0003] The purpose of the present invention is to provide an intelligent cup holder control system for regularly reminding people to drink water and controlling the water temperature within a suitable temperature.

[0004] The technical solution of the present invention is:

[0005] An intelligent cup holder control system includes a control unit, a display module, a temperature acquisition module, a power module, a reminder module and a clock and reset module;

[0006] The control module is respectively connected to the display module, the temperature acquisition module, the power module, the reminder module, and the clock and reset module; the button module is used to set the drinking water temperature range and time interval suitable for the user; the temperature acquisition module is used to collect the water temperature at the bottom of the cup; and the reminder module is used to remind the user to drink water when the water temperature is within the preset temperature range and the drinking interval exceeds the preset time interval.

[0007] Furthermore, the control module adopts an STC89C52 single-chip microcomputer, the P0 pin of the STC89C52 single-chip microcomputer is connected to the display module, the P1 pin of the STC89C52 single-chip microcomputer is connected to the reminder module, the P2 pin of the STC89C52 single-chip microcomputer is connected to the temperature acquisition module, the P3 pin of the STC89C52 single-chip microcomputer is connected to the key module, and the pins XTAL1 and XTAL2 of the STC89C52 single-chip microcomputer are connected to the two ends of the crystal oscillator of the clock and reset module.

[0008] Furthermore, the power module adopts an adjustable three-terminal positive voltage regulator LM317, and sets the output voltage through two external resistors to provide a current of 5mA-1.5A in the range of 1.2V to 37V.

[0009] The beneficial effects of the present invention are:

[0010] 1. The intelligent cup holder control system provided by the present invention discloses a specific circuit connection, and is matched with a single-chip microcomputer and a temperature sensor to realize a timed reminder for people to drink water and can preset a suitable drinking water temperature range and time interval. It has practical functions, a simple structure, and a low operating voltage, and will not cause harm to the human body. It is safe and environmentally friendly.

[0011] 2. The present invention also provides a clock and reset module, uses quartz crystal, semiconductor devices and resistor-capacitor elements together, and designs a crystal oscillator circuit, which is used to generate the original clock frequency and provide a basic clock signal for the system. The reset circuit can allow the circuit to quickly return to the initial state under abnormal conditions (such as water leakage) to ensure stable and reliable operation of the circuit.

[0012] 3. The smart cup holder circuit of the present invention will compare the water temperature collected on site with the preset water temperature range. In order to enhance the interest of the invention, multiple reminder methods can be set, and the reminder method will be selected according to the comparison results to remind people to drink water. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a system architecture diagram of the present invention.

[0014] Figure 2 It is a circuit connection diagram between the display module and the single-chip microcomputer in the embodiment.

[0015] Figure 3 : is a circuit connection diagram between the temperature acquisition module and the single-chip microcomputer in the embodiment.

[0016] Figure 4 : is a circuit connection diagram between the power module and the single-chip microcomputer in the embodiment.

[0017] Figure 5 4 is a circuit connection diagram between the reminder module and the single-chip microcomputer in the embodiment.

[0018] Figure 6 4 is a circuit connection diagram between the clock and reset module and the single-chip microcomputer in the embodiment. DETAILED DESCRIPTION

[0019] The technical solution of the present invention will be further described clearly and completely below in conjunction with the embodiments and drawings. Obviously, the described embodiments are only a part of the present invention, not all embodiments. Based on the described embodiments, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0020] like Figure 1 As shown, a smart cup holder control system includes a control module, a display module, a temperature acquisition module, a power module, a reminder module and a clock and reset module; the control unit is connected to the display module, the temperature acquisition module, the power module, the reminder module, the clock and reset module respectively, the button module is used to set the drinking water temperature range and time interval suitable for the user to drink, the temperature acquisition module is used to collect the water temperature at the bottom of the cup, and the reminder module is used to remind the user to drink water when the water temperature is within the preset temperature range and the drinking interval exceeds the preset time interval;

[0021] Example:

[0022] (1) Control module

[0023] In this embodiment, the control module uses the low-power 8-bit CMOS 8-bit single-chip microcomputer independently developed by STC, and uses 8K bytes of programmable Flash memory. STC89C52 uses the classic MCS-51 core, but after many improvements, it can achieve performance that 51 microprocessors do not have. STC89C52 has the following standard features: 8k bytes of Flash, 512 bytes of RAM, 32-bit I / O port lines, snooping dog timer, 4KB EEPROM, MAX810 reset, 3 16-bit timers / counters, 4 external interrupts, 7 vector 4-segment interrupts, and full-duplex serial interface. In addition, STC89C52 can also be reduced to 0Hz static operation and can provide 2 optional energy-saving modes. In idle state, the CPU will automatically shut down, allowing memory, counters, serial ports, and interrupts to continue working. Disconnect the power mode, store the data in the RAM, put its oscillator in a frozen state, and interrupt all MCU operations; until the next fault or reset. The maximum operating frequency is 35MHz, 6T / 12T optional.

[0024] (2) Display module

[0025] The LCD display unit circuit designed in this embodiment mainly displays the collected temperature. When the water temperature is not within the suitable drinking temperature range, it replaces the high and low temperature reminder to let the user know the water temperature at the time. And it allows the user to visually set the water temperature range to make the temperature range more accurate. After the display unit is powered on, the interface will display the current collected temperature. When the button is pressed for related operations, the display screen will display in real time. The circuit connection is as follows Figure 2As shown, the P0 pin of the STC89C52 microcontroller is connected to the display module, where P0.0 is connected to the LCD LM0161 D0 pin, P0.1 is connected to the LCD LM0161 D1 pin, P0.2 is connected to the LCD LM0161 D2 pin, P0.3 is connected to the LCD LM0161 D3 pin, P0.4 is connected to the LCD LM0161 D4 pin, P0.5 is connected to the LCD LM0161 D5 pin, P0.6 is connected to the LCD LM0161 D6 pin, and P0.7 is connected to the LCD LM0161 D7 pin.

[0026] (3) Temperature acquisition module

[0027] The temperature acquisition module of this embodiment uses the DS18B20 temperature sensor. The DS18B20 temperature sensor can provide data with less volume and cost, has good anti-interference and high accuracy, and has good connection performance. The main function of this module is to use the temperature sensor to measure the temperature at the bottom of the cup, so as to obtain the real temperature of the cup. The circuit connection is as follows Figure 3 As shown, the P1 pin of the STC89C52 microcontroller is connected to the LS1 of the reminder module and the anodes of D1 to D4, and the P2 pin of the STC89C52 microcontroller is connected to the temperature acquisition module. The P2.5 of the STC89C52 microcontroller is connected to the DQ interface of the temperature sensor.

[0028] (4) Power module

[0029] The single-chip microcomputer requires a stable and reliable DC power supply to work properly. Under normal circumstances, the operating voltage of the single-chip microcomputer is 3.3V or 5V. When designing the power supply circuit, it is necessary to select a suitable voltage stabilizing device to ensure the stability and reliability of the output DC voltage and avoid overload and short circuit. The present invention selects the LM317 adjustable three-terminal positive voltage regulator, which can provide a current of more than 5mA-1.5A when the output voltage range is 1.2V to 37V, and only two external resistors are needed to set the output voltage. In addition, overcurrent and over-temperature protection functions are set inside the chip to prevent the chip from burning out. It has the advantages of a wide voltage regulation range, good voltage stabilization performance, low noise, and high ripple suppression ratio. It can power the single-chip microcomputer and other chips with a supply voltage within this range. The circuit connection is as follows Figure 4 shown.

[0030] (5) Reminder module

[0031] The reminder unit designed in this embodiment reminds the user to drink water in time when the water temperature is within the suitable drinking range, and no longer has the function of responding to water temperature being too high or too low. Because the voltage output from the input end of the single-chip microcomputer is too low to make the buzzer sound, an amplifier must be added. The use of active buzzer adopts automatic vibration power supply, which is more flexible. The circuit connection is as follows Figure 5 shown.

[0032] (6) Button module

[0033] The function of the key unit is to enable the user to manually set the drinking water temperature range according to their drinking habits. The function of the key unit is to enable the user to manually set the drinking water temperature range according to their drinking habits. The P3 pin of the STC89C52 microcontroller is connected to the key module, wherein P3.1 is connected to key 1, P3.2 is connected to key 2, and P3.3 is connected to key 3.

[0034] (7) Clock and reset module

[0035] This embodiment uses quartz crystal, semiconductor devices and resistor-capacitor elements together to design a crystal oscillator circuit, which is used to generate the original clock frequency and provide a basic clock signal for the system. Since STC89C52 is a timing chip, and STC89C52 uses a square wave signal with a frequency lower than 12MHz. However, abnormal conditions will inevitably occur during the operation of the system, which will cause the system to fail to work. Therefore, the present invention designs a reset circuit to allow the circuit to return to the initial state under abnormal conditions to ensure that the circuit works stably and reliably. The circuit connection is as follows: Figure 6 As shown, the RST reset input terminal of the STC89C52 microcontroller is connected to the resistor R1 and the capacitor C3, the pin XTAL1 is connected to the 1 end of the crystal oscillator, and the pin XTAL2 is connected to the 2 end of the crystal oscillator.

Claims

1. An intelligent cup holder control system, characterized in that: It includes a control unit, a display module, a temperature acquisition module, a power module, a reminder module and a clock and reset module; The control module is respectively connected to the display module, the temperature acquisition module, the power module, the reminder module, and the clock and reset module; the button module is used to set the drinking water temperature range and time interval suitable for the user; the temperature acquisition module is used to collect the water temperature at the bottom of the cup; and the reminder module is used to remind the user to drink water when the water temperature is within the preset temperature range and the drinking interval exceeds the preset time interval.

2. The intelligent cup holder control system according to claim 1, characterized in that: The control module adopts an STC89C52 single-chip microcomputer, the P0 pin of the STC89C52 single-chip microcomputer is connected to the display module, the P1 pin of the STC89C52 single-chip microcomputer is connected to the reminder module, the P2 pin of the STC89C52 single-chip microcomputer is connected to the temperature acquisition module, the P3 pin of the STC89C52 single-chip microcomputer is connected to the key module, and the pins XTAL1 and XTAL2 of the STC89C52 single-chip microcomputer are connected to the two ends of the crystal oscillator of the clock and reset module.

3. The intelligent cup holder control system according to claim 2, characterized in that: The power module adopts an adjustable three-terminal positive voltage regulator LM317, and sets the output voltage through two external resistors to provide a current of 5mA-1.5A in the range of 1.2V to 37V.