Bluetooth wireless module driving circuit
By using a Bluetooth wireless module to drive the circuit, including buttons, a microcontroller, Bluetooth, and a display module, the problems of complex control circuit structure and instruction conflicts in the height-adjustable desk were solved, achieving simplified control and high integration.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN YUEYAN INTELLIGENT TECH CO LTD
- Filing Date
- 2025-06-09
- Publication Date
- 2026-08-04
AI Technical Summary
Existing height-adjustable desk control circuits are complex and prone to command conflicts, leading to erroneous operations.
The Bluetooth wireless module driver circuit includes a button module, a microcontroller module, a Bluetooth module, and a display module. The microcontroller chip generates control signals and transmits them to the Bluetooth module for wireless control. The Bluetooth module receives data signals and generates display signals. MOSFETs are used to eliminate voltage differences, and the power supply module performs voltage regulation and charging management.
This technology simplifies the control of the height-adjustable desk, avoids command conflicts, improves the integration and reliability of the circuit, and reduces the possibility of operational errors.
Smart Images

Figure CN224595007U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of circuit technology, and in particular to a Bluetooth wireless module driver circuit. Background Technology
[0002] In modern technology, height-adjustable desks typically incorporate separate button control circuits and remote infrared control circuits for ease of operation, resulting in a complex and bulky overall circuit structure. Furthermore, conflicting commands may arise between the button control circuit and the remote infrared control circuit, leading to erroneous operations. Therefore, existing height-adjustable desk control circuits suffer from a technical problem due to their complex circuit structure.
[0003] Therefore, it is necessary to provide a Bluetooth wireless module driver circuit to solve the above-mentioned technical problems. Utility Model Content
[0004] This invention provides a Bluetooth wireless module driver circuit, which effectively solves the technical problem of the complex circuit structure of existing height-adjustable desk control circuits.
[0005] This utility model provides a Bluetooth wireless module driver circuit, which includes, The button module is used to output button signals; A microcontroller module includes a microcontroller chip, the microcontroller chip including a first input pin and a first output pin, the first input pin being connected to a button module, the first output pin being connected to a Bluetooth module, the first input pin being used to receive the button signal, the microcontroller chip being used to generate the control signal based on the button signal, and the first output pin being used to transmit the control signal to the Bluetooth module; The microcontroller chip includes a second input pin and a second output pin. The second input pin is connected to the Bluetooth module, and the second output pin is connected to the display module. The second input pin is used to receive the data signal from the Bluetooth module. The microcontroller chip is used to generate the display signal based on the data signal. The second output pin is used to transmit the display signal to the display module. A Bluetooth module, connected to the microcontroller module, is used to wirelessly transmit the control signal to the height-adjustable desk. The control signal is used to control the height-adjustable desk. The Bluetooth module is also used to wirelessly receive data signals from the height-adjustable desk. The display module is connected to the microcontroller module and receives the display signal to display the status information of the height-adjustable table based on the display signal.
[0006] Furthermore, the Bluetooth module includes a Bluetooth chip, which includes a Bluetooth input pin and a Bluetooth output pin. The Bluetooth input pin is connected to the first output pin, and the Bluetooth output pin is connected to the second input pin. The microcontroller chip also includes a sleep output pin, and the Bluetooth chip also includes a sleep input pin. The sleep output pin is connected to the sleep input pin. When the Bluetooth chip is in an idle state, the microcontroller chip outputs a sleep signal, and the Bluetooth chip is used to enter a low-power state based on the sleep signal.
[0007] Furthermore, the Bluetooth module includes a first MOSFET and a second MOSFET. The gate of the first MOSFET is connected to a 2.8V power supply, the source of the first MOSFET is connected to a first output pin, and the drain of the first MOSFET is connected to a Bluetooth input pin. The gate of the second MOSFET is connected to a 2.8V power supply, the source of the second MOSFET is connected to a second input pin, and the drain of the first MOSFET is connected to a Bluetooth output pin. The first MOSFET and the second MOSFET are used to eliminate the operating voltage difference between the microcontroller chip and the Bluetooth chip.
[0008] Furthermore, the display module includes a display driver chip and a digital display tube. The display driver chip includes a display driver input pin and a display driver output pin. The digital display tube includes a digital tube pin. The display driver input pin is connected to the second output pin, and the display driver output pin is connected to the digital tube pin. The display driver chip is used to drive the digital display tube, and the digital display tube is used to display the status information of the height-adjustable table based on the display signal.
[0009] Furthermore, the display module also includes a third MOSFET, the display driver chip includes a display driver power supply pin, the microcontroller chip includes a shutdown pin, the gate of the third MOSFET is connected to the shutdown pin, the source of the third MOSFET is connected to the display driver power supply pin, and the drain of the third MOSFET is connected to the power supply module; when the microcontroller chip is in sleep mode, the shutdown pin outputs a shutdown signal, and the third MOSFET is in an off state based on the shutdown signal, disconnecting the power supply to the display driver chip and the digital display tube.
[0010] Furthermore, the Bluetooth wireless module driver circuit also includes a power supply module, which is connected to the microcontroller module, the Bluetooth module, and the display module. The power supply module is used to supply power to the microcontroller module, the Bluetooth module, and the display module.
[0011] Furthermore, the power supply module includes a power supply chip and a battery. The power supply chip includes a power supply input pin and a power supply output pin. The power supply input pin is connected to an external power source, and the power supply output pin is connected to the battery. The external power source is used to output a power supply voltage. The power supply chip is used to regulate the power supply voltage to generate a power supply voltage. The power supply voltage is used to charge the battery. The battery is used to supply power to the microcontroller chip, the Bluetooth chip, and the display driver chip.
[0012] Furthermore, the power supply chip also includes an enable pin and a constant current setting pin. The power supply module includes a constant current resistor. The enable pin is connected to an external power supply. One end of the constant current resistor is connected to the constant current setting pin, and the other end of the constant current resistor is grounded. When the power supply voltage is greater than the detection threshold voltage and the enable pin receives a high-level signal, the battery is in a charging state. If the battery voltage is less than a first set voltage, the battery is in a low-current charging state; if the battery voltage is greater than the first set voltage but less than a second set voltage, the battery is in a constant-current charging state, and the constant-current charging current is determined by the resistance value of the constant-current resistor; if the battery voltage is close to the second set voltage, the battery is in a constant-voltage charging state; if the charging current decreases to the charging end threshold, the battery is in a stopped charging state, wherein the charging end threshold is 1 / 10 of the constant-current charging current.
[0013] Furthermore, the power supply module also includes a first LED and a second LED, and the power supply chip also includes a first indicator pin and a second indicator pin. The positive terminal of the first LED is connected to an external power supply, and the negative terminal of the first LED is connected to the first indicator pin. When the battery is charging, the first LED is lit, and when the battery is not charging, the first LED is off. The positive terminal of the second LED is connected to an external power supply, and the negative terminal of the second LED is connected to the second indicator pin. When the battery is fully charged, the second LED is lit, and when the battery is not fully charged, the second LED is off.
[0014] Furthermore, the microcontroller chip is model STM8S003F3P6TR, and the Bluetooth chip is model LK8625.
[0015] Compared to existing technologies, the advantages of this invention are as follows: This invention provides a Bluetooth wireless module driver circuit, which includes a button module, a microcontroller module, a Bluetooth module, and a display module. The microcontroller module is equipped with a microcontroller chip. The user inputs button signals through the button module, and the microcontroller chip generates control signals based on these signals. These control signals are then transmitted to the Bluetooth module. The Bluetooth module wirelessly sends the control signals to the height-adjustable desk, allowing for control of the desk. In this invention's Bluetooth wireless module driver circuit, the height-adjustable desk can only be controlled by one type of control signal. Therefore, the control process avoids command conflicts and minimizes operational errors.
[0016] Furthermore, the Bluetooth module is also used to wirelessly receive data signals from the height-adjustable desk, and transmits these data signals to the microcontroller chip. The microcontroller chip can generate a display signal based on the data signal, and the second output pin is used to transmit the display signal to the display module, which can then display the status information of the height-adjustable desk based on the display signal.
[0017] The microcontroller chip in this circuit can generate control signals based on button signals and display signals based on data signals, achieving both functions with a single chip. Therefore, the circuit's functionality does not require complex circuitry.
[0018] Therefore, the Bluetooth wireless module driver circuit of this solution has the characteristics of high integration and simple structure, which effectively solves the technical problem of the relatively complex circuit structure of the existing height-adjustable table control circuit. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the embodiments are briefly introduced below. The drawings described below are only the corresponding drawings of some embodiments of this utility model.
[0020] Figure 1 This is a block diagram of an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0021] Figure 2 This is a circuit diagram of a button module according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0022] Figure 3 This is a circuit diagram of a microcontroller module according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0023] Figure 4 This is a circuit diagram of a Bluetooth module according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0024] Figure 5 The circuit diagram shows the first MOSFET and the second MOSFET in an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0025] Figure 6 This is one of the circuit diagrams of a display module according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0026] Figure 7 This is the second circuit diagram of the display module according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0027] Figure 8 This is a circuit diagram of the power supply module of one embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0028] Figure 9 This is a circuit diagram of a step-down chip according to an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0029] Figure 10 This is a circuit diagram of the TYPE-C interface of an embodiment of the Bluetooth wireless module driver circuit of this utility model.
[0030] In the diagram, 10 is the Bluetooth wireless module driver circuit; 11 is the button module; 12 is the microcontroller module; 13 is the Bluetooth module; 14 is the display module; and 15 is the power supply module. Detailed Implementation
[0031] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present utility model.
[0032] The directional terms mentioned in this utility model, such as "up", "down", "front", "back", "left", "right", "inner", "outer", "side", "top" and "bottom", are only for reference to the orientation of the accompanying drawings. The directional terms used are for the purpose of explaining and understanding this utility model, and are not intended to limit this utility model.
[0033] The terms "first" and "second" in this utility model are used for descriptive purposes only and should not be construed as indicating or implying relative importance, nor as a restriction on the order of events.
[0034] In the diagram, units with similar structures are represented by the same labels.
[0035] Please refer to Figure 1 , Figure 2 and Figure 3 This utility model provides a Bluetooth wireless module driver circuit 10, which is applied in a wireless remote control. The wireless remote control is used to wirelessly control a height-adjustable table and can also display the table's status information. The Bluetooth wireless module driver circuit 10 includes a button module 11, a microcontroller module 12, a Bluetooth module 13, and a display module 14. The button module 11 outputs button signals and includes a first button KEY1, a second button KEY2, a third button KEY3, a fourth button KEY4, a fifth button KEY5, and a sixth button KEY6. The microcontroller module 12 includes a microcontroller chip U2, model STM8S003F3P6TR, which includes a first input pin and a first output pin UART1_RX / AIN6 / (HS) PD6. The first input pin is connected to the button module 11. This first input pin includes the following pins: PD2 (HS) / AIN3 / [TIM2_CH3], PC7 (HS) / SPI_MISO [TIM1_CH2], PC6 (HS) / SPI_MOSI [TIM1_CH1], PC5 (HS) / SPI_SCK [TIM2_CH1], PC4 (HS) / TIM1_CH4 / CLK_CCO / AIN2 / [TIM1_CH2N], and PC3 (HS) / TIM1_CH3 [TLI][TIM1_CH1N]. The first input pin PD2 (HS) / AIN3 / [TIM2_CH3] is connected to the first button KEY1, and the first input pin PC7 (HS) / SPI_MISO[TIM1_CH2] is connected to the second button KEY2. The first input pin PC6 (HS) / SPI_MOSI [TIM1_CH1] is connected to the third button KEY3. The first input pin PC5 (HS) / SPI_SCK [TIM2_CH1] is connected to the fourth button KEY4. The first input pin PC4 (HS) / TIM1_CH4 / CLK_CCO / AIN2 / [TIM1_CH2N] is connected to the fifth button KEY5. The first input pin PC3 (HS) / TIM1_CH3 [TLI] [TIM1_CH1N] is connected to the sixth button KEY6.
[0036] Please refer to Figure 3 and Figure 4The first output pin, UART1_RX / AIN6 / (HS) PD6, is connected to the Bluetooth module 13, and the first input pin is used to receive button signals. The microcontroller chip U2 generates control signals based on the button signals, and the first output pin, UART1_RX / AIN6 / (HS) PD6, is used to transmit the control signals to the Bluetooth module 13. The microcontroller chip U2 includes a second input pin, UART1_TX / AIN5 / (HS) PD5, and a second output pin. The second input pin, UART1_TX / AIN5 / (HS) PD5, is connected to the Bluetooth module 13. The second output pin is connected to the display module 14. The second input pin, UART1_TX / AIN5 / (HS) PD5, is used to receive data signals from the Bluetooth module 13. The microcontroller chip U2 can generate display signals based on the data signals, and the second output pin is used to transmit the display signals to the display module 14.
[0037] Please refer to Figure 1 The Bluetooth module 13 is connected to the microcontroller module 12. The Bluetooth module 13 wirelessly transmits control signals to the height-adjustable desk, which are used to control its operation. The Bluetooth module 13 also wirelessly receives data signals from the height-adjustable desk. The display module 14 is connected to the microcontroller module 12. The display module 14 receives display signals and displays the status information of the height-adjustable desk based on these signals. This status information includes the current status and the current height of the desk. Therefore, the Bluetooth wireless module driver circuit 10 can remotely control the height-adjustable desk, and the user can also obtain the desk's status information from the Bluetooth wireless module driver circuit.
[0038] Please refer to Figure 3 and Figure 4The Bluetooth module 13 includes a Bluetooth chip BEL1. The BEL1 chip is model LK8625 and includes a Bluetooth input pin RX and a Bluetooth output pin TX. The Bluetooth input pin RX is connected to the first output pin UART1_RX / AIN6 / (HS) PD6 and is used to receive control signals. The Bluetooth output pin TX is connected to the second input pin UART1_TX / AIN5 / (HS) PD5 and is used to output data signals. The microcontroller chip U2 also includes a sleep output pin PD3 (HS) / AIN4 / TIM2_CH2 / ADC_ETR, and the Bluetooth chip BEL1 also includes a sleep input pin AT / IO. The sleep output pin PD3 (HS) / AIN4 / TIM2_CH2 / ADC_ETR is connected to the sleep input pin AT / IO. When the Bluetooth chip BEL1 is in an idle state, the microcontroller chip U2 outputs a sleep signal, which the Bluetooth chip BEL1 uses to enter a low-power state. Therefore, the Bluetooth chip BEL1 can enter a low-power state when idle, thus effectively extending the overall battery life. In the low-power state, the power consumption of the Bluetooth chip should be lower than that in normal operating mode. When the Bluetooth chip BEL1 needs to operate, the microcontroller chip U2 outputs a wake-up signal, which can be used to wake up the Bluetooth chip BEL1.
[0039] Please refer to Figure 3 , Figure 4 and Figure 5The Bluetooth module 13 includes a first MOSFET Q2 and a second MOSFET Q3. The gate of the first MOSFET Q2 is connected to a 2.8V power supply. The source of the first MOSFET Q2 is connected to the first output pin UART1_RX / AIN6 / (HS)PD6, and the drain of the first MOSFET Q2 is connected to the Bluetooth input pin RX. The gate of the second MOSFET Q3 is connected to a 2.8V power supply, and the source of the second MOSFET Q3 is connected to the second input pin UART1_RX / AIN6 / (HS)PD6. The drain of the first MOSFET Q2 is connected to the Bluetooth output pin TX. The first MOSFET Q2 and the second MOSFET Q3 are used to eliminate the operating voltage difference between the microcontroller chip U2 and the Bluetooth chip BEL1. The Bluetooth chip BEL1 is a 2.5G Bluetooth transceiver chip that uses the universal standard low-power Bluetooth protocol. The Bluetooth chip BEL1 communicates with the microcontroller chip U2 through the Bluetooth input pin RX and the Bluetooth output pin TX. However, the operating voltage of the microcontroller chip U2 differs from that of the Bluetooth chip BEL1, resulting in a difference in the voltage of the communication port. To ensure overall communication, the Bluetooth wireless module driver circuit 10 includes a first MOSFET Q2 and a second MOSFET Q3. These two MOSFETs perform voltage conversion operations to eliminate the voltage difference between the microcontroller and the Bluetooth chip BEL1.
[0040] Please refer to Figure 8 and Figure 9 The Bluetooth wireless module driver circuit 10 also includes a step-down chip VR1, which can step down the supply voltage to generate a 2.8V voltage, thereby forming a 2.8V power supply. Therefore, the input pin Vin of the step-down chip VR1 is connected to the power output pin BAT of the power supply chip U3, and the gates of the first MOSFET Q2 and the second MOSFET Q3 are connected to the output pin Vout of the step-down chip VR1.
[0041] Please refer to Figure 1 The display module 14 includes a display driver chip U1 and a digital display tube D1. The display driver chip U1 is a TM1650. The display driver chip U1 includes display driver input pins and display driver output pins, and the digital display tube D1 includes digital tube pins. The display driver input pins are connected to the second output pins, and the display driver output pins are connected to the digital tube pins. The display driver chip U1 drives the digital display tube D1, which displays the status information of the height-adjustable table based on display signals. The display driver chip U1 can perform time-division scanning drive on the digital display tube D1, enabling it to display specific content.
[0042] Please refer to Figure 6 and Figure 7The display driver input pins include display driver input pin SCL and display driver input pin SDA. The second output pins include second output pin PB4(T) / I2C_SCL [ADC_ETR] and second output pin PB5(T) / I2C_SDA [TIM1_BKIN]. The display driver input pin SCL is connected to the second output pin PB4(T) / I2C_SCL [ADC_ETR], and the display driver input pin SDA is connected to the second output pin PB5(T) / I2C_SDA [TIM1_BKIN].
[0043] Please refer to Figure 6 and Figure 7 The display driver output pins include display output pins DIG1, DIG2, DIG3, A / KI1, B / KI2, C / KI3, D / KI4, E / KI5, F / KI6, G / KI7, and DP / KP. The digital tube pins include DIG.1, DIG.2, DIG.3, A, B, C, D, E, F, G, and DP. Display output pin DIG1 is connected to digital tube pin DIG.1, DIG2 is connected to digital tube pin DIG.2, and DIG3 is connected to digital tube pin DIG.3. Display output pin A / KI1 connects to pin A of the digital tube; display output pin B / KI2 connects to pin B of the digital tube; display output pin C / KI3 connects to pin C of the digital tube; display output pin D / KI4 connects to pin D of the digital tube; display output pin E / KI5 connects to pin E of the digital tube; display output pin F / KI6 connects to pins F / KI6 of the digital tube; display output pin G / KI6 connects to pin G of the digital tube; display output pins DP / KP connect to pin DP of the digital tube.
[0044] Please refer to Figure 6 and Figure 7The display module 14 also includes a third MOSFET Q1. The display driver chip U1 includes a display driver power supply pin VDD. The microcontroller chip U2 includes a shutdown pin UART1_CK / TIM2_CH1 / BEEP / (HS)PD4. The gate of the third MOSFET Q1 is connected to the shutdown pin UART1_CK / TIM2_CH1 / BEEP / (HS)PD4, the source of the third MOSFET Q1 is connected to the display driver power supply pin VDD, and the drain of the third MOSFET Q1 is connected to the power supply module 15. When the microcontroller chip U2 is in sleep mode, the shutdown pin UART1_CK / TIM2_CH1 / BEEP / (HS)PD4 outputs a shutdown signal, and the third MOSFET is in an off state based on the shutdown signal. The Bluetooth wireless module driver circuit 10 can disconnect the power supply to the display driver chip U1 and the digital display tube D1.
[0045] Please refer to Figure 8 and Figure 10 The Bluetooth wireless module driver circuit 10 also includes a power supply module 15, which is connected to the microcontroller module 12, Bluetooth module 13, and display module 14. The power supply module 15 provides power to these modules. The power supply module 15 includes a power supply chip U3 and a battery BT1. The power supply chip U3 is a TP4056. The power supply chip U3 includes a power input pin VCC and a power output pin BAT. The power supply module 15 also includes a TYPE-C interface U4. The power input pin is connected to the VBUS pin of the TYPE-C interface U4, and the power input pin VCC is connected to an external power source (not shown in the figure) through the TYPE-C interface U4. The power output pin BAT is connected to the battery BT1, and the external power source outputs the power supply voltage. The power supply chip U3 regulates the power supply voltage and generates the power supply voltage. This voltage is used to charge the battery BT1, which in turn powers the microcontroller chip U2, Bluetooth chip BEL1, and display driver chip U1. Furthermore, the BT1 battery is a lithium-ion battery with an operating voltage of 2.8V-4.2V and a typical voltage of 3.7V.
[0046] Please refer to Figure 8The power supply chip U3 also includes an enable pin CE and a constant current setting pin PROG. The power supply module 15 includes a constant current resistor R22. The enable pin CE is connected to an external power supply, one end of the constant current resistor R22 is connected to the constant current setting pin PROG, and the other end of the constant current resistor R22 is grounded. When the power supply voltage is greater than the detection threshold voltage and the enable pin CE receives a high-level signal, the battery BT1 is in a charging state. If the voltage value of the battery BT1 is less than the first set voltage, the battery BT1 is in a low-current charging state. If the voltage value of the battery BT1 is greater than the first set voltage but less than the second set voltage, the battery BT1 is in a constant current charging state. The constant current charging current value is determined by the resistance value of the constant current resistor. If the voltage value of the battery BT1 is close to the second set voltage, the battery BT1 is in a constant voltage charging state. If the charging current decreases to the charging end threshold, the battery BT1 is in a stopped charging state. The charging end threshold is 1 / 10 of the constant current charging current value. The first set voltage is 2.9V, and the second set voltage is 4.2V. When the voltage of battery BT1 drops below a first set voltage, the power supply chip U3 automatically begins a new charging cycle. Internally, the power supply chip U3 incorporates a high-precision voltage reference, an error amplifier, and a resistor divider network to ensure the accuracy of the VCC modulation voltage at the power supply input pin is within 1%, thus meeting the requirements of lithium-ion and lithium-polymer batteries. When the external power supply fails or the power supply voltage drops below the voltage of battery BT1, the power supply chip U3 enters a shutdown mode. Consequently, the current consumed by battery BT1 will be less than 2uA, thereby increasing standby time.
[0047] Please refer to Figure 8 The power supply module 15 also includes a first LED D2 and a second LED D3, and the power supply chip U3 includes a first indicator pin CHRG and a second indicator pin STDBY. The first LED D2 is a red LED; its positive terminal is connected to an external power supply, and its negative terminal is connected to the first indicator pin CHRG. When the battery BT1 is charging, the first LED D2 is lit. When the battery BT1 is not charging, the first LED D2 is off. The second LED D3 is a green LED; its positive terminal is connected to an external power supply, and its negative terminal is connected to the second indicator pin STDBY. When the battery BT1 is fully charged, the second LED D3 is lit. When the battery BT1 is not fully charged, the second LED D3 is off.
[0048] The working principle of this utility model is as follows: When the Bluetooth wireless module driver circuit 10 is working, the user can output button signals through the button module 11. The microcontroller module 12 is equipped with a microcontroller chip U2. The first input pin of the microcontroller chip U2 can receive the button signals. Furthermore, the microcontroller chip U2 can generate control signals based on the button signals. The first output pin of the microcontroller chip U2, UART1_RX / AIN6 / (HS) PD6, can transmit the control signals to the Bluetooth input pin RX of the Bluetooth module 13. Subsequently, the Bluetooth module 13 can wirelessly send the control signals to the height-adjustable desk, which can control the operation of the desk. Moreover, the Bluetooth module 13 is also used to wirelessly receive data signals from the height-adjustable desk. Then, the Bluetooth module 13 outputs the data signals through the Bluetooth output pin TX to the second input pin UART1_TX / AIN5 / (HS) PD5 of the microcontroller chip U2. The microcontroller chip U2 can generate display signals based on the data signals. Subsequently, the second output pin of the microcontroller chip U2 can transmit the display signals to the display module 14. The display driver chip U1 of the display module 14 can drive the digital display tube D1, and the digital display tube D1 can display the status information of the lifting table based on the display signal.
[0049] Furthermore, the Bluetooth wireless module driver circuit 10 includes a power supply chip U3 and a battery BT1. The power supply chip U3 is connected to an external power source via its power input pin VCC and to the battery BT1 via its power output pin BAT. The power supply chip U3 regulates the power supply voltage output from the external power source and generates its own power supply voltage. This power supply voltage is used to charge the battery BT1, which in turn powers the microcontroller chip U2, the Bluetooth chip BEL1, and the display driver chip U1. When the power supply voltage exceeds a detection threshold voltage and the enable pin of the power supply chip U3 receives a high-level signal, the battery BT1 is in a charging state. If the voltage of the battery BT1 is less than a first set voltage, the power supply chip U3 charges the battery BT1 with a small current. If the voltage of the battery BT1 is greater than the first set voltage but less than a second set voltage, the power supply chip U3 charges the battery BT1 with a constant current, the value of which is determined by the resistance value of the constant current resistor R22. If the voltage of battery BT1 approaches the second preset voltage, power supply chip U3 performs constant voltage charging on battery BT1. If the charging current decreases to the charging end threshold, power supply chip U3 stops charging battery BT1. The charging end threshold is 1 / 10 of the constant current charging current. Furthermore, when battery BT1 is charging, the first LED D2 of power supply module 15 is lit. When battery BT1 is not charging, the first LED D2 of power supply module 15 is off. When battery BT1 is fully charged, the second LED D3 of power supply module 15 is lit. When battery BT1 is not fully charged, the second LED D3 of power supply module 15 is off.
[0050] This invention provides a Bluetooth wireless module driver circuit, which includes a button module, a microcontroller module, a Bluetooth module, and a display module. The microcontroller module is equipped with a microcontroller chip. The user inputs button signals through the button module, and the microcontroller chip generates control signals based on these signals. These control signals are then transmitted to the Bluetooth module. The Bluetooth module wirelessly sends the control signals to the height-adjustable desk, allowing for control of the desk. In this Bluetooth wireless module driver circuit, the height-adjustable desk can only be controlled by one type of control signal. Therefore, the control process avoids command conflicts and minimizes the risk of operational errors.
[0051] Furthermore, the Bluetooth module also wirelessly receives data signals from the height-adjustable desk, transmitting these signals to the microcontroller chip. The microcontroller chip generates a display signal based on the data signal, and its second output pin transmits this display signal to the display module, which then displays the desk's status information. This circuit's microcontroller chip can generate both control and display signals from button signals and data signals, achieving both functions with a single chip. Therefore, the circuit's functionality does not require complex circuitry. Consequently, the Bluetooth wireless module driver circuit in this solution features high integration and a simple structure, effectively solving the technical problem of complex circuit structures in existing height-adjustable desk control circuits.
[0052] In summary, although the present invention has been disclosed above with reference to preferred embodiments, the above preferred embodiments are not intended to limit the present invention. Those skilled in the art can make various modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the scope defined in the claims.
Claims
1. A Bluetooth wireless module driver circuit, characterized in that, It includes, The button module is used to output button signals; A microcontroller module includes a microcontroller chip, the microcontroller chip including a first input pin and a first output pin, the first input pin being connected to a button module, the first output pin being connected to a Bluetooth module, the first input pin being used to receive the button signal, the microcontroller chip being used to generate a control signal based on the button signal, and the first output pin being used to transmit the control signal to the Bluetooth module; The microcontroller chip includes a second input pin and a second output pin. The second input pin is connected to the Bluetooth module, and the second output pin is connected to the display module. The second input pin is used to receive data signals from the Bluetooth module, and the microcontroller chip is used to generate display signals based on the data signals. The second output pin is used to transmit the display signals to the display module. A Bluetooth module, connected to the microcontroller module, is used to wirelessly transmit the control signal to the height-adjustable desk. The control signal is used to control the height-adjustable desk. The Bluetooth module is also used to wirelessly receive data signals from the height-adjustable desk. The display module is connected to the microcontroller module and receives the display signal to display the status information of the height-adjustable table based on the display signal.
2. The Bluetooth wireless module driver circuit of claim 1, wherein, The Bluetooth module includes a Bluetooth chip, which includes a Bluetooth input pin and a Bluetooth output pin. The Bluetooth input pin is connected to the first output pin, and the Bluetooth output pin is connected to the second input pin. The microcontroller chip also includes a sleep output pin, and the Bluetooth chip also includes a sleep input pin. The sleep output pin is connected to the sleep input pin. When the Bluetooth chip is in an idle state, the microcontroller chip outputs a sleep signal, and the Bluetooth chip is used to enter a low-power state based on the sleep signal.
3. The Bluetooth wireless module driver circuit of claim 2, wherein, The Bluetooth module includes a first MOSFET and a second MOSFET. The gate of the first MOSFET is connected to a 2.8V power supply, the source of the first MOSFET is connected to a first output pin, and the drain of the first MOSFET is connected to a Bluetooth input pin. The gate of the second MOSFET is connected to a 2.8V power supply, the source of the second MOSFET is connected to a second input pin, and the drain of the first MOSFET is connected to a Bluetooth output pin. The first MOSFET and the second MOSFET are used to eliminate the operating voltage difference between the microcontroller chip and the Bluetooth chip.
4. The Bluetooth wireless module driver circuit of claim 2, wherein, The display module includes a display driver chip and a digital display tube. The display driver chip includes a display driver input pin and a display driver output pin. The digital display tube includes a digital tube pin. The display driver input pin is connected to the second output pin, and the display driver output pin is connected to the digital tube pin. The display driver chip is used to drive the digital display tube, and the digital display tube is used to display the status information of the height adjustment table based on the display signal.
5. The Bluetooth wireless module driver circuit of claim 4, wherein, The display module further includes a third MOSFET, the display driver chip includes a display driver power supply pin, the microcontroller chip includes a shutdown pin, the gate of the third MOSFET is connected to the shutdown pin, the source of the third MOSFET is connected to the display driver power supply pin, and the drain of the third MOSFET is connected to the power supply module; when the microcontroller chip is in sleep mode, the shutdown pin outputs a shutdown signal, and the third MOSFET is in an off state based on the shutdown signal, disconnecting the power supply to the display driver chip and the digital display tube.
6. The Bluetooth wireless module driver circuit of claim 5, wherein, The Bluetooth wireless module driver circuit also includes the power supply module, which is connected to the microcontroller module, the Bluetooth module, and the display module. The power supply module is used to supply power to the microcontroller module, the Bluetooth module, and the display module.
7. The Bluetooth wireless module driver circuit of claim 6, wherein, The power supply module includes a power supply chip and a battery. The power supply chip includes a power supply input pin and a power supply output pin. The power supply input pin is connected to an external power source, and the power supply output pin is connected to the battery. The external power source is used to output a power supply voltage. The power supply chip is used to regulate the power supply voltage to generate a power supply voltage. The power supply voltage is used to charge the battery. The battery is used to supply power to the microcontroller chip, the Bluetooth chip, and the display driver chip.
8. The Bluetooth wireless module driver circuit of claim 7, wherein, The power supply chip also includes an enable pin and a constant current setting pin. The power supply module includes a constant current resistor. The enable pin is connected to an external power supply. One end of the constant current resistor is connected to the constant current setting pin, and the other end of the constant current resistor is grounded. When the power supply voltage is greater than the detection threshold voltage and the enable pin receives a high-level signal, the battery is in a charging state. If the battery voltage is less than a first set voltage, the battery is in a low-current charging state; if the battery voltage is greater than the first set voltage but less than a second set voltage, the battery is in a constant-current charging state, and the constant-current charging current is determined by the resistance value of the constant-current resistor; if the battery voltage is close to the second set voltage, the battery is in a constant-voltage charging state; if the charging current decreases to the charging end threshold, the battery is in a stopped charging state, wherein the charging end threshold is 1 / 10 of the constant-current charging current.
9. The Bluetooth wireless module driver circuit of claim 7, wherein, The power supply module further includes a first LED and a second LED. The power supply chip further includes a first indicator pin and a second indicator pin. The positive terminal of the first LED is connected to an external power supply, and the negative terminal of the first LED is connected to the first indicator pin. When the battery is charging, the first LED is lit, and when the battery is not charging, the first LED is off. The positive terminal of the second LED is connected to an external power supply, and the negative terminal of the second LED is connected to the second indicator pin. When the battery is fully charged, the second LED is lit, and when the battery is not fully charged, the second LED is off.
10. The Bluetooth wireless module driver circuit of claim 2, wherein, The model of the single-chip microcomputer chip is STM8S003F3P6TR, and the model of the Bluetooth chip is LK8625.