STM32-based multifunctional pillow and control circuit

Through the multi-functional pillow and control circuit based on STM32, it integrates functions such as temperature detection, snoring monitoring, heartbeat and breathing radar, etc., solving the problem of single smart pillow product design, realizing automatic temperature adjustment and sleep quality monitoring, and providing personalized sleep aid. Sleep and health monitoring to help users improve sleep quality.

CN118759976AInactive Publication Date: 2024-10-11EAST CHINA UNIV OF TECH

Patent Information

Application Number
CN202410955163.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The smart pillow products on the market have a single design, which cannot effectively protect the health of the cervical spine and improve sleep quality. They cannot meet the multi-functional needs of different users, especially in terms of temperature adjustment, sleep detection and music hypnosis.

Method used

Design a multi-functional pillow and control circuit based on STM32, using STM32F103C8T6 microcontroller as the main control unit, integrating temperature detection, snoring detection, heartbeat and breathing radar, wireless transmission, temperature control, MP3 playback and massage functions, through mobile APP and LCD screen Realize data visualization and user independent control, automatically adjust pillow temperature and massage actions to help users achieve the best sleep state.

Benefits of technology

It realizes automatic pillow temperature adjustment, sleep quality monitoring and snoring suppression, provides personalized sleep aid and health monitoring, and helps users improve sleep quality and reduce the negative impact of snoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759976A_ABST
    Figure CN118759976A_ABST
Patent Text Reader

Abstract

The invention discloses an STM32-based multifunctional pillow and a control circuit, the STM32-based multifunctional pillow comprises a pillow body, massage balls are mounted on the pillow body, and a display screen, a loudspeaker, a state display lamp, a main switch, a control key set and a lifting ball are mounted outside the pillow body; a music playing module, an off-line voice module, a massage motor, a lifting motor, a temperature sensor, a heartbeat and breathing radar, a main control chip, a pressure sensor, a temperature control system, a standby battery and a fan are installed in the pillow body. An STM32F103C8T6 single chip microcomputer is used as a main control unit, the temperature detection circuit is used for detecting the temperature of the pillow, the snore detection circuit is used for monitoring whether a user snores or not, the heartbeat and breathing radar is used for detecting the sleep quality of the user, the data are uploaded to the server through the wireless transmission circuit, and the collected data are visualized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of multifunctional pillows, in particular to a multifunctional pillow and a control circuit based on STM32. Background Art

[0002] Pillows are an important tool for assisting sleep, and they play a vital role in maintaining good health and improving sleep quality. At present, the number of patients with cervical spondylosis and insomnia in my country shows a clear growth trend. With the development of artificial intelligence, the Internet of Things and biosensor technology, smart pillows will face increasingly stringent new technology and multi-functional requirements. However, there are problems such as relatively single product design on the market. In order to protect the health of the cervical spine, improve sleep quality and meet the needs of different users, it is of great practical significance to develop a multifunctional pillow control system that can be highly automatically adjusted, temperature controlled, sleep detected and music hypnotized.

[0003] To this end, we propose a multifunctional pillow and control circuit based on STM32 to solve the above problems. Summary of the invention

[0004] The technical problem solved by the present invention is to propose a multifunctional pillow and control circuit based on STM32, with STM32F103C8T6 single-chip microcomputer as the main control unit, using temperature detection circuit to detect pillow temperature, snoring detection circuit to monitor whether the user snores, heartbeat and breathing radar to detect the user's sleep quality, and upload to the server through wireless transmission circuit, visualize the collected data, and realize the display on the mobile phone APP and LCD screen at the same time. When the indoor temperature is detected to be too high or too low, the pillow can automatically adjust the temperature to provide a comfortable sleeping environment for the user. The user can also control it autonomously according to his own needs through buttons, voice or APP mode, and realize functions such as starting the MP3 music playing circuit to play music, enabling the temperature control circuit to heat or cool the pillow, adjusting the pillow height or controlling the massage to start through the motor drive circuit, so that the user can easily adjust to the best state before going to bed. When the user falls asleep, the heartbeat and breathing detection circuit will determine the user's sleep depth based on the collected data. If the user fails to achieve moderate sleep within a certain period of time, the corresponding songs in the memory card in the MP3 circuit will be automatically played to help the user reduce fatigue and achieve a sleep-aiding effect. Once the snoring detection circuit detects snoring data, the massage motor will produce corresponding actions, prompting the user to adjust the sleeping position to achieve a snoring stop effect, helping the user change the bad habit of snoring, reducing the negative impact caused by snoring, and protecting the user's healthy sleep.

[0005] To achieve the above object, the present invention provides the following technical solution: a multifunctional pillow based on STM32, comprising a pillow body, a massage ball is installed on the pillow body, and a display screen, a speaker, a status display light, a main switch, a control button set, and a lifting ball are installed on the outside of the pillow body;

[0006] The pillow body is internally installed with a music playing module, an offline voice module, a massage motor, a lifting motor, a temperature sensor, a heartbeat and breathing radar, a main control chip, a pressure sensor, a temperature control system, a backup battery, and a fan;

[0007] The lifting motor is connected to the lifting ball, and the massage motor is connected to the massage ball.

[0008] Furthermore, hard board one and hard board two are respectively installed inside the pillow body, and hard board one and hard board two are supported by support rods. The fan and lifting motor are both located between hard board one and hard board two. The shaft of the lifting motor passes through hard board one and is connected to the lifting ball. The hard board one has a notch channel, and the notch channel is connected to the fan.

[0009] Furthermore, a portion of the pillow body located on the upper portion of the hard plate 1 is provided with a plurality of through holes, the hard plate 1 has a cavity inside, and the through holes are interconnected with the cavity inside the hard plate 1.

[0010] Furthermore, a heating module is provided inside the cavity.

[0011] Furthermore, the fans are distributed on both sides of the interior of the pillow body.

[0012] Furthermore, the speakers are distributed on both sides of the surface of the pillow body.

[0013] Another object of the present invention is to provide a control circuit of a multifunctional pillow based on STM32, including a power supply circuit, a low-pass filter circuit, a crystal oscillator circuit, a download circuit, a digital temperature sensor circuit, a heartbeat breathing radar circuit, an STM32F103C8T6 main control chip circuit, a temperature control circuit, a lifting and massage motor drive circuit, a snoring detection circuit, a wireless transmission circuit, a voice control and MP3 playback circuit, a button control circuit, a relay control circuit, an OLED screen display circuit, a pressure detection circuit, a current mode display circuit, and a backup power supply circuit.

[0014] The beneficial effects of the present invention are as follows: the present invention provides a multifunctional pillow and control circuit based on STM32, with STM32F103C8T6 single-chip microcomputer as the main control unit, using temperature detection circuit to detect pillow temperature, snoring detection circuit to monitor whether the user snores, heartbeat and breathing radar to detect the user's sleep quality, and upload to the server through wireless transmission circuit, visualize the collected data, and realize the display on the mobile phone APP and LCD screen at the same time, when the indoor temperature is detected to be too high or too low, the pillow can automatically adjust the temperature to provide a comfortable sleeping environment for the user. The user can also control it autonomously according to his own needs through buttons, voice or APP mode, to realize functions such as starting the MP3 music playing circuit to play music, enabling the temperature control circuit to heat or cool the pillow, adjusting the pillow height or controlling the massage to start through the motor drive circuit, so that the user can easily adjust to the best state before going to bed. When the user falls asleep, the heartbeat and breathing detection circuit will determine the user's sleep depth based on the collected data. If the user fails to achieve moderate sleep within a certain period of time, the corresponding songs in the memory card in the MP3 circuit will be automatically played to help the user reduce fatigue and achieve a sleep-aiding effect. Once the snoring detection circuit detects snoring data, the massage motor will produce corresponding actions, prompting the user to adjust the sleeping position to achieve a snoring stop effect, helping the user change the bad habit of snoring, reducing the negative impact caused by snoring, and protecting the user's healthy sleep. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the overall top view structure of the present invention;

[0016] Figure 2 It is a schematic diagram of the cutaway structure of the present invention viewed from above;

[0017] Figure 3 It is a schematic diagram of the cutaway structure of the present invention from a side view;

[0018] Figure 4 It is a schematic diagram of the F1-F2 circuit structure in the present invention;

[0019] Figure 5 This is a schematic diagram of the F3-F6 circuit structure in the present invention;

[0020] Figure 6 It is a schematic diagram of the structure of the F7 circuit in the present invention;

[0021] Figure 7 It is a schematic diagram of the structure of the F8 circuit in the present invention;

[0022] Figure 8 It is a schematic diagram of the structure of the F9 circuit in the present invention;

[0023] Fig. 9 It is a schematic diagram of the structure of the F10 circuit in the present invention;

[0024] Fig.10 It is a schematic diagram of the structure of the F11-F12 circuit in the present invention;

[0025] Fig.11 It is a schematic diagram of the circuit structure of F13 in the present invention;

[0026] Fig.12 It is a schematic diagram of the structure of the F14-F15 circuit in the present invention;

[0027] Fig.13 It is a schematic diagram of the structure of the F16 circuit in the present invention;

[0028] Fig.14 This is a schematic diagram of the F17-F18 circuit structure in the present invention.

[0029] In the figure: 1. Pillow body; 2. Display screen; 3. Speaker; 4. Massage ball; 5. Lifting ball; 6. Status display light; 7. Main switch; 8. Control button set; 9. Fan; 10. Through hole; 11. Hard board 1; 12. Hard board 2; 13. Support rod; 14. Lifting motor; 15. Heating module. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] like Figure 1-3 As shown, a multifunctional pillow based on STM32 of the present invention comprises a pillow body 1, on which a massage ball 4 is installed, and a display screen 2, a speaker 3, a status display light 6, a main switch 7, a control button set 8, and a lifting ball 5 are installed on the outside of the pillow body 1; a music playing module, an offline voice module, a massage motor, a lifting motor, a temperature sensor, a heartbeat breathing radar, a main control chip, a pressure sensor, a temperature control system, a backup battery, and a fan 9 are installed inside the pillow body 1; the lifting motor is connected to the lifting ball 5, and the massage motor is connected to the massage ball 4.

[0032] It uses the STM32F103C8T6 microcontroller as the main control unit, uses the temperature detection circuit to detect the pillow temperature, the snoring detection circuit to monitor whether the user snores, and the heartbeat and breathing radar to detect the user's sleep quality. It is uploaded to the server through a wireless transmission circuit, and the collected data is visualized, and displayed on the mobile phone APP and the LCD screen at the same time. When the indoor temperature is detected to be too high or too low, the pillow can automatically adjust the temperature to provide users with a comfortable sleeping environment. Users can also control it autonomously through buttons, voice or APP according to their own needs, such as starting the MP3 music playback circuit to play music, enabling the temperature control circuit to heat or cool the pillow, adjusting the pillow height through the motor drive circuit or controlling the massage to start, so that users can easily adjust to the best state before going to bed. When the user falls asleep, the heartbeat and breathing detection circuit will determine the user's sleep depth based on the collected data. If the user fails to achieve moderate sleep within a certain period of time, the corresponding songs in the memory card in the MP3 circuit will be automatically played to help the user reduce fatigue and achieve a sleep-aiding effect. Once the snoring detection circuit detects snoring data, the massage motor will produce corresponding actions, prompting the user to adjust the sleeping position to achieve a snoring stop effect, helping the user change the bad habit of snoring, reducing the negative impact caused by snoring, and protecting the user's healthy sleep.

[0033] For the above, the interior of the pillow body 1 is respectively installed with a hard board 11 and a hard board 2 12, and the hard board 11 and the hard board 2 12 are supported by a support rod 13. The fan 9 and the lifting motor 14 are both located between the hard board 11 and the hard board 2 12. The shaft of the lifting motor 14 passes through the hard board 11 and is connected to the lifting ball 5. The hard board 11 has a notch channel, and the notch channel is connected to the fan 9. The part of the pillow body 1 located at the upper part of the hard board 11 is provided with a plurality of through holes 10, and the hard board 11 has a cavity, and the through holes 10 are interconnected with the cavity in the hard board 11. When the fan 9 is turned on, wind enters the cavity of the hard board 11, and the cavity distributes the wind and discharges it from each through hole 10, so that the wind emitted from the pillow is evenly distributed, rather than only the place corresponding to the position of the fan 9 being cooled. Similarly, the heating module 15 in the cavity also dissipates heat evenly. The heating module 15 is a prior art, such as electric heating, and the heating module 15 is not described in detail in this case.

[0034] In addition, the speakers 3 are distributed on both sides of the surface of the pillow body 1, so that the speakers 3 correspond to the ear parts.

[0035] See also Figure 4-14The present invention also provides a control circuit of a multifunctional pillow based on STM32, including a power supply circuit F1, a low-pass filter circuit F2, a crystal oscillator circuit F3, a download circuit F4, a digital temperature sensor circuit F5, a heartbeat and breathing radar circuit F6, an STM32F103C8T6 main control chip circuit F7, a temperature control circuit F8, a lifting and massage motor drive circuit F9, a snoring detection circuit F10, a wireless transmission circuit F11, a voice control and MP3 playback circuit F12, a button control circuit F13, a relay control circuit F14, an OLED screen display circuit F15, a pressure detection circuit F16, a current mode display circuit F17, and a backup power supply circuit F18.

[0036] In the above circuit, U1 is L7805CV positive voltage regulator, U2 is 1117-5 voltage regulator, U3 is DS18B20 digital temperature sensor module, U4 is R60ABD1 heartbeat and breathing radar circuit, U5 is STM32F103C8T6 control chip, U6 and U7 are BTS7960 dual-bridge driver chip, U8 is TEC1-12706 semiconductor circuit, U9 is TB6612FNG motor driver circuit, U10 is ESP8266 wireless transmission circuit, U11 is SU-03T voice control module, U12 is MP3 music player, U13 is control relay, U14 is OLED screen display circuit, U15 is pressure sensor, MA1 and MA2 are lifting motors, MB1 and MB2 are massage motors, and MI C1 and MI C2 are both lifting motors. C2 is a snoring receiving microphone, SPK1 is a speaker, X1 and X2 are crystal oscillators, D1 to D6 are diodes, SW1 is a self-locking switch, SW2, SW3, SW4 are buttons, BAT1 is a battery, H3 and H4 are operational amplifiers, Q1 is an NPN transistor, C1 to C34 are capacitors, and R1 to R34 are resistors.

[0037] PC14, PC15 and PD0, PD1 of the main control chip STM32F103C8T6 are connected to the two ends of the crystal oscillator X1 and X2 respectively, PA0 is connected to the signal input terminal OLED_CONTROL of the relay control circuit that controls the OLED switch, PA1 is connected to the DQ of the DS18B20 digital temperature sensor, PA2 and PA3 are connected to the RX and TX of the R60ABD1 heartbeat and breathing radar circuit respectively, PA4, PA5, PA6 and PB4, PB5, PB6 are connected to the AI ​​N1, AI N2, PWMA and BI N1, BI of the TB6612FNG motor drive circuit respectively N2 and PWMB are connected, PA7 is connected to the output terminal MIC of the snoring detection circuit, PA11 to PA13 are respectively connected to LED1 to LED3 of the current mode display circuit, PB0, PB1, PB2 are connected to CONTROL, TEC_PWM, TEC_MODE of the temperature control circuit, PB10 is connected to RXD of the MP3 music player, PB11 is connected to TXD of the SU-03T voice control module, PB7 is connected to PRESSURE of the pressure detection circuit, PB8 and PB9 are respectively connected to the SCL and SDA terminals of the OLED module, PA9 and PA10 are respectively connected to RXD0 and TXD0 of the exp8266 wireless transmission chip and TX and RX of the download circuit, PB12 to PB15 are connected to KEY1 to KEY4 of the key control circuit, the 12V power supply is connected to the self-locking switch SW1, and the backup battery is connected to BAT1.

[0038] The multifunctional pillow based on STM32 is powered on by pressing a button first, and then the whole system is initialized, including initializing the digital temperature sensor circuit, initializing the heartbeat and breathing radar circuit, initializing the snoring detection circuit, initializing the lifting and massage motor drive circuit, initializing the wireless transmission circuit, initializing the OLED initialization screen display circuit, initializing the voice control circuit and the MP3 playback circuit, and initializing the main control chip. Then the whole system starts to run, the main control chip starts to work normally, the temperature detection circuit starts to detect the pillow temperature, the pressure detection circuit starts to detect whether the user lies down, when the user lies down, the snoring detection circuit starts to monitor whether the user snores, and the heartbeat and breathing radar starts to detect the user's sleep quality. The data is uploaded to the server through the wireless transmission circuit for visualization. At this time, the corresponding data can be viewed through the mobile phone APP. When the indoor temperature is too high or too low, the pillow will automatically adjust the temperature using the temperature control circuit. If the user still fails to reach the corresponding heartbeat and breathing standard for moderate sleep within a certain time range, the corresponding music in the memory card in the MP3 circuit will be automatically played. When the system detects that the user is snoring, the massager built into the pillow will start to massage, prompting a change in sleeping posture. In addition, personalized operations can be performed through buttons, voice or APP, such as lighting up the OLED screen, playing music, heating or cooling the pillow, adjusting the pillow height, and starting massage.

[0039] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A multifunctional pillow based on STM32, comprising a pillow body (1), a massage ball (4) being mounted on the pillow body (1), characterized in that: The pillow body (1) is externally provided with a display screen (2), a speaker (3), a status display light (6), a main switch (7), a control button set (8), and a lifting ball (5); The pillow body (1) is internally installed with a music playing module, an offline voice module, a massage motor, a lifting motor (14), a temperature sensor, a heartbeat and breathing radar, a main control chip, a pressure sensor, a temperature control system, a backup battery, and a fan (9); The lifting motor is connected to the lifting ball (5), and the massage motor is connected to the massage ball (4).

2. The multifunctional pillow based on STM32 according to claim 1, characterized in that: The pillow body (1) is provided with a hard plate one (11) and a hard plate two (12) inside, respectively. The hard plate one (11) and the hard plate two (12) are supported by a support rod (13). The fan (9) and the lifting motor are both located between the hard plate one (11) and the hard plate two (12). The shaft of the lifting motor passes through the hard plate one (11) and is connected to the lifting ball (5). The hard plate one (11) is provided with a notch channel, and the notch channel is connected to the fan (9).

3. The multifunctional pillow based on STM32 according to claim 2 is characterized in that: The pillow body (1) is provided with a plurality of through holes (10) in the upper part of the hard plate (11), the hard plate (11) has a cavity inside, and the through holes (10) are interconnected with the cavity inside the hard plate (11).

4. The multifunctional pillow based on STM32 according to claim 3 is characterized in that: A heating module (15) is provided inside the cavity.

5. The multifunctional pillow based on STM32 according to any one of claims 1-2, characterized in that: The fans (9) are distributed on both sides of the interior of the pillow body (1).

6. The multifunctional pillow based on STM32 according to claim 1, characterized in that: The loudspeakers (3) are distributed on both sides of the surface of the pillow body (1).

7. A control circuit of a multifunctional pillow based on STM32 as claimed in any one of claims 1 to 6, characterized in that: It includes power supply circuit, low-pass filter circuit, crystal oscillator circuit, download circuit, digital temperature sensor circuit, heartbeat and breathing radar circuit, STM32F103C8T6 main control chip circuit, temperature control circuit, lifting and massage motor drive circuit, snoring detection circuit, wireless transmission circuit, voice control and MP3 playback circuit, button control circuit, relay control circuit, OLED screen display circuit, pressure detection circuit, current mode display circuit and backup power supply circuit.

Citation Information

Patent Citations

  • Intelligent pillow sleep aiding system and control method thereof

    CN109044273A

  • Multifunctional pillow control system

    CN110464306A

  • Multi -functional medical treatment and health protection pillow

    CN205433071U

  • Multifunctional pillow

    CN210902425U

Cited By

  • Sleep quality monitoring and early warning system and method based on block chain

    CN119113333A

  • A sleep quality monitoring and early warning system and method based on blockchain

    CN119113333B