Waterproof switch and underwater cleaning robot

By using the Hall effect of magnets and Hall elements in the waterproof switch of the underwater cleaning robot, the high cost and performance problems caused by mechanical connections are solved, the structure and process are simplified, and the waterproof performance is improved.

CN222071858UActive Publication Date: 2024-11-26SHENZHEN CHASING INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420639225.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-11-26
Estimated Expiration
2034-03-29

AI Technical Summary

Technical Problem

The waterproof switches of existing underwater cleaning robots require high-level sealing and waterproofing treatment due to mechanical connections, which are costly and complex in process, and are prone to failure of the sealing structure due to collision and temperature changes, resulting in reduced waterproof performance.

Method used

The circuit conduction is achieved by using the Hall effect between the magnet and the Hall element. By providing the magnet and the Hall element in the first and second switch parts of the waterproof switch, the Hall is generated between the magnet and the Hall element. The effect is to realize circuit conduction and avoid mechanical connections. The second switch part is sealed in the base to ensure waterproof performance.

Benefits of technology

The overall structure and manufacturing process of the waterproof switch are simplified, manufacturing costs are reduced, and waterproof performance is improved, avoiding the impact of water on the circuit after entering the shell.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222071858U_ABST
    Figure CN222071858U_ABST
Patent Text Reader

Abstract

The utility model relates to a waterproof switch and an underwater cleaning robot. The waterproof switch comprises a shell, a base, a first switch part and a second switch part. The shell is provided with a cavity with one open end, and the base is installed in the shell. The first switch part is movably arranged on the shell, one end of the first switch part is located in the cavity, the other end of the first switch part is located outside the shell, and a magnet is arranged at the end, located in the cavity, of the first switch part. The second switch part is arranged in the base in a sealed mode, the second switch part is electrically connected with the robot body, the second switch part comprises a Hall element, and the magnet can directly face the Hall element and generate the Hall effect. According to the structure, only the waterproof device in the second switch part needs to be installed in the base in a sealed mode, and the waterproof requirement of the whole waterproof switch can be met. The integral structure of the waterproof switch is simplified, the manufacturing process is simplified, and the manufacturing cost is reduced. Even if water enters the housing, the circuit is not affected, and the waterproof performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of robots, in particular to a waterproof switch and an underwater cleaning robot. Background Art

[0002] Underwater cleaning robots are mainly used for cleaning swimming pools to remove dirt attached to the bottom and walls of the pool. The cleaning principle of the underwater cleaning robot is as follows: a filter component is installed inside the underwater cleaning robot, and a corresponding water flow channel is set to flow through the filter component. When working, the underwater cleaning robot walks freely on the bottom and wall of the pool, and drives the water at the bottom of the underwater cleaning robot into the water flow channel through a water pump. When the water flows through the filter component, it is filtered to remove the floating dirt in the water. A switch button is installed on the shell of the underwater cleaning robot to control the underwater cleaning robot's opening, closing, operating mode conversion and other functions. The existing switch buttons are mainly key-type, shift-type or boat-type, and the switch button mainly realizes the on-off of the circuit by mechanical connection.

[0003] The existing technology has the following shortcomings: 1) The switch button of the mechanical connection form needs to be sealed and waterproofed at a higher level, which is costly and complicated. 2) During the working process, the sealing structure often fails due to collision and temperature changes, which leads to the reduction of the waterproof performance of the underwater cleaning robot. Utility Model Content

[0004] The utility model aims to provide a waterproof switch and an underwater cleaning robot, which have simple structure, low processing cost and good waterproof performance.

[0005] To achieve this purpose, the utility model adopts the following technical solutions:

[0006] A waterproof switch is provided, comprising:

[0007] A shell, which is provided with a cavity with an opening at one end, the shell is used to be connected to the robot body, and the robot body blocks the opening of the shell;

[0008] a base mounted in the housing;

[0009] A first switch part is slidably disposed on the housing, one end of the first switch part is located in the cavity, and the other end of the first switch part passes through the housing and extends to the outside of the housing, and a magnet is disposed at one end of the first switch part located in the cavity;

[0010] The second switch part is sealed and arranged in the base. The second switch part is electrically connected to the robot body. The second switch part includes a Hall element. The magnet can face the Hall element and generate a Hall effect.

[0011] Furthermore, a receiving groove is recessed on the base, the notch of the receiving groove and the opening of the cavity are located on the same side, the receiving groove is filled with sealant, the second switch part also includes a PCB board, the Hall element is installed on the PCB board, and the PCB board and the Hall element are both embedded in the sealant.

[0012] Furthermore, the second switch unit also includes a wire, and a circuit is connected between the PCB board and the robot body through the wire.

[0013] Furthermore, the second switch unit also includes an indicator light, which is mounted on the PCB board, and a light-transmitting display area corresponding to the indicator light is provided on the base and the housing.

[0014] Furthermore, a plurality of the Hall elements are arranged on the PCB board, and the plurality of the Hall elements are distributed at intervals along the movement direction of the first switch part.

[0015] Furthermore, the first switch part also includes a sliding button and a slider, a sliding rail is provided in the shell, the slider is slidably connected to the sliding rail, the sliding button is installed on the slider, and one end of the sliding button extends to the outside of the shell, and the magnet is installed on the sliding button or the slider.

[0016] Furthermore, two limiting posts are arranged in the cavity, and the two limiting posts are arranged at intervals along the sliding direction of the slider. The slider is arranged between the two limiting posts, and limiting grooves that are plugged into and matched with the limiting posts are respectively arranged at both ends of the slider.

[0017] Furthermore, at least two mounting columns are arranged in the cavity at intervals, the base is detachably connected to the mounting columns via fasteners, and the sliding block is clamped between the slide rail and the base.

[0018] An underwater cleaning robot is also provided, comprising a robot body and a waterproof switch, wherein a groove is arranged on the outer wall of the robot body, the waterproof switch is installed at the bottom of the groove, and the opening end of the shell of the waterproof switch is tightly pressed against the bottom of the groove.

[0019] Furthermore, the housing of the waterproof switch is installed and fixed to the robot body by means of a snap connection or a fastener connection.

[0020] The beneficial effects of the utility model are as follows: by respectively arranging a magnet and a Hall element in the first switch part and the second switch part, the Hall effect between the magnet and the Hall element is used to realize circuit conduction, thereby realizing the switch, mode conversion and other functions of the waterproof switch. This structure can avoid mechanical connection between the first switch part and the second switch part. It is only necessary to seal and install waterproof devices such as the PCB board and the Hall element in the second switch part in the base to meet the waterproof requirements of the entire waterproof switch. There is no need to arrange a complex waterproof structure in the corresponding area between the first switch part and the second switch part, which is conducive to simplifying the overall structure of the waterproof switch, simplifying the manufacturing process, and reducing the manufacturing cost. At the same time, since the waterproof switch uses the magnetic field of the magnet to realize the circuit conduction of the second switch part, and the second switch is sealed in the base, even if water enters the shell, it will not affect the circuit, which is conducive to improving the waterproof performance of the entire waterproof switch. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of a waterproof switch according to an embodiment of the utility model.

[0022] Figure 2 This is an exploded view of the waterproof switch according to an embodiment of the utility model from a first perspective.

[0023] Figure 3 This is an exploded view of the waterproof switch according to an embodiment of the utility model from a second viewing angle.

[0024] Figure 4 Schematic diagram of a sliding button according to an embodiment of the present utility model.

[0025] Figure 5 Schematic diagram of an underwater cleaning robot according to an embodiment of the utility model.

[0026] In the figure:

[0027] 1. Shell; 11. Cavity; 12. Slide rail; 13. Limiting column; 14. Mounting column; 2. Base; 21. Accommodating groove; 22. Mounting hole; 3. First switch unit; 31. Slide button; 311. Positioning column; 312. Buckle; 32. Magnet; 33. Slider; 331. Slide groove; 332. Limiting groove; 4. Second switch unit; 41. PCB board; 42. Hall element; 43. Wire clamp; 44. Indicator light;

[0028] 100, housing; 110, groove; 200, walking assembly; 300, cleaning assembly; 400, water outlet; 500, filtering assembly. DETAILED DESCRIPTION

[0029] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved more clearly, the technical solutions of the present invention are further explained below with reference to the accompanying drawings and through specific implementation methods.

[0030] like Figures 1 to 3 As shown, the utility model provides a waterproof switch for an underwater cleaning robot. The underwater cleaning robot includes a robot body and a waterproof switch, and the robot body is used to perform underwater walking, dirt cleaning, filtering and other functions. The waterproof switch is installed on the outer wall of the robot body, and the waterproof switch is electrically connected to the control circuit board in the robot body to realize the opening, closing, operation mode conversion, etc. of the robot body.

[0031] The waterproof switch includes a housing 1, a base 2, a first switch part 3 and a second switch part 4. The housing 1 plays an integral supporting role and a waterproof protection role. The base 2 is mounted on the housing 1, and the base 2 is used to mount the second switch part 4. The first switch part 3 is slidably arranged on the housing 1. The first switch part 3 and the second switch part 4 can move relative to each other. The relative movement between the first switch part 3 and the second switch part 4 is used to realize the circuit on and off, thereby realizing the opening, closing and operation mode conversion of the robot body.

[0032] The housing 1 is made of commonly used engineering plastics. The housing 1 is provided with a cavity 11 with an opening at one end. The housing 1 is used to connect with the robot body, and the robot body can block the opening of the housing 1 so that the cavity 11 is in a sealed state. It should be noted that the cavity 11 is connected to the robot body in an abutting manner, so its sealing state is determined by the surface roughness of the material and the tightness of the connection, and is not an ideal sealed state. The base 2 is installed in the cavity 11 of the housing 1. In order to facilitate the line arrangement of the second switch unit 4, part of the base 2 passes through the housing 1 and extends to the outside of the cavity 11. Of course, in some embodiments, the base 2 can also be completely accommodated in the cavity 11. The second switch unit 4 is sealed in the base 2, and the second switch unit 4 is electrically connected to the robot body. The second switch unit 4 is sealed in the base 2 to ensure the waterproof performance of the control circuit in the second switch unit 4 and avoid short circuit due to water entering the housing 1. The first switch unit 3 is movably installed on the housing 1, and the first switch unit 3 is located on the side of the housing 1 away from the robot body. The first switch part 3 can move along the length direction (X direction in the figure) of the housing 1 to achieve relative movement between the first switch part 3 and the second switch part 4 installed on the base 2 .

[0033] One end of the first switch part 3 is located in the cavity 11, and the other end passes through the shell 1 and extends to the outside of the shell 1. The user can move the first switch part 3 by toggling the first switch part 3 located outside. A magnet 32 ​​is provided at one end of the first switch part 3 located in the cavity 11. The second switch part 4 includes a Hall element 42, and the position of the Hall element 42 matches the movement path of the first switch part 3. By driving the first switch part 3 to move, the magnet 32 ​​can be moved to a position facing the Hall element 42. In this embodiment, the magnet 32 ​​and the Hall element 42 are facing each other in the depth direction of the shell 1 (the Y direction shown in the figure). When the ferromagnet 32 ​​and the Hall element 42 are facing each other, the two generate a Hall effect to turn on the corresponding control circuit to realize the control function of the waterproof switch.

[0034] It is understandable that by installing the first switch part 3 and the second switch part 4 on the housing 1 and the base 2 respectively, the Hall effect between the magnet 32 ​​and the Hall element 42 is used to realize the circuit conduction. Since there is no need for direct contact between the two, the waterproof requirement of the entire waterproof switch can be achieved by directly sealing the second switch part 4 inside the base 2, and there is no need to arrange a complex waterproof structure between the first switch part 3 and the second switch part 4, which is conducive to simplifying the overall structure of the waterproof switch, simplifying the manufacturing process, and thus reducing the manufacturing cost. At the same time, since the waterproof switch uses the magnetic field of the magnet 32 ​​to realize the circuit conduction of the second switch part 4, and the second switch part 4 is sealed in the base 2, even if water enters the housing 1, it will not affect the circuit, which is conducive to improving the waterproof performance of the entire waterproof switch.

[0035] Specifically, the second switch unit 4 includes a PCB board 41, a Hall element 42, a wire clamp 43, an indicator light 44 and a wire (not shown in the figure). The PCB board 41 is "L"-shaped, and the PCB board 41 includes a first section parallel to the length direction of the housing 1 and a second section perpendicular to the first section. One end of the wire is connected to the second section of the PCB board 41, and the wire is fixed to the PCB board 41 through the wire clamp 43. The other end of the wire is connected to the control circuit board of the robot body. The second switch unit 4 is connected to the robot body by a wire, and the length of the wire can be adaptively selected according to the installation position of the control circuit board on the robot body. There is no need to install the control circuit board near the waterproof switch, so that the structural design of the entire underwater cleaning robot is more flexible. The Hall element 42 can be set to one or more, and the number of Hall elements 42 matches the corresponding control circuit of the robot body. For example, when there is one Hall element 42, the robot body is turned on by toggling the magnet 32 ​​of the first switch part 3 to face the Hall element 42; when there are multiple Hall elements 42, the robot body is turned on and the operating gear is adjusted by toggling the magnet 32 ​​of the first switch part 3 to face one of the Hall elements 42. When there are multiple Hall elements 42, the multiple Hall elements 42 are spaced along the length direction of the first section of the PCB board 41. It can also be understood that the multiple Hall elements 42 are spaced along the movement direction of the first switch part 3, so that the magnet 32 ​​can face one of the Hall elements 42. The indicator light 44 is connected to the PCB board 41 to display the current state of the waterproof switch or the operating state of the robot body. For example, after turning on, the indicator light 44 is displayed as always on; when working in water, it is displayed as a slow flash of 5Hz; when the battery is low, it is displayed as a fast flash of 15Hz; when there is an operating fault, it is displayed as a breathing flashing state. In addition, the indicator light 44 is set to display different colors of light to indicate the states of power on, power off, operation and low battery. Correspondingly, the light-transmitting display area or the overall structure on the base 2 and the housing 1 corresponding to the indicator light 44 should be set to a transparent or translucent material so that the user can observe the light from the outside.

[0036] Specifically, the shape of the base 2 is matched with the shape of the second switch part 4. In this embodiment, the base 2 is "L" shaped, and the base 2 includes a first section and a second section connected vertically to each other. The first section of the base 2 is completely contained in the cavity 11 of the shell 1, and the end of the second section away from the first section passes through the shell 1 and extends to the outside. A receiving groove 21 is provided on the side of the base 2 facing the robot body (i.e., the side of the base 2 facing the opening of the shell 1), and the notch of the receiving groove 21 is located on the same side as the opening of the cavity 11, and the receiving groove 21 is used to accommodate the PCB board 41. The receiving groove 21 is filled with sealant, and the PCB board 41, the Hall element 42 and other devices with waterproof requirements are embedded in the sealant to achieve waterproofing of the second switch part 4. It can be understood that the second switch part 4 is in a stationary state. During the manufacturing process, the PCB board 41 is installed in the receiving groove 21 and filled with sealant. Compared with the sealing structure provided between the first switch part 3 and the second switch part 4, this embodiment has the characteristics of small sealing area, simple process and low cost.

[0037] The second section of the PCB board 41 is located inside the second section of the base 2, that is, the end of the second section of the PCB board 41 away from the first section extends to the outside of the housing 1. This structure facilitates the connection of wires. Of course, in other embodiments, the entire base 2 can also be accommodated inside the housing 1, and one end of the wire can be extended through the housing 1 to the cavity 11 for connection.

[0038] The base 2 and the housing 1 are detachably connected by fasteners, and the fasteners are screws. The base 2 is provided with at least two mounting holes 22, and the mounting holes 22 are used to pass screws. Correspondingly, at least two mounting posts 14 are provided in the cavity 11 of the housing 1, and the number and position of the mounting posts 14 match the mounting holes 22. The mounting posts 14 are provided with threaded holes for mounting screws. The base 2 is fixed to the mounting posts 14 by screws.

[0039] Specifically, the first switch part 3 includes a slide button 31, a magnet 32 ​​and a slider 33. The slider 33 is located in the cavity 11, and a slide groove 331 is provided on a side of the slider 33 that is away from the opening of the cavity 11. Correspondingly, a slide rail 12 is provided on the inner wall of the housing 1, and the slide rail 12 is slidably matched with the slide groove 331. The slide rail 12 is inserted into the slide groove 331 and can slide along the length direction of the slide groove 331 (X direction in the figure), and the sliding direction of the slide rail 12 is the movement direction of the first switch part 3. The base 2 is spaced apart from the slide rail 12, and the slider 33 is sandwiched between the slide rail 12 and the base 2 to achieve the limit of the slider 33 in the depth direction of the housing 1. Along the length direction of the slide groove 331, the two ends of the slider 33 are respectively provided with limit grooves 332. Correspondingly, two limit posts 13 are provided on the inner wall of the housing 1, and the two limit posts 13 are spaced apart along the sliding direction of the slider 33. The slide rail 12 is located between the two limit posts 13, that is, the slider 33 is located between the two limit posts 13. The limit posts 13 are plugged into the limit slots 332. It can be understood that the function of the limit posts 13 is to limit the movement of the slider 33, and then limit the movement of the entire first switch part 3. In actual applications, when the slider 33 is plugged into one of the limit posts 13, the waterproof switch is closed; when the slider 33 is plugged into the other limit post 13, the magnet 32 ​​is facing the Hall element 42, and the waterproof switch is turned on. By plugging the limit posts 13 into the limit slots 332, the first switch part 3 can be fixed to prevent the first switch part 3 from sliding freely. The slide button 31 is for user operation, one end of the slide button 31 is installed on the slider 33, and the other end passes through the housing 1 and extends to the outside of the housing 1. Since the sliding button 31 and the slider 33 move synchronously, the magnet 32 ​​can be installed on the sliding button 31 or on the slider 33 , as long as the magnet 32 ​​can move to a position facing the Hall element 42 .

[0040] Specifically, refer to Figure 4 As shown, the slide button 31 includes an operation panel and a positioning column 311 and a buckle 312 arranged on the operation panel. The operation panel is located outside the housing 1. The positioning column 311 and the buckle 312 pass through the housing 1 and extend into the cavity 11. The slider 33 is provided with a positioning hole that cooperates with the positioning column 311, and the positioning column 311 is inserted into the positioning hole of the slider 33 to achieve the installation and positioning of the two. The slider 33 is also provided with a card slot that cooperates with the buckle 312, and the buckle 312 is engaged with the card slot of the slider 33 to achieve a fixed connection between the two. It can be understood that the slide button 31 and the slider 33 are connected and fixed by a card connection, which is convenient for installation. A countersunk hole is provided on one of the positioning columns 311, and the magnet 32 ​​is installed in the countersunk hole of the positioning column 311.

[0041] like Figure 5As shown, an underwater cleaning robot is also provided, including a robot body and a waterproof switch. The robot body includes a housing 100, a walking assembly 200, a cleaning assembly 300 and a filtering assembly 500. The housing 100 plays an integral supporting role, and the walking assembly 200, the cleaning assembly 300 and the filtering assembly 500 are all mounted on the housing 100. The walking assembly 200 includes a driving member and a crawler track, the driving member is arranged inside the housing 100, and the crawler track is respectively mounted on the left and right sides of the housing 100. The driving member is a motor, and the driving member is connected to the crawler track through an existing transmission mechanism (gear transmission mechanism, belt transmission mechanism, etc.) to drive the crawler track to rotate, thereby realizing the robot body walking in the front and rear directions. The cleaning assembly 300 includes a driving member and a roller brush, the driving member is arranged inside the housing 100, and the roller brush is arranged on the front side of the housing 100. The driving member is a motor, and the driving member is connected to the roller brush through an existing transmission mechanism to drive the roller brush to rotate. The roller brush scrubs the bottom or wall of the pool to suspend the deposited dirt in the water. The filter assembly 500 includes a filter basket and a water pump. A water flow channel is provided on the housing 100, and the water pump and the filter basket are provided in the water flow channel. The inlet end of the water flow channel is located at the bottom of the housing 100, and the outlet end of the water flow channel is located at the left and right sides of the housing 100, that is, the left and right sides of the housing 100 form water outlets 400. Driven by the water pump, the water at the bottom of the robot body enters the water flow channel and is discharged from the water outlet 400. In practical applications, the steering movement of the robot body can be achieved by controlling the flow of the two water outlets 400. When water flows through the filter basket, the dirt in the water is intercepted by the filter basket to achieve filtering of the water. The filter basket can be detachably installed on the top of the housing 100 to facilitate cleaning of the internal dirt.

[0042] A groove 110 is provided on the outer wall of the housing 100, and the groove 110 is located on the front side of the robot body. The waterproof switch is installed at the bottom of the groove 110, and the open end of the housing 1 is tightly pressed against the bottom of the groove 110. The housing 1 and the slide button 31 of the waterproof switch are both located inside the groove 110, so that the entire waterproof switch is recessed on the outer wall of the housing 100 to prevent the underwater cleaning robot from colliding or rubbing with other objects during operation and accidentally touching the switch. The housing 1 of the waterproof switch is fixed to the housing 100 by means of a snap connection or a fastener connection.

[0043] The significant effect of this embodiment is that by arranging the magnet 32 ​​and the Hall element 42 in the first switch part 3 and the second switch part 4 respectively, the Hall effect is generated between the magnet 32 ​​and the Hall element 42 to realize the circuit conduction, thereby realizing the switch, mode conversion and other functions of the waterproof switch. This structure can avoid the mechanical connection between the first switch part 3 and the second switch part 4. It is only necessary to seal and install the waterproof components such as the PCB board 41 and the Hall element 42 in the second switch part 4 in the base 2 to meet the waterproof requirements of the entire waterproof switch. There is no need to arrange a complex waterproof structure in the corresponding area between the first switch part 3 and the second switch part 4, which is conducive to simplifying the overall structure of the waterproof switch, simplifying the manufacturing process, and reducing the manufacturing cost. At the same time, since the waterproof switch uses the magnetic field of the magnet 32 ​​to realize the circuit conduction of the second switch part 4, and the second switch part 4 is sealed in the base 2, even if water enters the housing 1, it will not affect the circuit, which is conducive to improving the waterproof performance of the entire waterproof switch.

[0044] The above contents are only preferred embodiments of the present invention. For ordinary technicians in this field, according to the concept of the present invention, there will be changes in the specific implementation methods and application scopes. The contents of this specification should not be understood as limiting the present invention.

Claims

1. A waterproof switch, characterized in that: include: A shell, which is provided with a cavity with an opening at one end, the shell is used to be connected to the robot body, and the robot body blocks the opening of the shell; a base mounted in the housing; A first switch part is slidably disposed on the housing, one end of the first switch part is located in the cavity, and the other end of the first switch part passes through the housing and extends to the outside of the housing, and a magnet is disposed at one end of the first switch part located in the cavity; The second switch part is sealed and arranged in the base. The second switch part is electrically connected to the robot body. The second switch part includes a Hall element. The magnet can face the Hall element and generate a Hall effect.

2. The waterproof switch according to claim 1, characterized in that: A receiving groove is recessed on the base, the notch of the receiving groove and the opening of the cavity are located on the same side, the receiving groove is filled with sealant, the second switch part also includes a PCB board, the Hall element is mounted on the PCB board, and the PCB board and the Hall element are both embedded in the sealant.

3. The waterproof switch according to claim 2, characterized in that: The second switch unit also includes a wire, and a circuit is connected between the PCB board and the robot body through the wire.

4. The waterproof switch according to claim 2, characterized in that: The second switch unit further includes an indicator light, which is mounted on the PCB board, and a light-transmitting display area corresponding to the indicator light is provided on the base and the housing.

5. The waterproof switch according to claim 2, characterized in that: A plurality of the Hall elements are arranged on the PCB board, and the plurality of the Hall elements are distributed at intervals along the moving direction of the first switch part.

6. The waterproof switch according to any one of claims 1 to 5, characterized in that: The first switch part also includes a sliding button and a slider. A sliding rail is arranged in the shell. The slider is slidably connected to the sliding rail. The sliding button is installed on the slider, and one end of the sliding button extends to the outside of the shell. The magnet is installed on the sliding button or the slider.

7. The waterproof switch according to claim 6, characterized in that: Two limiting posts are arranged in the cavity, and the two limiting posts are arranged at intervals along the sliding direction of the slider. The slider is arranged between the two limiting posts, and limiting grooves for plugging and cooperating with the limiting posts are respectively arranged at both ends of the slider.

8. The waterproof switch according to claim 6, characterized in that: At least two mounting columns are arranged in the cavity at intervals, the base is detachably connected to the mounting columns via fasteners, and the sliding block is clamped between the slide rail and the base.

9. An underwater cleaning robot, characterized in that: It comprises a robot body and a waterproof switch as described in any one of claims 1 to 8, wherein a groove is arranged on the outer wall of the robot body, the waterproof switch is installed at the bottom of the groove, and the opening end of the shell of the waterproof switch is tightly pressed against the bottom of the groove.

10. The underwater cleaning robot according to claim 9, characterized in that: The housing of the waterproof switch is installed and fixed to the robot body by means of a snap connection or a fastener connection.