CN111610743A - Arduino-based bath chair and control method thereof - Google Patents
Arduino-based bath chair and control method thereof Download PDFInfo
- Publication number
- CN111610743A CN111610743A CN202010558763.3A CN202010558763A CN111610743A CN 111610743 A CN111610743 A CN 111610743A CN 202010558763 A CN202010558763 A CN 202010558763A CN 111610743 A CN111610743 A CN 111610743A
- Authority
- CN
- China
- Prior art keywords
- chair
- bathing
- arduino
- leg
- arduino controller
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000003287 bathing Methods 0.000 claims abstract description 95
- 230000007246 mechanism Effects 0.000 claims abstract description 89
- 238000004891 communication Methods 0.000 claims abstract description 39
- 230000009471 action Effects 0.000 claims abstract description 35
- 230000000630 rising effect Effects 0.000 claims abstract description 23
- 238000005507 spraying Methods 0.000 claims description 24
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 18
- 230000008054 signal transmission Effects 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- 238000005406 washing Methods 0.000 claims description 4
- 230000005611 electricity Effects 0.000 claims description 3
- 230000003014 reinforcing effect Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47K—SANITARY EQUIPMENT NOT OTHERWISE PROVIDED FOR; TOILET ACCESSORIES
- A47K3/00—Baths; Douches; Appurtenances therefor
- A47K3/12—Separate seats or body supports
- A47K3/122—Seats
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47K—SANITARY EQUIPMENT NOT OTHERWISE PROVIDED FOR; TOILET ACCESSORIES
- A47K3/00—Baths; Douches; Appurtenances therefor
- A47K3/12—Separate seats or body supports
- A47K3/125—Body supports
Landscapes
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Devices For Medical Bathing And Washing (AREA)
Abstract
A bathing chair based on Arduino and a control method thereof, wherein the bathing chair comprises a bathing chair body, a seat and a backrest, wherein the bathing chair body comprises a supporting leg part, a seat rest part and an armrest; the bath chair action execution unit comprises a shoulder massage mechanism, a leg mechanical arm bath mechanism and an auxiliary rising mechanism; the bathing chair control unit comprises a signal acquisition mechanism, a control box, a function switch and a handheld terminal, wherein the control box is embedded on the backrest, and a communication module, an Arduino controller, a Bluetooth downloading module and a firmware burning module are arranged in the control box; the control method comprises the following steps: signal acquisition mechanism, function switch data acquisition transmit for Arduino controller and handle, send cell-phone APP through communication module, and the opening or the instruction of closing that send through cell-phone APP are received to Arduino controller simultaneously, open or close corresponding bathing equipment, and the human body carries out automatic bathing. The invention has the beneficial effects that: all bathing equipment and the android mobile phone are connected in series to form a closed control loop for display and control, and the performance is stable.
Description
Technical Field
The invention relates to a bathing chair based on Arduino and a control method thereof.
Background
Along with the tendency of the people in China to become active along with urbanization and fast pace and the improvement of living standard, the demand of people on bath products is continuously increased. In order to adapt to the change of times, bath equipment design and manufacturers also provide a plurality of bath equipment suitable for the requirements of Chinese people, from bathtubs with relatively simple functions to massage baths with extremely high comfort level and the like. At present, the intelligent home is more and more widely applied, and the design and research of bath system auxiliary facilities in China just start, so that the research of intelligent bath chairs is necessary. In recent years, bath control based on different microcontrollers can only realize water temperature control, and complex control cannot be realized by simple movement in cooperation with a mechanical structure of the device.
Disclosure of Invention
In order to solve the problems, the invention provides an Arduino-based bathing chair and a control method thereof, wherein a wireless communication module is adopted to integrate the water temperature, the sitting or not of a person on the chair, the opening and closing parameters of a function switch and the control of related bathing equipment on an android mobile phone to form a palm control system.
The invention relates to an Arduino-based bath chair which is characterized by comprising the following components in parts by weight:
the bath chair body comprises supporting legs, a seat rest part and armrests, wherein the bottoms of the supporting legs are supported on the ground or a mounting surface and used for mounting the seat rest part and the armrests; the seat-back part comprises a seat surface and a backrest, wherein the seat surface is arranged at the upper part of the supporting leg part, and the backrest is arranged at the rear part of the supporting part and is used for a user to seat; the armrests are arranged on two sides of the supporting leg part and are used for being held by a user;
the bath chair action execution unit comprises a shoulder massage mechanism, a leg mechanical arm bath mechanism and an auxiliary rising mechanism, wherein the shoulder massage mechanism is arranged on the backrest of the bath chair body and is used for massaging the shoulders of a user; the leg mechanical arm bathing mechanism is arranged on the supporting leg of the bathing chair body and used for washing the leg of the user; the auxiliary rising mechanism is arranged below the chair surface of the bath chair body and is used for supporting the rear part of the chair surface to rise so as to assist a user to rise;
the bathing chair control unit comprises a signal acquisition mechanism, a control box, a functional switch and a handheld terminal, wherein the signal acquisition mechanism is arranged on a bathing chair body, the control box is embedded on a backrest, a sensor and an electrical equipment control line interface are reserved on the control box, a communication module, an Arduino controller, a Bluetooth downloading module and a firmware burning module are arranged in the control box, the signal output ends of the signal acquisition mechanism, the functional switch, the Bluetooth downloading module and the firmware burning module are respectively and electrically connected with the signal input end of the Arduino controller through DuPont wires, the signal transmission port of the Arduino controller is electrically connected with the signal transmission port of the communication module, and the wireless communication port of the communication module is in communication connection with the handheld terminal and used for realizing the signal transmission between the handheld terminal and the Arduino controller; the signal output end of the Arduino controller is electrically connected with the control ends of the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism through corresponding conducting wires and is used for controlling the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism to work; the function switch is embedded on the armrest of the bath chair body and comprises a plurality of function sub-switches, and the function sub-switches are respectively connected in series in a circuit connected with each action execution part of the bath chair action execution unit and the Arduino controller and are used for controlling the action of each action execution part.
Signal acquisition mechanism includes temperature sensor and infrared ray sensor, temperature sensor with infrared ray sensor, respectively with the signal input part electricity of Arduino controller is connected, wherein temperature sensor is used for detecting the temperature, infrared ray sensor is used for detecting whether someone in the seat of bathing chair body leans on in the portion.
The supporting leg part comprises a plurality of chair legs, connecting beams and chair leg supporting legs, and the top ends of two adjacent chair legs are connected together through the connecting beams to form a frame type supporting structure with the top capable of accommodating a chair surface; the chair leg supporting legs are arranged between the two chair legs and used for supporting and reinforcing the chair legs to prevent the bath chair body from shaking; the bottom of the backrest is fixedly connected with the connecting beam at the rear part of the supporting leg part and is used for the back of a user to lean; the chair surface is arranged in the frame type supporting structure, the front end of the chair surface is hinged on the connecting beam at the front part of the supporting leg part through a hinge, and the rear part of the chair surface is hinged with the lifting end of the auxiliary standing-up mechanism, so that the chair surface can rotate around the hinge at the front part of the auxiliary standing-up mechanism under the pushing of the auxiliary standing-up mechanism.
The auxiliary rising mechanism is an electric push rod, the electric push rod is vertically fixed on the ground or a mounting surface below the chair surface through a base, and a pushing end of the electric push rod is hinged with the rear part of the chair surface as a lifting end of the auxiliary rising mechanism and used for pushing the rear part of the chair surface to lift.
The shoulder massage mechanism comprises a shoulder massage frame body and a shoulder massage motor, the shoulder massage frame body comprises a guide rail and a sliding piece, and the guide rail is paved on the end face of the backrest facing a user; the sliding piece is arranged on the guide rail in a sliding mode, the plurality of shoulder massage motors are fixedly arranged on the sliding piece, and the control end of each shoulder massage motor is electrically connected with the corresponding signal output end of the Arduino controller, so that the sliding piece can slide axially along the guide rail to adjust the position of the shoulder massage motor on the sliding piece.
The leg mechanical arm bathing mechanism comprises a leg mechanical arm and a spraying device, wherein the leg mechanical arm is arranged on a chair leg supporting leg on one side of a supporting leg, consists of a plurality of moving parts which are mutually hinged together and is used for installing and adjusting the spraying device to align to the leg of a user; the spraying device is installed on the moving part at the foremost end, the water inlet of the spraying device is communicated with an external water source pipeline through a water pipe, the water outlet of the spraying device is provided with a spraying head, and the control end of the spraying device is electrically connected with the corresponding signal output end of the Arduino controller and used for spraying the legs of a user under the control of the Arduino controller.
The bath chair also comprises a plurality of signal indicating lamps, wherein the signal indicating lamps are respectively connected in series into a control circuit connected with each action executing component of the bath chair action executing unit and the Arduino controller and are used for displaying whether each action executing component of the bath chair action executing unit works or not.
The handheld terminal is a mobile phone, and an APP capable of mutually accessing the communication module is additionally arranged in the mobile phone; the model of the Arduino controller is ArduinoMega 2560; the communication module is NodeMcu; the model of the temperature sensor is MCU-680; the infrared sensor is TCRT 5000; the model of the functional switch is KCD 1-101; the Bluetooth download module is HC-42nRF 52832; the signal indicator lamp is AD16-22 SM; the firmware burning module is ESP 8266.
The control method for bathing by utilizing the Arduino-based bathing chair comprises the following steps of:
1) the signal acquisition mechanism sends a sensor signal, the function switch sends a function switch signal: the infrared sensor identifies the posture of a human body, the temperature sensor measures the average value of water temperature, the function switch reads whether the function subswitches corresponding to different functions are pressed down or not, and the read data are transmitted to the Arduino controller through a DuPont wire;
2) arduino controller reads data: the Arduino controller processes the read data and sends the data to the current state of the bath chair of the mobile phone APP through the communication module, when a user wants to take a bath, corresponding buttons on an interface of the mobile phone APP are pressed or the control of the mobile phone APP is selected, corresponding instruction data are sent to the Arduino controller through the communication module, and otherwise, the mobile phone APP does not return any data and only receives the data;
3) the Arduino controller judges whether to self-process: after the Arduino controller processes and transmits data of each sensor, if the data are processed, instruction data from a mobile phone APP are received, a mobile phone APP processing mode is entered, the mobile phone APP is used as a control core at the moment, if different bathing device buttons are pressed, corresponding bathing devices are immediately controlled, and an electric push rod, a shoulder massage motor and a leg mechanical arm bathing device operate according to instructions; if the temperature measured by the temperature sensor is not equal to the preset value, bathing is suspended, and bathing under the condition of overhigh temperature or overlow temperature is avoided; when bathing, the Arduino controller controls the bathing devices in the corresponding areas to work, so that the massage corresponding signal indicator lamps are turned on when the shoulder massage motors controlled by the Arduino controller operate to bath the shoulders, and meanwhile, the Arduino controller controls the corresponding leg mechanical arm bathing devices to turn on the leg bathing corresponding signal indicator lamps; the user can also directly turn on or turn off a certain bathing device through the function switch;
4) after bathing is finished, the Arduino controller controls the electric push rod to rise, a corresponding signal indicator lamp is turned on when a person is lifted, the infrared sensor senses and identifies that a human body leaves an area, the electric push rod slowly and controllably descends to a flat plate state, and bathing is finished.
The working principle is as follows: the back of the body is bathed with control box installation bathing chair to intelligence bathing chair through the mode of comprehensive wiring, reserve sensor and electrical equipment control line interface on the control box, temperature sensor, infrared ray sensor, function switch transmits data acquisition for the Arduino controller, the Arduino controller is handled received data, send cell-phone APP through communication module, the opening or closing instruction that sends through cell-phone APP is received to the Arduino controller simultaneously, open or close corresponding bathing equipment, the human body carries out automatic bathing. The cell-phone end both is the display end of whole device parameter and is the control end of bathing equipment, and the cell-phone can be to Arduino controller send instruction close or open corresponding bathing equipment to the realization is to the intelligent control of different module bathing, simultaneously, can also switch into Arduino controller control mode when cell-phone APP no longer controls or when not using for a long time, according to temperature sensor, infrared ray sensor function switch's data and predetermined numerical value contrast judgement remove each bathing equipment of control.
The invention has the beneficial effects that: with temperature sensor, infrared ray sensor, function switch, Arduino controller, each bathing equipment, android mobile phone through communication module series connection become the closed control loop who shows and control, stable performance, security are high, the price is lower, can improve ordinary people's life and bathing experience, have good application prospect.
Drawings
Fig. 1 is a general view of the mechanism of the present invention.
Fig. 2 is a schematic diagram of the connection of the present invention.
Fig. 3 is a control flow diagram of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
With reference to the accompanying drawings:
example 1 an Arduino-based bath chair according to the present invention comprises:
the bath chair body 1 comprises supporting legs 11, a seat rest 12 and armrests 13, wherein the bottoms of the supporting legs 11 are supported on the ground or a mounting surface and used for mounting the seat rest and the armrests; the seat back portion 12 includes a seat surface 121 and a backrest 122, wherein the seat surface 121 is mounted on the upper portion of the supporting leg portion 11, and the backrest is disposed at the rear portion of the supporting portion for seating a user; the armrests are arranged on two sides of the supporting leg part and are used for being held by a user;
the bath chair action execution unit 2 comprises a shoulder massage mechanism 21, a leg mechanical arm bath mechanism 22 and an auxiliary rising mechanism 23, wherein the shoulder massage mechanism 21 is arranged on a backrest 122 of the bath chair body and is used for massaging the shoulders of a user; the leg mechanical arm bathing mechanism 22 is arranged on the supporting leg of the bathing chair body 1 and is used for washing the leg of the user; the auxiliary rising mechanism 23 is arranged below the chair surface of the bath chair body and is used for supporting the rear part of the chair surface to rise so as to assist a user to rise;
the bathing chair control unit 3 comprises a control box 31, a function switch 32 and a handheld terminal 33, wherein the control box 31 is embedded on the backrest, a sensor and an electrical equipment control line interface are reserved on the control box 31, a signal acquisition mechanism 311, a communication module 312, an Arduino controller 313, a Bluetooth downloading module 314 and a firmware burning module 315 are arranged in the control box 31, signal output ends of the signal acquisition mechanism 311, the function switch 32, the Bluetooth downloading module 314 and the firmware burning module 315 are respectively and electrically connected with a signal input end of the Arduino controller 313 through DuPont wires, a signal transmission port of the Arduino controller 313 is electrically connected with a signal transmission port of the communication module, and a wireless communication port of the communication module 312 is in communication connection with the handheld terminal 33 and used for realizing signal transmission between the handheld terminal and the Arduino controller; the signal output end of the Arduino controller 313 is electrically connected with the control ends of the shoulder massage mechanism 21, the leg mechanical arm bathing mechanism 22 and the auxiliary rising mechanism 23 through corresponding wires, and is used for controlling the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism to work; the functional switch 32 is embedded in the armrest of the bath chair body and comprises a plurality of functional sub-switches, and the functional sub-switches are respectively connected in series in a circuit connected with each action execution part of the bath chair action execution unit and the Arduino controller and are used for controlling the action of each action execution part.
The supporting leg part 11 comprises a plurality of chair legs 111, connecting beams 112 and chair leg supporting legs 113, and the top ends of two adjacent chair legs 111 are connected with each other through the connecting beams 112 to form a frame type supporting structure with the top capable of accommodating a chair seat; the chair leg support legs 113 are arranged between the two chair legs and used for supporting and reinforcing the chair legs to prevent the bath chair body from shaking; the bottom of the backrest 122 is fixedly connected with the connecting beam at the rear part of the supporting leg, and is used for the back of the user to lean; the chair surface 121 is arranged in the frame type supporting structure, the front end of the chair surface is hinged to the connecting beam at the front part of the supporting leg part through a hinge, and the rear part of the chair surface is hinged to the lifting end of the auxiliary standing-up mechanism, so that the chair surface can rotate around the hinge at the front part of the auxiliary standing-up mechanism under the pushing of the auxiliary standing-up mechanism.
The auxiliary rising mechanism 23 is an electric push rod, the electric push rod is vertically fixed on the ground or the mounting surface below the chair surface through a base 231, and a pushing end of the electric push rod is hinged with the rear part of the chair surface as a lifting end of the auxiliary rising mechanism and used for pushing the rear part of the chair surface to rise.
The shoulder massage mechanism 21 comprises a shoulder massage frame 211 and a shoulder massage motor 212, the shoulder massage frame comprises a guide rail 2111 and a sliding part 2112, and the guide rail is paved on the end surface of the backrest facing the user; the sliding piece is arranged on the guide rail in a sliding mode, the plurality of shoulder massage motors are fixedly arranged on the sliding piece, and the control end of each shoulder massage motor is electrically connected with the corresponding signal output end of the Arduino controller, so that the sliding piece can slide axially along the guide rail to adjust the position of the shoulder massage motor on the sliding piece.
The leg mechanical arm bathing mechanism 22 comprises a leg mechanical arm 221 and a spraying device 222, wherein the leg mechanical arm is arranged on a chair leg supporting leg on one side of a supporting leg and consists of a plurality of movable parts which are hinged together, and is used for installing and adjusting the spraying device to align with the leg of a user; the spraying device is installed on the moving part at the foremost end, the water inlet of the spraying device is communicated with an external water source pipeline through a water pipe, the water outlet of the spraying device is provided with a spraying head, and the control end of the spraying device is electrically connected with the corresponding signal output end of the Arduino controller and used for spraying the legs of a user under the control of the Arduino controller.
The bathing chair body 1 further comprises a plurality of signal indicating lamps 14, wherein the signal indicating lamps 14 are respectively connected in series into a control circuit connected with each action executing component of the bathing chair action executing unit and the Arduino controller and used for displaying whether each action executing component of the bathing chair action executing unit works or not.
The handheld terminal 33 is a mobile phone, and an APP capable of mutually accessing the communication module is additionally arranged in the mobile phone; the model of the Arduino controller is ArduinoMega 2560; the communication module is NodeMcu; the model of the temperature sensor is MCU-680; the infrared sensor is TCRT 5000; the model of the functional switch is KCD 1-101; the Bluetooth download module is HC-42nRF 52832; the signal indicator lamp is AD16-22 SM; the firmware burning module is ESP 8266.
the bath chair action execution unit 2 comprises 3 action execution parts, namely a shoulder massage mechanism 21, a leg mechanical arm bath mechanism 22 and an auxiliary rising mechanism 23, wherein the shoulder massage mechanism is arranged on the backrest of the bath chair body and is used for massaging the shoulders of a user; the leg mechanical arm bathing mechanism is arranged on the supporting leg of the bathing chair body and used for washing the leg of the user; the auxiliary rising mechanism is arranged below the chair surface of the bath chair body and is used for supporting the rear part of the chair surface to rise so as to assist a user to rise;
and a bathing chair control unit 3, comprising a control box 31, a function switch 32 and a hand-held terminal 33, wherein the control box 31 is embedded on the backrest 122, a sensor and an electrical equipment control line interface are reserved on the control box 31, a communication module 312, an Arduino controller 313, a bluetooth download module 314 and a firmware burning module 315 are arranged in the control box 31, the signal output ends of the temperature sensor 3111, the infrared sensor 3112, the function switch 32, the bluetooth download module 314 and the firmware burning module 315 are electrically connected with the signal input end of the Arduino controller 313 through dupont lines respectively, to facilitate the upgrade of the program by the engineer, the bluetooth download module 314 and the firmware burning module 315 have the function of burning the program to the Arduino controller 313, when the bluetooth download module 314 or the firmware burning module 315 cannot burn due to signal interference, the other one can be used as a burning module; the signal transmission port of the Arduino controller 313 is electrically connected with the signal transmission port of the communication module 312, and the wireless communication port of the communication module 312 is in communication connection with the handheld terminal 33, so as to realize signal transmission between the handheld terminal 33 and the Arduino controller 313; the signal output end of the Arduino controller 313 is electrically connected with the control ends of the shoulder massage mechanism 21, the leg mechanical arm bathing mechanism 22 and the auxiliary rising mechanism 23 through corresponding wires, and is used for controlling the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism to work; the function switch is embedded on the armrest of the bath chair body and comprises a plurality of function sub-switches, and the function sub-switches are respectively connected in series in a circuit connected with each action execution part of the bath chair action execution unit and the Arduino controller and are used for controlling the action of each action execution part.
The Arduino controller model is Arduino-Uno, the communication module model is NodeMcu. The model of the temperature sensor is MCU-680, the model of the infrared sensor is TCRT5000, the model of the function switch is KCD1-101, the model of the Bluetooth download module is HC-42nRF52832, and the model of the signal indicator lamp is AD16-22 SM.
The temperature sensor, the infrared sensor, the signal indicator lamp and the function switch are all provided with a plurality of.
Embodiment 3 a method for controlling bathing with an Arduino-based bath chair according to the present invention comprises the steps of:
1) the signal acquisition mechanism sends a sensor signal, the function switch sends a function switch signal: the infrared sensor 3112 recognizes a posture of a human body, the plurality of temperature sensors 3111 measure an average value of temperatures, the function switch 32 reads whether or not a switch corresponding to a different function is pressed, and the read data is connected to the Arduino controller 313 through a dupont line;
2) arduino controller reads data: the Arduino controller 313 processes the read data and sends the data to the mobile phone APP through the communication module 312, when a user wants to take a bath, the corresponding button on the interface of the mobile phone APP is pressed or the control of the mobile phone APP is selected, the corresponding instruction data is sent to the Arduino controller 313 through the communication module 312 when the user presses the corresponding button or the control of the mobile phone APP is selected, otherwise, the mobile phone APP does not return any data and only accepts the data;
3) the Arduino controller judges whether to self-process: after the Arduino controller 313 processes and transmits the data of each sensor, if the Arduino controller receives instruction data from the mobile phone APP, the mobile phone APP processing mode (non-self-processing mode) is entered, at the moment, the mobile phone APP is used as a control core, if different bathing device buttons are pressed, the corresponding bathing device is immediately controlled, the electric push rod, the shoulder massage motor 212 and the leg mechanical arm bathing device 22 operate according to the instruction, if the instruction data from the mobile phone APP is not received, a self-processing mode is entered, the Arduino controller 313 serves as a control core at the moment, the Arduino controller 313 judges whether the water temperature measured by each humidity sensor 1 is not equal to a preset value or not according to comparison between the processed data and a preset value, and if the humidity measured by a certain humidity sensor 1 is not equal to the preset value, bathing is suspended, so that bathing under the condition of overhigh temperature or overlow temperature is avoided; when bathing, the Arduino controller 313 controls the operation of the bathing devices in the corresponding area, so that the massage corresponding signal indicator lamp 14 is turned on when the shoulder massage motor 212 controlled by the Arduino controller 313 operates to bath the shoulder, and meanwhile, the Arduino controller 313 controls the corresponding leg robot arm bathing device 22 to light the leg bathing corresponding signal indicator lamp 14. The user can also directly turn on or turn off a certain bathing device through the function switch.
4) After bathing is finished, the Arduino controller 313 controls the electric push rod to rise, so that the corresponding signal indicator lamp 14 lifted by a person is turned on. The infrared sensor 3112 senses and identifies the human body leaving area, and the electric push rod slowly and controllably descends to a flat plate state; and (4) bundling.
The embodiments described in this specification are merely illustrative of implementations of the inventive concept and the scope of the present invention should not be considered limited to the specific forms set forth in the embodiments but includes equivalent technical means as would be recognized by those skilled in the art based on the inventive concept.
Claims (9)
1. The utility model provides a bathing chair based on Arduino which characterized in that includes:
the bath chair body comprises supporting legs, a seat rest part and armrests, wherein the bottoms of the supporting legs are supported on the ground or a mounting surface and used for mounting the seat rest part and the armrests; the seat-back part comprises a seat surface and a backrest, wherein the seat surface is arranged at the upper part of the supporting leg part, and the backrest is arranged at the rear part of the supporting part and is used for a user to seat; the armrests are arranged on two sides of the supporting leg part and are used for being held by a user;
the bath chair action execution unit comprises a shoulder massage mechanism, a leg mechanical arm bath mechanism and an auxiliary rising mechanism, wherein the shoulder massage mechanism is arranged on the backrest of the bath chair body and is used for massaging the shoulders of a user; the leg mechanical arm bathing mechanism is arranged on the supporting leg of the bathing chair body and used for washing the leg of the user; the auxiliary rising mechanism is arranged below the chair surface of the bath chair body and is used for supporting the rear part of the chair surface to rise so as to assist a user to rise;
the bath chair control unit comprises a signal acquisition mechanism, a control box, a functional switch and a handheld terminal, wherein the signal acquisition mechanism is arranged on the bath chair body, the control box is embedded on the backrest, a sensor and an electrical equipment control line interface are reserved on the control box, a communication module, an Arduino controller, a Bluetooth downloading module and a firmware burning module are arranged in the control box, the signal output ends of the signal acquisition mechanism, the functional switch, the Bluetooth downloading module and the firmware burning module are respectively and electrically connected with the signal input end of the Arduino controller through DuPont wires, the signal transmission port of the Arduino controller is electrically connected with the signal transmission port of the communication module, and the wireless communication port of the communication module is in communication connection with the handheld terminal and used for realizing signal transmission between the handheld terminal and the Arduino controller; the signal output end of the Arduino controller is electrically connected with the control ends of the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism through corresponding conducting wires and is used for controlling the shoulder massage mechanism, the leg mechanical arm bathing mechanism and the auxiliary rising mechanism to work; the function switch is embedded on the armrest of the bath chair body and comprises a plurality of function sub-switches, and the function sub-switches are respectively connected in series in a circuit connected with each action execution part of the bath chair action execution unit and the Arduino controller and are used for controlling the action of each action execution part.
2. An Arduino based bath chair as claimed in claim 1 wherein: signal acquisition mechanism includes temperature sensor and infrared ray sensor, temperature sensor with infrared ray sensor respectively with the signal input part electricity of Arduino controller is connected, wherein temperature sensor is used for detecting the temperature, infrared ray sensor is used for detecting whether someone in the seat of bathing chair body leans on the portion.
3. An Arduino based bath chair as claimed in claim 2 wherein: the supporting leg part comprises a plurality of chair legs, connecting beams and chair leg supporting legs, and the top ends of two adjacent chair legs are connected together through the connecting beams to form a frame type supporting structure with the top capable of accommodating a chair surface; the chair leg supporting legs are arranged between the two chair legs and used for supporting and reinforcing the chair legs to prevent the bath chair body from shaking; the bottom of the backrest is fixedly connected with the connecting beam at the rear part of the supporting leg part and is used for the back of a user to lean; the chair surface is arranged in the frame type supporting structure, the front end of the chair surface is hinged on the connecting beam at the front part of the supporting leg part through a hinge, and the rear part of the chair surface is hinged with the lifting end of the auxiliary standing-up mechanism, so that the chair surface can rotate around the hinge at the front part of the auxiliary standing-up mechanism under the pushing of the auxiliary standing-up mechanism.
4. An Arduino based bath chair as claimed in claim 3 wherein: the auxiliary rising mechanism is an electric push rod, the electric push rod is vertically fixed on the ground or a mounting surface below the chair surface through a base, and a pushing end of the electric push rod is hinged with the rear part of the chair surface as a lifting end of the auxiliary rising mechanism and used for pushing the rear part of the chair surface to lift.
5. An Arduino based bath chair as claimed in claim 1 wherein: the shoulder massage mechanism comprises a shoulder massage frame body and a shoulder massage motor, the shoulder massage frame body comprises a guide rail and a sliding piece, and the guide rail is paved on the end face of the backrest facing a user; the sliding piece is arranged on the guide rail in a sliding mode, the plurality of shoulder massage motors are fixedly arranged on the sliding piece, and the control end of each shoulder massage motor is electrically connected with the corresponding signal output end of the Arduino controller, so that the sliding piece can slide axially along the guide rail to adjust the position of the shoulder massage motor on the sliding piece.
6. An Arduino based bath chair as claimed in claim 1 wherein: the leg mechanical arm bathing mechanism comprises a leg mechanical arm and a spraying device, wherein the leg mechanical arm is arranged on a chair leg supporting leg on one side of a supporting leg, consists of a plurality of moving parts which are mutually hinged together and is used for installing and adjusting the spraying device to align to the leg of a user; the spraying device is installed on the moving part at the foremost end, the water inlet of the spraying device is communicated with an external water source pipeline through a water pipe, the water outlet of the spraying device is provided with a spraying head, and the control end of the spraying device is electrically connected with the corresponding signal output end of the Arduino controller and used for spraying the legs of a user under the control of the Arduino controller.
7. An Arduino-based bath chair as claimed in claim 1 or 2 wherein: the bath chair also comprises a plurality of signal indicating lamps, wherein the signal indicating lamps are respectively connected in series into a control circuit connected with each action executing component of the bath chair action executing unit and the Arduino controller and are used for displaying whether each action executing component of the bath chair action executing unit works or not.
8. An Arduino based bath chair as claimed in claim 1 wherein: the handheld terminal is a mobile phone, and an APP capable of mutually accessing the communication module is additionally arranged in the mobile phone; the model of the Arduino controller is Arduino-Uno; the communication module is NodeMcu; the model of the temperature sensor is MCU-680; the infrared sensor is TCRT 5000; the model of the functional switch is KCD 1-101; the Bluetooth download module is HC-42nRF 52832; the signal indicating lamp is AD16-22 SM.
9. A control method for bathing by using the Arduino-based bath chair as claimed in any one of claims 1 to 8, comprising the steps of:
1) the signal acquisition mechanism sends a sensor signal, the function switch sends a function switch signal: the infrared sensor identifies the posture of a human body, the temperature sensor measures the average value of water temperature, the function switch reads whether the function subswitches corresponding to different functions are pressed down or not, and the read data are transmitted to the Arduino controller through a DuPont wire;
2) arduino controller reads data: the Arduino controller processes the read data and sends the data to the current state of the bath chair of the mobile phone APP through the communication module, when a user wants to take a bath, corresponding buttons on an interface of the mobile phone APP are pressed or the control of the mobile phone APP is selected, corresponding instruction data are sent to the Arduino controller through the communication module, and otherwise, the mobile phone APP does not return any data and only receives the data;
3) the Arduino controller judges whether to self-process: after the Arduino controller processes and transmits data of each sensor, if the data are processed, instruction data from a mobile phone APP are received, a mobile phone APP processing mode is entered, the mobile phone APP is used as a control core at the moment, if different bathing device buttons are pressed, corresponding bathing devices are immediately controlled, and an electric push rod, a shoulder massage motor and a leg mechanical arm bathing device operate according to instructions; if the temperature measured by the temperature sensor is not equal to the preset value, bathing is suspended, and bathing under the condition of overhigh temperature or overlow temperature is avoided; when bathing, the Arduino controller controls the bathing devices in the corresponding areas to work, so that the massage corresponding signal indicator lamps are turned on when the shoulder massage motors controlled by the Arduino controller operate to bath the shoulders, and meanwhile, the Arduino controller controls the corresponding leg mechanical arm bathing devices to turn on the leg bathing corresponding signal indicator lamps; the user can also directly turn on or turn off a certain bathing device through the function switch;
4) after bathing is finished, the Arduino controller controls the electric push rod to rise, a corresponding signal indicator lamp is turned on when a person is lifted, the infrared sensor senses and identifies that a human body leaves an area, the electric push rod slowly and controllably descends to a flat plate state, and bathing is finished.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010558763.3A CN111610743B (en) | 2020-06-18 | 2020-06-18 | Bathing chair based on Arduino and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010558763.3A CN111610743B (en) | 2020-06-18 | 2020-06-18 | Bathing chair based on Arduino and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111610743A true CN111610743A (en) | 2020-09-01 |
CN111610743B CN111610743B (en) | 2024-06-11 |
Family
ID=72200827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010558763.3A Active CN111610743B (en) | 2020-06-18 | 2020-06-18 | Bathing chair based on Arduino and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111610743B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777646A (en) * | 2014-01-28 | 2014-05-07 | 太仓市康辉科技发展有限公司 | System and method for controlling bathing chair |
CN104898744A (en) * | 2015-04-07 | 2015-09-09 | 深圳市卡卓无线信息技术有限公司 | Intelligent bath equipment and intelligent bath control system |
CN107765560A (en) * | 2017-09-06 | 2018-03-06 | 郭方栩 | Intelligent bathing control method and intelligent bath system |
CN212229456U (en) * | 2020-06-18 | 2020-12-25 | 浙江工业大学 | Bathing chair based on Arduino |
-
2020
- 2020-06-18 CN CN202010558763.3A patent/CN111610743B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103777646A (en) * | 2014-01-28 | 2014-05-07 | 太仓市康辉科技发展有限公司 | System and method for controlling bathing chair |
CN104898744A (en) * | 2015-04-07 | 2015-09-09 | 深圳市卡卓无线信息技术有限公司 | Intelligent bath equipment and intelligent bath control system |
CN107765560A (en) * | 2017-09-06 | 2018-03-06 | 郭方栩 | Intelligent bathing control method and intelligent bath system |
CN212229456U (en) * | 2020-06-18 | 2020-12-25 | 浙江工业大学 | Bathing chair based on Arduino |
Also Published As
Publication number | Publication date |
---|---|
CN111610743B (en) | 2024-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209950747U (en) | Intelligent desk and chair | |
KR101793835B1 (en) | Smart matress and smart mat | |
US11937690B2 (en) | Automatically adjustable desk with usage tracking and methods thereof | |
CN204972123U (en) | Self -adaptation massage sofa | |
CN206102121U (en) | Office's intelligence seat | |
CN212229456U (en) | Bathing chair based on Arduino | |
CN105832524A (en) | Electric displacement and lifting integrated bath chair control system and method | |
CN112674466A (en) | Intelligent office furniture | |
CN206809015U (en) | A kind of electricity-saving type Intelligent seat | |
CN111610743B (en) | Bathing chair based on Arduino and control method thereof | |
CN106502107A (en) | Bathroom electrical system and control method thereof | |
CN107997466A (en) | A kind of electronic sparerib shelf bed | |
CN110916322A (en) | Portable intelligent hair washing machine | |
CN111600964A (en) | Man-machine adaptability control system of intelligent closestool | |
CN111437149A (en) | Massage chair control method, massage chair and massage chair control system | |
CN212650641U (en) | Adjustment control system of electric seat | |
CN211093708U (en) | Closestool ring assembly and closestool | |
KR100919838B1 (en) | Apparatus for managing health and control method thereof | |
CN108930320A (en) | Novel intelligent closestool | |
KR101994359B1 (en) | Multifunctional Electrically-Powered Sofa | |
CN209489745U (en) | A kind of Intelligent household business furniture | |
CN207821743U (en) | A kind of shower bath of intelligentized control method | |
CN207919685U (en) | Control the Wireless voice apparatus of intelligent closestool | |
CN207532172U (en) | Intelligent sensing chair | |
CN105559408B (en) | Multifunctional massage sofa rack |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |