Health monitoring side end equipment based on ESP32 and nRF52832
By using two nRF52832 chips and one ESP32 chip in the health monitoring bracelet to separate the Bluetooth and WiFi communication modules, the problem of insufficient memory and interference of the communication module is solved, the performance and user experience of the device are improved, and the connection capability is enhanced. Battery life.
Patent Information
- Application Number
- CN202420992491.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2034-05-09
AI Technical Summary
The existing health monitoring bracelet is difficult to connect to multiple devices due to the limited memory of the ESP32 chip. The integration of Bluetooth and WiFi communication modules in the same chip leads to difficulty in interference and function expansion, affecting system performance and stability.
Two nRF52832 chips are used to realize the Bluetooth communication module respectively, and the WiFi communication module is implemented with the ESP32 chip. The communication module is separated to avoid interference, improve system resource allocation and performance stability, and increase function expansion and firmware upgrade flexibility.
It improves the performance and user experience of the monitoring bracelet, enhances the connection ability to multiple devices, extends the battery life of the device, solves the problems of insufficient memory and stability, and is suitable for indoor data transmission and reception scenarios.
Smart Images

Figure CN222263029U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of health monitoring, and in particular to a health monitoring edge device based on ESP32 and nRF52832. Background Art
[0002] In order to keep track of the health status of the elderly, an efficient device is needed to send and receive human physiological, behavioral and location data, and then detect the health status of the elderly in real time. The edge device is a transmission channel for two-way communication of data between the terminal device and the cloud platform. Efficient edge devices are an important part of the health monitoring system.
[0003] Existing monitoring bracelets use ESP32 chips to implement Bluetooth communication and WiFi communication. Due to the limited memory of ESP32, the number of connected slaves is small when used alone as a Bluetooth host, which may limit the performance of the monitoring bracelet when connecting to multiple devices. This limitation may affect the flexibility and functional expansion capabilities of the monitoring system. In the prior art, Bluetooth communication and WiFi communication modules are implemented by the same chip, which may cause interference between the two communication technologies and affect the overall performance and stability of the system. The communication modules in the prior art are integrated in the same chip, which may make functional expansion and firmware upgrades difficult, which limits the further development and optimization of the monitoring bracelet system. Utility Model Content
[0004] The purpose of the utility model is to solve the technical problems existing in the prior art in connecting multiple devices, insufficient memory, system stability and flexibility, and to propose a health monitoring edge device based on ESP32 and nRF52832 to improve the performance and user experience of the monitoring bracelet.
[0005] In order to achieve the above purpose, the technical solution provided by the utility model is:
[0006] A health monitoring edge device based on ESP32 and nRF52832 is used to realize two-way data communication between a cloud platform and a terminal device. The device comprises a WiFi communication module, a Bluetooth communication module and a power supply module. The WiFi communication module is connected to the cloud platform for communication, and the Bluetooth communication module is connected to the terminal device for communication. The Bluetooth communication module comprises two nRF52832 chips, namely a first nRF52832 chip and a second nRF52832 chip. The WiFi communication module comprises an ESP32 chip, and the ESP32 chip is connected to the first nRF52832 chip and the second nRF52832 chip respectively. The power supply module is connected to the WiFi communication module and the Bluetooth communication module respectively.
[0007] Further, pin 13 of the ESP32 chip is connected to pin 9 of the first nRF52832 chip, pin 14 of the ESP32 chip is connected to pin 10 of the first nRF52832 chip, pin 16 of the ESP32 chip is connected to pin 11 of the first nRF52832 chip, pin 23 of the ESP32 chip is connected to pin 12 of the first nRF52832 chip, pin 37 of the ESP32 chip is connected to pin 9 of the second nRF52832 chip, pin 31 of the ESP32 chip is connected to pin 10 of the second nRF52832 chip, pin 30 of the ESP32 chip is connected to pin 11 of the second nRF52832 chip, and pin 29 of the ESP32 chip is connected to pin 12 of the second nRF52832 chip.
[0008] Compared with the prior art, the utility model has the following significant advantages: the utility model separates the Bluetooth communication module and the WiFi communication module into two chips for implementation respectively, and only uses the ESP32 chip to implement the WiFi communication function, while using the nRF52832 chip to implement the Bluetooth communication function. In this way, the ESP32 chip and the nRF52832 chip can better allocate system resources, avoid interference between the two communication technologies, and improve the overall performance and stability of the system; the use of independent WiFi communication modules and Bluetooth communication modules can more flexibly expand and upgrade functions, and it is convenient to add sampling modules of other data in the nRF52832 chip, which is convenient for Different modules can be selected or firmware can be updated according to actual needs, making the monitoring bracelet more scalable and flexible; at the same time, the utility model can better optimize power consumption, flexibly control the working status of each communication module according to actual needs, extend the battery life of the device to optimize power consumption, and make the monitoring bracelet more durable during long-term monitoring and communication; the Bluetooth communication module uses two nRF52832 chips to increase the number of connected terminal devices, avoid the problem of insufficient ESP32 memory, and enable the monitoring bracelet to connect to multiple devices more stably; the utility model uses the nRF52832 chip in the edge data transceiver device, and can be suitable for indoor data transceiver scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 This is a schematic diagram of the health monitoring edge device system structure based on ESP32 and nRF52832;
[0010] Figure 2 This is a schematic diagram of the specific connection between the ESP32 chip and one of the nRF52832 chips;
[0011] Figure 3 This is a schematic diagram of the charging chip;
[0012] Figure 4Schematic diagram of the discharge chip.
[0013] Description of main component symbols:
[0014] C1, C3, C12, C10, and C14 are 10uF capacitors, C2, C4, C11, C13, C15, C23, C25, C30, C39, and C40 are 0.1uF capacitors, C6, C16, and C17 are 22pF capacitors, C18 and C19 are 1uF capacitors, C7 and C8 are 100uF capacitors, C9 is a 22uF capacitor, C29 is a 100pF capacitor, C21 and C26 are 15pF capacitors, C33 is a 0.8pF capacitor, R2 is a 2K ohm resistor, R1, R3, and R9 are 200 ohm resistors. 40K ohm resistor, R5 is 51K ohm resistor, R6, R7, R11 are 10K ohm resistors, L6 is 3.9nH inductor, L1 is 4.7uH inductor, L2 is 15nH inductor, L4 is 10uH inductor, Y1 is 32.768KHz crystal oscillator, Y2 is 32MHz crystal oscillator, D1 and D2 are lamps, J2 is CON4, J3 is CON2, J4 and J5 are U.FL-R-SMT, J1 is charging chip, U1 is SY8079AAC chip, U2 is ESP32 chip, and U3 is the first nRF52832 chip. DETAILED DESCRIPTION
[0015] In order to make the purpose, technical solution and advantages of the utility model more clear, the utility model is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the utility model and are not used to limit the utility model.
[0016] The utility model provides a health monitoring edge device based on ESP32 and nRF52832, such as Figure 1As shown, it includes a WiFi communication module, a Bluetooth communication module and a power supply module. The Bluetooth communication module includes two nRF52832 chips, namely the first nRF52832 chip U3 and the second nRF52832 chip. One nRF52832 chip reads the data collected by three terminal devices through the BLE protocol, such as heart rate, behavior, positioning and other data, and completes communication with the ESP32 chip U2 through the SPI bus. The WiFi communication module includes an ESP32 chip U2, which uploads the data transmitted from the nRF52832 chip to the cloud platform through the HTTP protocol and the MQTT protocol. The ESP32 chip U2 is connected to the first nRF52832 chip U3 and the second nRF52832 chip respectively, and the power supply module is connected to the WiFi communication module and the Bluetooth communication module respectively, providing a stable voltage for the WiFi communication module and the Bluetooth communication module. In this way, the user's heart rate, behavior, and indoor positioning data can be sent and received in real time.
[0017] The power supply module includes a lithium battery, a charging chip and a discharge chip. After the lithium battery is input into the CMOS tube, a 3.3v stable voltage is input to the nRF52832 chip and each module. After the charging power supply inputs a constant voltage power supply through the Micro USB interface, the lithium battery enters the charging state. SY8079AAC converts the voltage of the input power supply into a stable output voltage required by the device to meet the working voltage requirements. The lithium battery uses a 3.7V lithium battery.
[0018] The utility model uses the nRF52832 chip in the data transceiver edge device, which can separate the communication module to avoid interference, improve performance stability, facilitate function expansion, optimize power consumption and extend battery life, and solve the problems of ESP32 chip U2 memory and connection limitations. It is suitable for indoor data transmission and reception scenarios.
[0019] like Figure 2As shown, pin 13 of the ESP32 chip U2 is connected to pin 9 of the first nRF52832 chip U3, pin 14 of the ESP32 chip U2 is connected to pin 10 of the first nRF52832 chip U3, pin 16 of the ESP32 chip U2 is connected to pin 11 of the first nRF52832 chip U3, and pin 23 of the ESP32 chip U2 is connected to pin 12 of the first nRF52832 chip U3, thereby successfully connecting the ESP32 chip U2 to the first nRF52832 chip U3. Pin 37 of the ESP32 chip U2 is connected to pin 9 of the second nRF52832 chip, pin 31 of the ESP32 chip U2 is connected to pin 10 of the second nRF52832 chip, pin 30 of the ESP32 chip U2 is connected to pin 11 of the second nRF52832 chip, and pin 29 of the ESP32 chip U2 is connected to pin 12 of the second nRF52832 chip.
[0020] Pin 35 of the ESP32 chip U2 is connected to pin 2 of the CON4 wireless communication device connector J2, pin 34 of the ESP32 chip U2 is connected to pin 3 of the CON4 wireless communication device connector J2, pin 1 of the CON4 wireless communication device connector J2 is connected to terminal VDD, and pin 4 of the CON4 wireless communication device connector J2 is grounded.
[0021] Pin No. 13 of the first nRF52832 chip U3 is connected to the terminal VDD_nRF, and pin No. 13 of the first nRF52832 chip U3 is grounded through a capacitor C39 to provide power for the first nRF52832 chip U3.
[0022] Pin 24 of the first nRF52832 chip U3 is connected to terminal VDD_nRF through resistor R11, and pin 24 of the first nRF52832 chip U3 is grounded through capacitor C40; pin 30 of the first nRF52832 chip U3 is connected to pin 1 of U.FL-R-SMT interface J4 through inductor L6 and resistor R9, pin 2 of U.FL-R-SMT interface J4 is connected to pin 3 of U.FL-R-SMT interface J4, pin 3 of U.FL-R-SMT interface J4 is grounded, pin 30 of the first nRF52832 chip U3 is grounded through capacitor C33, and pin 30 of the first nRF52832 chip U3 is grounded. The first nRF52832 chip U3 is grounded through the inductor L6 and the capacitor C34, the pin 30 of the first nRF52832 chip U3 is grounded through the inductor L6, the resistor R9 and the capacitor C35; the pin 31 of the first nRF52832 chip U3 is grounded, the pin 32 of the first nRF52832 chip U3 is grounded, the pin 33 of the first nRF52832 chip U3 is grounded through the capacitor C29, the pin 34 of the first nRF52832 chip U3 is connected to the pin 1 of the crystal oscillator Y2, the pin 35 of the first nRF52832 chip U3 is connected to the pin 3 of the crystal oscillator Y2, one end of the capacitor C21 is grounded, and the other end is connected to the pin 3 of the crystal oscillator Y2, one end of the capacitor C26 is grounded, and the other end is connected to the pin 3 of the crystal oscillator Y2 The first nRF52832 chip U3 is connected to the pin 1 of the crystal oscillator Y2, and the pin 2 and pin 4 of the crystal oscillator Y2 are grounded; the pin 36 of the first nRF52832 chip U3 is grounded through the capacitor C25, and the terminal VDD_nRF is connected between the pin 36 of the first nRF52832 chip U3 and the capacitor C25; the pin 40 of the first nRF52832 chip U3 is connected to the positive electrode of the lamp D2, and the negative electrode of the lamp D2 is grounded through the resistor R7, the pin 45 of the first nRF52832 chip U3 is connected to the pin 47 of the first nRF52832 chip U3 through the capacitor C19, the inductor L2 and the inductor L3, and the pin 46 of the first nRF52832 chip U3 is connected to the capacitor C19, the inductor L2 and the inductor L3. Between capacitor C19 and inductor L2, pin 45 of the first nRF52832 chip U3 is grounded; pin 48 of the first nRF52832 chip U3 is grounded through capacitor C23, pin 49 of the first nRF52832 chip U3 is connected to the grounded pin of C23, pin 48 of the first nRF52832 chip U3 is connected to terminal VDD_nRF; pin 1 of the first nRF52832 chip U3 is grounded through capacitor C30; pin 25 of the first nRF52832 chip U3 is connected to the SWDCLK1 clock line of the SWD interface, and pin 26 of the first nRF52832 chip U3 is connected to the SWDIO1 data line of the SWD interface. The peripheral connection of the second nRF52832 chip is the same as that of the first nRF52832 chip U3.
[0023] Pin 1 of the ESP32 chip U2 is grounded, pin 2 of the ESP32 chip U2 is grounded through capacitors C14 and C15 connected in parallel, pin 2 of the ESP32 chip U2 is connected to terminal VDD_3V3, pin 3 of the ESP32 chip U2 is connected to terminal VDD_3V3 through resistor R6, pin 3 of the ESP32 chip U2 is grounded through capacitor C18, pin 8 of the ESP32 chip U2 is grounded through capacitor C16, pin 9 of the ESP32 chip U2 is grounded through capacitor C17, one end of the crystal oscillator Y1 is connected between pin 8 of the ESP32 chip U2 and capacitor C16, and the other end is connected between pin 9 of the ESP32 chip U2 and capacitor C17 ; Pin 10 of the ESP32 chip U2 is connected to the CHG_IN charging input pin for receiving external charging power input. The charging power will be input into the device through the CHG_IN pin. Pin 11 of the ESP32 chip U2 is connected to the BAT_CON battery connection pin for connecting the battery. Pin 12 of the ESP32 chip U2 is connected to the BAT_DET battery detection pin for detecting the battery status. Pin 15 of the ESP32 chip U2 is grounded. Pin 25 of the ESP32 chip U2 is connected to pin 1 of J3. Pin 2 of J3 is grounded. J3 is a spare interface expansion. Pin 38 of the ESP32 chip U2 is grounded.
[0024] like Figure 3 As shown, pin 1 of the charging chip J1 is connected to the positive electrode of the lamp D1 through the resistor R1, the negative electrode of the lamp D1 is grounded through the resistor R2, pin 5 of the charging chip J1 is connected to the grounded pin of the resistor R21, one end of the parallel capacitors C3 and C4 is connected between pin 1 of the charging chip J1 and the resistor R1, and the other end is connected between pin 5 of the charging chip J1 and the resistor R2, pin 8 of the charging chip J1 is grounded through the capacitor C5, pins 6, 7, and 9 of the charging chip J1 are respectively connected between pin 8 of the charging chip J1 and the capacitor C5, pin 7 of the charging chip J1 is grounded, and a 5V voltage is connected between the resistor R1 and the lamp D1. The charging chip J1 is a Micro USB connector, and after the charging power is input into the constant voltage charging chip SE9016 through the Micro USB interface, the lithium battery will enter the charging state.
[0025] like Figure 4As shown, the discharge chip adopts SY8079AAC chip, pin 1 of SY8079AAC chip U1 is connected to 5V voltage and connected to pin 4 of SY8079AAC chip U1, pin 2 of SY8079AAC chip U1 is connected to terminal VDD_nRF through capacitor C11 and resistor R3, pin 2 of SY8079AAC chip U1 is grounded, pin 3 of SY8079AAC chip U1 is connected to terminal VDD_nRF through inductor L1 and resistor R3, pin 3 of SY8079AAC chip U1 is connected to pin 5 of SY8079AAC chip U1 through inductor L1, pin 5 of SY8079AAC chip U1 is connected to terminal VDD_nRF through resistor R3, pin 2 of SY8079AAC chip U1 is grounded, pin 3 of SY8079AAC chip U1 is connected to pin 5 of SY8079AAC chip U1 through inductor L1, pin 5 of SY8079AAC chip U1 is connected to terminal VDD_nRF through resistor R3, pin 2 of SY8079AAC chip U1 is grounded, pin 3 of SY8079AAC chip U1 is connected to pin 6 of SY8079AAC chip U1 through capacitor C 8 and resistor R3 are connected to terminal VDD_nRF, pin 2 of SY8079AAC chip U1 is connected to terminal VDD_nRF through capacitor C9 and resistor R3, pin 2 of SY8079AAC chip U1 is connected to terminal VDD_nRF through capacitor C7 and resistor R3, pin 2 of SY8079AAC chip U1 is connected to terminal VDD_nRF through capacitor C10 and resistor R3, pin 2 of SY8079AAC chip U1 is connected to pin 5 of SY8079AAC chip U1 through resistor R5 and parallel resistor R4 and capacitor C6, pin 4 of SY8079AAC chip U1 is grounded through parallel capacitors C12 and C13, and pin 5 of SY8079AAC chip U1 is also connected to terminal VDD_3V3 to output a voltage of 3.3V. SY8079AAC chip U1 converts the voltage of the input power supply into the stable output voltage required by the device to meet the working voltage requirements.
[0026] During use, an SPI communication connection is established between the nRF52832 chip and the ESP32 chip U2. Make sure that the SPI wiring is correctly connected, and configure the SPI communication parameters, such as clock frequency, number of data bits, etc. The ESP32 chip U2 monitors the SPI bus and waits for the nRF52832 chip to send data. After the ESP32 chip U2 receives the data transmitted by the bus, the ESP32 chip U2 connects to the MQTT agent, publishes the data received from the nRF52832 chip to the specified MQTT host, and encapsulates the data into an HTTP POST request, which is uploaded to the HTTP server in the cloud through the WiFi connection for further data processing and analysis. The device supports two-way data exchange, and the nRF52832 chip and the ESP32 chip U2 can send and receive data as needed; the device realizes real-time data exchange and communication, with high reliability and stability.
[0027] The utility model provides a health monitoring edge device based on ESP32 and nRF52832, which can not only complete the real-time transmission and reception of heart rate data, behavior data, and indoor positioning data through the nRF52832 chip, but also timely feedback to the cloud platform through the ESP32 chip U2, so as to help users understand the health status of the elderly. It is also possible to allow mobile phone apps or other terminal devices to interact with edge devices through the wireless communication device connector of the nRF52832 chip to achieve remote monitoring and control, thereby improving the user's convenience. At the same time, the data information output by the system can be transmitted to the receiving device through the Bluetooth protocol for further analysis and processing. In addition, the use of nRF5283 chip and ESP32 chip U2 for system development not only reduces the cost, but also runs faster and more stably than the same type of chips. In addition, it also solves the problem of insufficient memory of ESP32, allows the connection of multiple slave devices, and improves the flexibility and scalability of the number of connected slaves. The device has low power consumption characteristics and can run stably for a long time in an indoor environment. The device has a large communication range and coverage area, which can meet the needs of indoor environment data transmission and reception. The data mainly includes PPG heart rate data, accelerometer and gyroscope behavior data, and positioning data. The use of independent WiFi and Bluetooth communication modules can be more flexible for function expansion and upgrading, and it is convenient to add sampling modules for other data in the nRF52832 chip, and it is convenient to select different modules or update firmware according to actual needs.
[0028] The above-mentioned embodiments only express one or several implementation methods of the utility model, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the utility model patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the utility model, which all belong to the protection scope of the utility model. Therefore, the protection scope of the utility model patent shall be based on the attached claims.
Claims
1. A health monitoring edge device based on ESP32 and nRF52832, used to realize two-way data communication between cloud platform and terminal device, characterized in that: It includes a WiFi communication module, a Bluetooth communication module and a power supply module. The WiFi communication module is connected to the cloud platform for communication, and the Bluetooth communication module is connected to the terminal device for communication. The Bluetooth communication module includes two nRF52832 chips, namely a first nRF52832 chip and a second nRF52832 chip. The WiFi communication module includes an ESP32 chip, and the ESP32 chip is connected to the first nRF52832 chip and the second nRF52832 chip respectively. The power supply module is connected to the WiFi communication module and the Bluetooth communication module respectively.
2. The health monitoring edge device based on ESP32 and nRF52832 according to claim 1, characterized in that: Pin 13 of the ESP32 chip is connected to pin 9 of the first nRF52832 chip, pin 14 of the ESP32 chip is connected to pin 10 of the first nRF52832 chip, pin 16 of the ESP32 chip is connected to pin 11 of the first nRF52832 chip, pin 23 of the ESP32 chip is connected to pin 12 of the first nRF52832 chip, pin 37 of the ESP32 chip is connected to pin 9 of the second nRF52832 chip, pin 31 of the ESP32 chip is connected to pin 10 of the second nRF52832 chip, pin 30 of the ESP32 chip is connected to pin 11 of the second nRF52832 chip, and pin 29 of the ESP32 chip is connected to pin 12 of the second nRF52832 chip.
