KR102047177B1 - Device to prevent water overflow - Google Patents

Device to prevent water overflow Download PDF

Info

Publication number
KR102047177B1
KR102047177B1 KR1020180020817A KR20180020817A KR102047177B1 KR 102047177 B1 KR102047177 B1 KR 102047177B1 KR 1020180020817 A KR1020180020817 A KR 1020180020817A KR 20180020817 A KR20180020817 A KR 20180020817A KR 102047177 B1 KR102047177 B1 KR 102047177B1
Authority
KR
South Korea
Prior art keywords
arduino
water
user
bathtub
water level
Prior art date
Application number
KR1020180020817A
Other languages
Korean (ko)
Other versions
KR20190100811A (en
Inventor
진익수
김유빈
김태현
성영록
노채은
Original Assignee
경남대학교 산학협력단
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 경남대학교 산학협력단 filed Critical 경남대학교 산학협력단
Priority to KR1020180020817A priority Critical patent/KR102047177B1/en
Publication of KR20190100811A publication Critical patent/KR20190100811A/en
Application granted granted Critical
Publication of KR102047177B1 publication Critical patent/KR102047177B1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03CDOMESTIC PLUMBING INSTALLATIONS FOR FRESH WATER OR WASTE WATER; SINKS
    • E03C1/00Domestic plumbing installations for fresh water or waste water; Sinks
    • E03C1/02Plumbing installations for fresh water
    • E03C1/05Arrangements of devices on wash-basins, baths, sinks, or the like for remote control of taps
    • E03C1/055Electrical control devices, e.g. with push buttons, control panels or the like
    • E03C1/057Electrical control devices, e.g. with push buttons, control panels or the like touchless, i.e. using sensors
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47KSANITARY EQUIPMENT NOT OTHERWISE PROVIDED FOR; TOILET ACCESSORIES
    • A47K3/00Baths; Douches; Appurtenances therefor
    • A47K3/001Accessories for baths, not provided for in other subgroups of group A47K3/00 ; Insertions, e.g. for babies; Tubs suspended or inserted in baths; Security or alarm devices; Protecting linings or coverings; Devices for cleaning or disinfecting baths; Bath insulation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D9/00Level control, e.g. controlling quantity of material stored in vessel
    • G05D9/12Level control, e.g. controlling quantity of material stored in vessel characterised by the use of electric means
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/08Alarms for ensuring the safety of persons responsive to the presence of persons in a body of water, e.g. a swimming pool; responsive to an abnormal condition of a body of water
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03CDOMESTIC PLUMBING INSTALLATIONS FOR FRESH WATER OR WASTE WATER; SINKS
    • E03C1/00Domestic plumbing installations for fresh water or waste water; Sinks
    • E03C1/02Plumbing installations for fresh water
    • E03C2001/026Plumbing installations for fresh water with flow restricting devices

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Hydrology & Water Resources (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Emergency Management (AREA)
  • Business, Economics & Management (AREA)
  • Water Supply & Treatment (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Domestic Plumbing Installations (AREA)
  • Control For Baths (AREA)

Abstract

본 발명은 물 넘침 방지 장치에 관한 것으로, 전극에 전도성 액체가 닿으면 전기의 흐름을 감지해서 욕조의 수위를 측정하여 아두이노 UNO R3로 수위정보를 제공하는 아두이노 수위센서 모듈과; 상기 아두이노 수위센서 모듈로부터 전송되는 욕조의 수위레벨을 감지하여 설정된 기준값과 비교 연산하여 외부장치인 서보모터와 사용자 정보제공 수단(320)을 단속 제어하는 아두이노 UNO R3와; 상기 아두이노 UNO R3의 제어 신호를 수신 받아 욕조에 설치된 수도꼭지개폐장치를 사용자가 원하는 0°~ 180°까지 좌우회전 각도를 설정해서 구동되는 서보모터와; 상기 사용자가 설정한 상기 서보모터의 좌우 회전각도에 따라 상기 수도꼭지개폐장치를 좌우로 회전시켜 수돗물을 단속하는 수도꼭지개폐장치와; 상기 아두이노 UNO R3의 단속 제어에 의해 사용자에게 욕조의 물 넘침 정보를 제공하는 사용자 정보제공 수단이 포함되는 것을 특징으로 하는 물 넘침 방지 장치를 구현함으로써, 욕조의 물 넘침을 자동으로 차단하고 사용자에게 LED와 알람 기능을 통해 욕조의 물 넘침 정보를 제공할 수 있도록 한 독특한 효과가 있다.The present invention relates to an apparatus for preventing water overflow, comprising: an Arduino water level sensor module that detects the flow of electricity when the conductive liquid contacts an electrode and measures the level of the bath to provide water level information to the Arduino UNO R3; An Arduino UNO R3 for detecting and controlling a water level level of the bathtub transmitted from the Arduino water level sensor module and comparing and controlling the servo motor and the user information providing means 320 as an external device; A servo motor driven by receiving a control signal of the Arduino UNO R3 and setting a left and right rotation angle to a desired 0 ° to 180 ° of the faucet switchgear installed in the bathtub; A faucet opening and closing device for controlling tap water by rotating the faucet opening and closing device left and right according to the left and right rotation angles of the servo motor set by the user; By implementing a water overflow prevention device comprising a user information providing means for providing the water overflow information of the bathtub to the user by the control of the Arduino UNO R3, by automatically blocking the water overflow of the bathtub to the user LEDs and alarms have the unique effect of providing bathtub overflow information.

Description

물 넘침 방지 장치{Device to prevent water overflow}Device to prevent water overflow

본 발명은 물 넘침 방지 장치에 관한 것으로, 특히 욕조의 물 넘침을 단속 제어하는 아두이노 UNO R3 등을 사용한 전자제어장치를 통해 욕조의 물 넘침을 방지하고 사용자에게 정보를 제공하도록 한 물 넘침 방지 장치에 관한 것이다.The present invention relates to a water overflow prevention device, and in particular, a water overflow prevention device for preventing water overflow and providing information to a user through an electronic control device using Arduino UNO R3 for controlling the water overflow in a bathtub. It is about.

최근 건강에 관심이 증대됨에 따라 반신욕을 하거나, 욕조에 물을 담아서 청결을 유지하는 경우가 많이 있다.Recently, as interest in health has increased, there are many cases in which half-baths or baths are kept in clean water.

특히, 잦은 스트레스와 많은 양의 업무, 공부 등등 현대 사회에선 이전사회보다 많은 양의 피로를 느낄 수밖에 없는 실정이다. 이러한 피로를 바로바로 풀기 위해선 여러 방법들이 있다고들 하는데, 그중에서도 집에서 따뜻한 물을 욕조에 담아서 몸을 씻는다던가, 반신욕 같은 걸로 피로를 푸는 사람들이 늘고 있다. 이때, 물을 틀어 놓고 가만히 지켜보고 있는 사람들보다는 10명중 8명은 분명히 다른 작업을 하고 있을 것이다. 이럴 때 물을 계속 틀어 놓게 되면 물이 넘쳐서 물 낭비가 되는 경우도 많다. 건망증이 있는 사람이라면 더더욱 물을 계속 틀어 놓아서 낭비가 될 것이다.In particular, frequent stress, a large amount of work, study, etc. in modern society has to feel a lot more fatigue than the previous society. It is said that there are many ways to relieve such fatigue right away, and more and more people are using the hot water in their bathtubs to wash their bodies or to relax with half body baths. At this time, 8 out of 10 would be clearly doing different tasks than those who were watching the water. If you keep the water running at this time, the water overflows and is often a waste of water. If you have forgetfulness, it will be a waste to keep the water running.

이러한 현상을 최소화 하고자 욕조나 반신욕을 할 때 물을 틀어 놓아도 어느 수위까지 차오르면 물을 멈출 수 있는 시스템 설계가 요구된다.In order to minimize this phenomenon, it is required to design a system that can stop the water when it reaches a certain level even if the water is turned on in the bath or half body bath.

한편, 대한민국 등록실용신안공보(Y1) 제20-0165805호(2000.01.15)에는 욕조의 물 넘침 방지장치가 제안된 바 있다.On the other hand, the Republic of Korea Registered Utility Model Publication (Y1) No. 20-0165805 (2000.01.15) has been proposed a water overflow prevention device of the bathtub.

이 고안기술에 의하면, 적정수위의 위치 일측에 동공(110)이 형성되고 칼라에 장공(120)이 형성된 욕조(100)와, 상기 동공(110)에 연동되고 하향하는 출구를 구비한 넘침관(210)과, 상기 넘침관(210)으로부터 낙하하는 수력에 의하여 회동되는 수차(220)와, 상기 수차(220)와 동축으로서 일체로 회동하며 와이어(310)의 일단을 고정하는 드럼(230)과, 상기 수차(220)와 동축으로서 일체로 회동하는 동력전달수단(240)을 구비하여 구성된 넘침감지수단(200)과, 상기 드럼(230)의 구동에 의하여 연동되는 와이어(310)와, 링크장치(320)에 의하여 수도관(10)을 폐쇄하도록 구성되는 잠금수단(300)과, 상기 동력수단(240)에 종동되는 편심회전체(420)와 상기 편심회전체(420)에 의하여 왕복 운동하는 종지기편(430)과, 상기 종지기편(430)에 의하여 울리는 신호종(450)으로 구성된 신호음 발생수단(400)과, 배수수단(500)과, 프레임(600)으로 구성됨을 특징으로 하여, 욕조에 물이 적정수위 이상으로 차오르면 신호음을 발생시킴과 더불어 수도관이 폐쇄되어 급수가 자동으로 중단될 수 있도록 하는 것이다.According to this design technique, the overflow pipe having a tub 100 having a pupil 110 formed at one side of a proper water level and a long hole 120 formed at a collar, and an outlet connected to the pupil 110 downwardly ( 210, the aberration 220 rotated by the hydraulic power falling from the overflow pipe 210, the drum 230 which rotates integrally coaxially with the aberration 220 and fixes one end of the wire 310 and In addition, the overflow detection means 200 having a power transmission means 240 is integrally rotated coaxially with the aberration 220, a wire 310 interlocked by the driving of the drum 230, a linkage device Locker 300 is configured to close the water pipe 10 by the 320, the eccentric rotation body 420 driven by the power means 240 and the bellows reciprocating by the eccentric rotation body 420 Signal signal generation consisting of a piece 430, and a signal species 450 that is ringed by the seed piece 430 Characterized in that it comprises a stage 400, the drain means 500, and the frame 600, when the water rises above the proper level in the bathtub, and generates a beep and the water pipe is closed to stop the water supply automatically To make it possible.

이와 같은 고안은 전술한 바와 같이, 수많은 구성수단이 강구된 전통적인 기계방식에 의해 구동됨으로써, 물 넘침을 방지하기 위한 초기 설치비가 높고 고장 시 수리가 복잡한 문제점이 여전히 남아 있다.Such a design, as described above, is driven by a traditional mechanical method in which a number of constituent means are taken, so that the initial installation cost for preventing water overflow is high and the problem of repairing in case of failure remains a problem.

따라서, 본 발명에서는 상기 문제점을 해소하며 아두이노 UNO R3을 사용한 간단한 전자제어장치를 갖는 전혀 새로운 물 넘침 방지 장치를 제안한다.Accordingly, the present invention solves the above problems and proposes an entirely new water overflow prevention device having a simple electronic control device using Arduino UNO R3.

본 발명의 목적은 보다 상세하게는 아두이노 수위센서 모듈과 아두이노 UNO R3, 서보모터, 수도꼭지잠금장치 및 사용자 정보제공 수단을 갖는 물 넘침 방지 장치를 구현함으로써, 욕조의 물 넘침을 자동으로 차단하고 사용자에게 LED와 알람 기능을 통해 욕조의 물 넘침 정보를 제공할 수 있도록 한 물 넘침 방지 장치를 제공한다.More specifically, the object of the present invention is to implement a water overflow prevention device having an Arduino water level sensor module and an Arduino UNO R3, a servo motor, a faucet lock, and a user information providing means, thereby automatically blocking the water overflow of the bathtub. It provides a water overflow protection device that can provide the user with information about the water overflow in the bathtub through LEDs and alarms.

전술한 목적을 달성하기 위한 본 발명의 특징에 의하면, 전극에 전도성 액체가 닿으면 전기의 흐름을 감지해서 욕조의 수위를 측정하여 아두이노 UNO R3로 수위정보를 제공하는 아두이노 수위센서 모듈(SZH-EK057, 120)과; 상기 아두이노 수위센서 모듈(SZH-EK057)로부터 전송되는 욕조의 수위레벨을 감지하여 설정된 기준값과 비교 연산하여 외부장치인 서보모터와 사용자 정보제공 수단을 단속 제어하는 아두이노 UNO R3(210)와; 상기 아두이노 UNO R3의 제어 신호를 수신 받아 욕조에 설치된 수도꼭지개폐장치를 사용자가 원하는 0°~ 180°까지 좌우회전 각도를 설정해서 구동되는 서보모터(MG-995, 220)와; 상기 사용자가 설정한 상기 서보모터의 좌우 회전각도에 따라 상기 수도꼭지개폐장치를 좌우로 회전시켜 수돗물을 단속하는 수도꼭지개폐장치(310)와; 상기 아두이노 UNO R3의 단속 제어에 의해 사용자에게 욕조의 물 넘침 정보를 제공하는 사용자 정보제공 수단(320)이 포함되는 것을 특징으로 하는 물 넘침 방지 장치를 제공한다.According to a feature of the present invention for achieving the above object, the Arduino level sensor module (SZH) to provide the water level information to the Arduino UNO R3 by measuring the water level of the bath by detecting the flow of electricity when the conductive liquid touches the electrode -EK057, 120); Arduino UNO R3 (210) for detecting and controlling the water level level of the bathtub transmitted from the Arduino water level sensor module (SZH-EK057) to compare and control the servo motor and the user information providing means that are external devices; A servo motor (MG-995, 220) driven by receiving the control signal of the Arduino UNO R3 and setting the left and right rotation angles between 0 ° and 180 ° desired by the faucet switchgear installed in the bathtub; A faucet opening and closing device (310) for controlling tap water by rotating the faucet opening and closing device left and right according to the left and right rotation angles of the servo motor set by the user; Provides a water overflow prevention device comprising a user information providing means for providing a water overflow information of the bathtub to the user by the control of the Arduino UNO R3.

본 발명의 다른 실시 예에 따르면, 상기 아두이노 수위센서 모듈은, 동작온도 10~30℃ 및 습도 10%~90%에서 작동하며, 작동전압은 DC 3~5V 및 작동전류는 20mA이하인 것을 특징으로 한다.According to another embodiment of the present invention, the Arduino water level sensor module operates at an operating temperature of 10 to 30 ° C. and a humidity of 10% to 90%, and an operating voltage of DC 3 to 5V and an operating current of 20 mA or less. do.

본 발명의 또 다른 실시 예에 따르면, 상기 서보모터(MG-995, 220)는, 상기 수도꼭지개폐장치를 좌우로 회전시키기 위해 4.8V~7.2V에서 작동하며, 힘의 크기는 4.8V를 가했을 때는 8.5kg/cm 이며, 6V를 가했을 때는 10kg/cm인 것을 특징으로 한다.According to another embodiment of the present invention, the servo motors (MG-995, 220) is operated at 4.8V ~ 7.2V to rotate the faucet opening and closing device left and right, when the magnitude of the force is applied 4.8V It is 8.5kg / cm, and when 6V is applied, it is 10kg / cm.

본 발명의 또 다른 실시 예에 따르면, 상기 사용자 정보제공 수단(320)은, LED표시등(321) 및 알람기(322)이며, 사용자가 주로 거주하는 거실 등의 공간에 설치되고, 사용자가 해제 가능한 리셋스위치(323)가 구비되는 것을 특징으로 한다.According to another embodiment of the present invention, the user information providing means 320, the LED indicator 321 and the alarm 322, is installed in a space, such as a living room in which the user mainly lives, the user releases Possible reset switch 323 is characterized in that it is provided.

본 발명의 물 넘침 방지 장치는 다음과 같은 효과가 있다.The water overflow prevention apparatus of the present invention has the following effects.

본 발명은 수위감지센서와 아두이노 UNO R3 및 서보모터, 수도꼭지잠금장치 및 사용자 정보제공 수단을 갖는 물 넘침 방지 장치를 구현함으로써, 욕조의 물 넘침을 자동으로 차단하고 사용자에게 LED와 알람 기능을 통해 욕조의 물 넘침 정보를 제공할 수 있는 효과가 있다.The present invention implements a water overflow prevention device having a water level sensor, an Arduino UNO R3 and a servomotor, a faucet lock, and a user information providing means, to automatically shut off the water overflow of the bathtub and to provide the user with an LED and an alarm function. There is an effect that can provide information about the water overflow of the bathtub.

도 1은 종래의 욕조의 물 넘침 방지장치를 나타낸 도면
도 2는 본 발명의 바람직한 실시 예에 따른 물 넘침 방지 장치에 대한 전체 기술적 구성 및 구동 순서를 나타낸 도면
도 3은 본 발명의 바람직한 실시 예에 따른 물 넘침 방지 장치에 대한 구동 소스의 소스코드 내 선언부를 나타낸 도면
도 4는 본 발명의 바람직한 실시 예에 따른 물 넘침 방지 장치에 대한 구동 소스의 소스코드 내 Setup 부분을 나타낸 도면
도 5는 본 발명의 바람직한 실시 예에 따른 물 넘침 방지 장치에 대한 구동 소스의 소스코드 내 loop 부분을 나타낸 도면
1 is a view showing a water overflow prevention device of a conventional bath
2 is a view showing the overall technical configuration and driving sequence for the water overflow prevention apparatus according to a preferred embodiment of the present invention
3 is a view showing a declaration in the source code of the drive source for the water overflow prevention apparatus according to a preferred embodiment of the present invention
4 is a view showing a setup portion in the source code of the drive source for the water overflow prevention device according to a preferred embodiment of the present invention
5 is a view showing a loop portion in the source code of the drive source for the water overflow prevention device according to a preferred embodiment of the present invention

이하, 본 발명의 바람직한 실시 예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 하며 비록 종래기술과 동일한 부호가 표시되더라도 종래기술은 그 자체로 해석하여야 한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are assigned to the same components as much as possible even though they are shown in different drawings. The prior art should be interpreted as such. In addition, in describing the present invention, when it is determined that the detailed description of the related well-known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

도 2 내지 도 5를 참조하여, 본 발명의 바람직한 실시 예에 따른 물 넘침 방지 장치에 대한 핵심 기술적 수단은, 크게는 입력부(100)와 제어부(200) 및 출력부(300)로 구성되며, 상기 입력부(100)는 욕조(110)와 아두이노 수위센서 모듈(120)이 구비되고, 상기 제어부(200)는 아두이노 UNO R3(210)와 서보모터(220)가 구비되며, 출력부(300)는 수도꼭지개폐장치(310)와 사용자 정보제공 수단(320)이 구비된다.2 to 5, the core technical means for the water overflow prevention apparatus according to a preferred embodiment of the present invention, is largely composed of the input unit 100, the control unit 200 and the output unit 300, The input unit 100 includes a bathtub 110 and an Arduino level sensor module 120, and the control unit 200 includes an Arduino UNO R3 210 and a servo motor 220, and an output unit 300. The faucet opening and closing device 310 and the user information providing means 320 is provided.

이하, 학계나 당업계에 널리 알려진 욕조(110)와 같은 기술적 구성에 대한 설명은 생략하고 본 발명의 핵심 기술적 구성에 대하여 상세하게 설명한다.Hereinafter, the description of the technical configuration, such as the tub 110 well known in the academic world or the art will be omitted and the core technical configuration of the present invention will be described in detail.

도 2를 참조하여, 본 발명의 실시 예에 따른 아두이노 수위센서 모듈(SZH-EK057, 120)은, 입력부(100)의 욕조(110)에 물이 차오르는 수위를 감지하여 제어부(200)의 아두이노 UNO R3(210)에 수위정보를 제공하는 수단으로, 전극에 전도성 액체가 닿으면 전기의 흐름을 감지해서 수위를 측정하는 센서이다. 물의 양을 쉽게 아날로그 신호로 감지가 가능하며, 강수량, 수위, 누설 등을 감지하는데 사용한다. 아두이노, 라즈베리파이 등에서 구동이 가능하다. 작동전압은 DC 3~5V이며, 작동전류는 20mA이하이다. 동작온도는 10~30도 사이 이며, 습도도 10%~90%사이에서 작동한다.2, the Arduino level sensor module (SZH-EK057, 120) according to an embodiment of the present invention, by detecting the level of the water filling the tub 110 of the input unit 100, Arduino of the control unit 200 As a means for providing water level information to the UNO R3 (210), when the conductive liquid touches the electrode is a sensor for detecting the flow of electricity to measure the water level. The amount of water can be easily detected as an analog signal, and it is used to detect precipitation, water level and leakage. It can be run on Arduino and Raspberry Pi. The operating voltage is DC 3 ~ 5V and the operating current is less than 20mA. The operating temperature is between 10 and 30 degrees and the humidity is between 10% and 90%.

여기서, 본 발명의 실시 예에 따른 상기 아두이노 수위센서 모듈의 동작온도 10~30℃ 및 습도 10%~90%에서 작동하도록 하며, 작동전압은 DC 3~5V 및 작동전류는 20mA이하로 하는 이유는, 본 발명의 실시 예에 따른 아두이노 수위센서 모듈(120)은 일반적으로 사용되는 수위레벨센서와 달리 전자소자로 이루어져 있으며, 전극에 전도성 액체, 즉 욕조에 물이 차오르면서 전극에 물이 닿으면 전기의 흐름을 감지해서 욕조의 수위를 측정하기 때문에 물과 습기가 많은 욕조에서의 인체 감전 등을 고려하여 온ㆍ습도와 작동되는 전압 및 전류 설정이 매우 중요한 변수로 작용하기 때문이다.Here, the operating temperature of the Arduino water level sensor module according to an embodiment of the present invention to operate at 10 ~ 30 ℃ and humidity 10% ~ 90%, the operating voltage is DC 3 ~ 5V and the operating current is 20mA or less The Arduino level sensor module 120 according to an embodiment of the present invention is made of an electronic device, unlike a water level sensor, which is generally used, and the liquid is filled in the electrode, that is, the water is filled in the bath. This is because the temperature of the bathtub is measured by sensing the flow of electricity when it is touched, so the temperature and humidity and the operating voltage and current settings are very important variables in consideration of the electric shock of the human body in the bathtub with lots of water and humidity.

도 2를 참조하여, 본 발명의 실시 예에 따른 아두이노 UNO R3(210)는, 상기 아두이노 수위센서 모듈(SZH-EK057)로부터 전송되는 욕조의 수위레벨을 감지하여 설정된 기준값과 비교하여 외부장치인 서보모터와 사용자 정보제공 수단(320)을 단속 제어하는 수단으로, 상기 아두이노 수위센서 모듈(120)의 입력 값을 받아들여 아두이노 UNO R3(210)에 설정된 욕조 수위레벨 기준 값과 비교 연산하여 욕조(110)에 설치된 수도꼭지개폐장치(310)를 개폐시키는 서보모터(220)를 단속 제어하고, 상기 사용자 정보제공 수단(320)의 LED표시등(321) 및 알람기(322)로 하여금 사용자에게 욕조의 물 넘침 정보를 제공할 수 있도록 단속 제어한다.Referring to FIG. 2, the Arduino UNO R3 210 according to an embodiment of the present invention senses the water level of the bathtub transmitted from the Arduino water level sensor module SZH-EK057 and compares it with an external reference device. Means for intermittently controlling the servo motor and the user information providing means 320 and comparing the input value of the Arduino water level sensor module 120 with the bath water level reference value set in the Arduino UNO R3 210. By intermittently controlling the servo motor 220 which opens and closes the faucet opening and closing device 310 installed in the bathtub 110, and causes the user to provide the LED indicator 321 and the alarm 322 of the user information providing means 320. To control the water supply information of the bathtub.

여기서, 상기 아두이노 UNO R3(210)는, 다양한 스위치나 센서로부터 입력 값을 받아들여 LED나 서보모터와 같은 외부 전자 장치들로 출력을 제어함으로써 환경과 상호작용이 가능한 물건을 만들어 낼 수 있다. 예를 들어 단순한 로봇, 온습도계, 동작감지기, 음악 및 사운드 장치, 스마트 홈 구현, 유아 장난감 및 로봇교육 프로그램 등의 다양한 제품들이 아두이노를 기반으로 개발 가능하다. 또한 아두이노는 회로가 오픈소스로 공개되어 있으므로 누구나 직업 보드를 만들고 수정할 수 있다. 아두이노는 마이크로컨트롤러를 기반으로 하는 작업을 단순화하였으며 4가지의 강점을 가지는데, 저비용, 크로스 플랫폼, 간단하고 명확한 프로그래밍 환경, 오픈소스라는 강점을 가지고 있다. 아두이노 통합 개발 환경은 소스 코드를 작성하고 편집할 수 있도록 하며, 코드를 아두이노 하드웨어가 이해할 수 있는 명령어로 컴파일하여 보드에 이를 업로드 하는 기능을 제공한다. 소스코드는 C++ 언어를 기반으로 하기 때문에 아두이노에서는 C 언어의 표준라이브러리 함수가 사용 가능하다. 아두이노 하드웨어는 실세계와 연동되어 동작하는 센서, 가속도계, LED, 스피커, 디스플레이 등의 여러 구성품들이 쉽게 탈부착 가능하도록 핀들로 구성되어 있으며, 소프트웨어 개발 환경을 통해 작성되고 업로드 된 코드(명렁어)가 실행된다.Here, the Arduino UNO R3 210 may generate an object that can interact with the environment by receiving an input value from various switches or sensors and controlling the output with external electronic devices such as an LED or a servomotor. For example, a variety of products can be developed based on Arduino, such as simple robots, thermo-hygrometers, motion sensors, music and sound devices, smart home implementations, infant toys and robot education programs. Arduino also has open-source circuitry, so anyone can create and modify job boards. Arduino has simplified microcontroller-based tasks and has four strengths: low cost, cross-platform, simple and clear programming environment, and open source. The Arduino integrated development environment allows you to write and edit source code, and provides the ability to compile code into instructions that Arduino hardware can understand and upload it to the board. Since the source code is based on the C ++ language, the standard library functions of the C language are available in Arduino. Arduino hardware consists of pins to easily attach and detach various components such as sensors, accelerometers, LEDs, speakers, and displays that work in conjunction with the real world, and execute code written and uploaded through the software development environment. do.

도 2를 참조하여, 본 발명의 실시 예에 따른 서보모터(MG-995, 220)는, 상기 아두이노 UNO R3(210)의 제어 신호를 수신 받아 욕조에 설치된 수도꼭지개폐장치(310)를 구동시키는 수단으로, 상기 MG-995는 서보모터 종류 중 하나이며, 사용자가 원하는 0도~180도까지 좌우회전 각도를 설정해서 구동시킬 수가 있다.Referring to FIG. 2, the servomotors MG-995 and 220 according to an embodiment of the present invention receive a control signal of the Arduino UNO R3 210 to drive a faucet switch 310 installed in a bathtub. As a means, the MG-995 is one of servo motor types, and can be driven by setting the left and right rotation angles from 0 degree to 180 degree desired by the user.

또한, 본 발명의 실시 예에 따른 상기 서보모터(MG-995, 220)는 4.8V~7.2V에서 작동하며, 힘의 크기는 4.8V를 가했을 때는 8.5kg/cm이고, 6V를 가했을 때는 10kg/cm가 되어 욕조에 설치된 상기 수도꼭지개폐장치(310)를 충분히 개폐 가능하도록 한다.In addition, the servo motor (MG-995, 220) according to an embodiment of the present invention operates at 4.8V ~ 7.2V, the magnitude of the force is 8.5kg / cm when applying 4.8V, 10kg / when applying 6V It becomes cm so as to be able to fully open and close the faucet opening and closing device 310 installed in the bathtub.

도 2를 참조하여, 본 발명의 실시 예에 따른 수도꼭지개폐장치(310)는, 사용자가 설정한 상기 서보모터(MG-995, 220)의 좌우 회전각도에 따라 상기 수도꼭지개폐장치(310)를 좌우로 회전시켜 수돗물을 단속시키는 수단으로, 수도꼭지의 축과 상기 서보모터(MG-995, 220)의 축이 커플링 등의 연결수단에 의해 상호 연결된다.Referring to FIG. 2, the faucet opening and closing device 310 according to an embodiment of the present invention has left and right the faucet opening and closing device 310 according to left and right rotation angles of the servo motors MG-995 and 220 set by a user. As a means for intermittent tap water by rotating the shaft, the shaft of the faucet and the shaft of the servomotors (MG-995, 220) are connected to each other by connecting means such as a coupling.

도 2를 참조하여, 본 발명의 실시 예에 따른 사용자 정보제공 수단(320)은, 상기 아두이노 UNO R3(210)의 단속 제어에 의해 사용자에게 욕조의 물 넘침 정보를 제공하는 수단으로, LED표시등(321)과 알람기(322)가 구비되며, 상기 LED표시등(321)과 알람기(322)는 사용자가 주로 거주하는 거실 등의 공간에 설치되고, 사용자가 해제 가능한 리셋스위치(323)가 구비된다.Referring to Figure 2, the user information providing means 320 according to an embodiment of the present invention, means for providing the water overflow information of the bathtub to the user by the control of the Arduino UNO R3 (210), LED display A lamp 321 and an alarm 322 are provided, and the LED indicator 321 and the alarm 322 are installed in a space such as a living room in which the user mainly resides, and the user can reset the reset switch 323. Is provided.

여기서, 사용자가 물 넘침 정보를 확인하고 LED표시등(321)과 알람기(322)에 장착된 리셋스위치(323)를 누르게 되면, 리셋신호가 상기 아두이노 UNO R3(210)로 피드백 되어 상기 아두이노 UNO R3(210)에서는 상기 아두이노 수위센서 모듈(SZH-EK057, 120)에서 수신되는 욕조의 수위레벨 정보가 있는지를 확인하여 상기 서보모터(MG-995, 220)를 단속 제어하게 된다.Here, when the user checks the water overflow information and presses the reset indicator 323 mounted on the LED indicator 321 and the alarm 322, the reset signal is fed back to the Arduino UNO R3 (210) to the Arduino Inno UNO R3 (210) intermittently controls the servo motor (MG-995, 220) by checking whether there is water level information of the bathtub received from the Arduino water level sensor module (SZH-EK057, 120).

도 2를 참조하여, 본 발명의 실시 예에 따른 물 넘침 방지 장치에 대한 구동 순서를 보다 상세하게 설명한다.Referring to Figure 2, it will be described in more detail the driving sequence for the water overflow prevention device according to an embodiment of the present invention.

사용자가 수도꼭지를 열어서 물을 틀어 놓고 일정 수위가 차면 욕조에 설치해둔 상기 아두이노 수위센서 모듈(SZH-EK057, 120)이 수위레벨 값을 감지한 아날로그 값을 아두이노 UNO R3(210)에 전송해준다. 그러면 아두이노 UNO R3(210)의 메모리(211)에 미리 프로그래밍해둔 욕조 수위레벨 설정 값 이상이 되면 상기 서보모터(MG-995, 220)와 상기 LED표시등(321)과 알람기(322)가 동시에 작동해서 수도꼭지가 잠기는 것과 동시에 욕조에 물이 찼다는 것을 LED표시등의 녹색 점멸과 알람기(322)의 소리로 알려준다. 그리고 사용자 리셋스위치 누름은 전술한 바와 같다.The user opens the faucet, turns on the water, and when the water level is full, the Arduino level sensor module (SZH-EK057, 120) installed in the bathtub sends the analog value to the Arduino UNO R3 (210). . Then, the servo motor (MG-995, 220), the LED indicator 321 and the alarm 322 when the bath level level is more than the pre-programmed value in the memory 211 of the Arduino UNO R3 (210) At the same time, the faucet is locked and at the same time the bathtub is filled with water to indicate that the green flashing LED light and the sound of the alarm 322. And pressing the user reset switch is as described above.

도 3 내지 도 5를 참조하여, 본 발명의 실시 예에 따른 물 넘침 방지 장치에 대한 구동 소스를 상세하게 설명한다.3 to 5, the driving source for the water overflow prevention apparatus according to an embodiment of the present invention will be described in detail.

센서를 사용하기 위한 소스 내에서의 PIN 설정하는 부분으로써, Servo.h는 서보모터를 사용하기 위한 헤더 파일이다. Servo.h는 아두이노 UNO R3(210) 내에서 기본적으로 제공해주는 라이브러리 함수이다.As part of setting the PIN in the source for using the sensor, Servo.h is a header file for using the servomotor. Servo.h is a library function basically provided in Arduino UNO R3 (210).

또한, analogPin은 아두이노 수위센서 모듈(SZH-EK057, 120)이 아날로그 신호값을 전송하기 때문에 아두이노 UNO R3(210) 보드에 있는 analogPin에 있는 0번 Pin에 연결한다. 그 외 나머지 부분은 led를 13번 PIN, spearkerpin(소리센서)를 12번 PIN, 스위치를 10번 PIN에 입력 하는 것이며, val = 0 은 신호 값을 받기전인 초기 값이다. Servo servomotor는 서보모터를 사용하기 위해선 반드시 선언해야하는 변수문이다.In addition, analogPin is connected to Pin 0 of analogPin on Arduino UNO R3 (210) board because Arduino level sensor module (SZH-EK057, 120) transmits analog signal value. The other part is to input led 13 pin, spearkerpin (sound sensor) 12 pin and switch 10 pin. Val = 0 is the initial value before receiving the signal value. Servo servomotor is a variable statement that must be declared in order to use a servomotor.

아두이노 UNO R3(210) 소스에서 setup()문을 지나게 되면 이제 void loop()문이 시작이 된다. loop()문은 아두이노 보드에 전원공급이 멈추지 않는 이상 계속해서 loop()안의 동작을 수행하게 된다.After passing the setup () statement in the Arduino UNO R3 (210) source, the void loop () statement is now started. The loop () statement will continue to run in loop () unless power is supplied to the Arduino board.

loop 문 처음에 있는 val 값에 아두이노 수위센서 모듈(SZH-EK057, 120)의 아날로그 값을 보내게 된다. 그 뒤 if 문으로 접어들게 되는데, 일단 어느 정도 수위가 올라가야 하기 때문에 본 발명에서는 val > 400 이상으로 설정하였다.The analog value of the Arduino level sensor module (SZH-EK057, 120) is sent to the val value at the beginning of the loop statement. After that, it enters the if statement, but because the water level should be raised to some extent, in the present invention, it is set to val> 400 or more.

val 값이 400 이상이 될 경우, LED표시등은 HIGH 값으로 바뀌어서 불빛이 들어오고, 서보모터는 servomotor.write(180);에 의해서 서보모터가 180도 돌아간다. 그리고 tone문에 의해서 스피커에 500Hz(약 C(도))의 소리음역대가 흘려 나오며, 2000은 약 2초 동안 소리가 난다는 것을 의미한다.If the val value is more than 400, the LED indicator changes to a HIGH value and lights up, and the servo motor is rotated 180 degrees by servomotor.write (180) ;. Then, a tone band of 500 Hz (about C (degrees)) flows out to the speaker by the tone statement, and 2000 means that the sound is generated for about 2 seconds.

if 문을 아닌 else if 에서는 val 값으로 조절하는 것이 아닌, 리셋스위치(323)를 껐을 경우에만 동작하도록 설정했다. sw == LOW 해서 리셋스위치(323)를 내렸을 경우 작동하는 문으로서, LED표시등이 LOW로 불빛이 꺼지고, 소리가 0Hz(소리가 나지 않는 상태)로 설정 하였다. 그리고 마지막 시리얼 모니터(400)에 수위센서에 들어온 값을 읽을 수 있도록 val 값을 프린트 하도록 설정했다.In the else if, not the if statement, the val value is not adjusted, but only when the reset switch 323 is set to operate. sw == LOW, the door is operated when the reset switch 323 is lowered, the LED light is turned LOW, the sound is set to 0Hz (no sound). And the last serial monitor 400 was set to print the val value to read the value entered into the water level sensor.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서 본 발명에 개시된 실시 예는 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those skilled in the art to which the present invention pertains may make various modifications and changes without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited thereto. The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

100 : 입력부 110 : 욕조
120 : 아두이노 수위센서 모듈(SZH-EK057)
200 : 제어부 210 : 아두이노 UNO R3
211 : 메모리 220 : 서보모터(MG-995)
300 : 출력부 310 : 수도꼭지개폐장치
320 : 사용자 정보제공 수단 321 : LED표시등
322 : 알람기 323 : 리셋스위치
400 : 시리얼 모니터
100: input unit 110: bathtub
120: Arduino water level sensor module (SZH-EK057)
200: control unit 210: Arduino UNO R3
211: memory 220: servomotor (MG-995)
300: output unit 310: faucet opening and closing device
320: user information providing means 321: LED indicator
322: alarm 323: reset switch
400: serial monitor

Claims (4)

전극에 전도성 액체가 닿으면 전기의 흐름을 감지해서 욕조의 수위를 측정하여 아두이노 UNO R3로 수위정보를 제공하는 아두이노 수위센서 모듈(SZH-EK057, 120)과;
상기 아두이노 수위센서 모듈(SZH-EK057)로부터 전송되는 욕조의 수위레벨을 감지하여 설정된 기준값과 비교 연산하여 외부장치인 서보모터와 사용자 정보제공 수단을 단속 제어하는 아두이노 UNO R3(210)와;
상기 아두이노 UNO R3의 제어 신호를 수신 받아 욕조에 설치된 수도꼭지개폐장치를 사용자가 원하는 0°~ 180°까지 좌우회전 각도를 설정해서 구동되는 서보모터(MG-995, 220)와;
상기 사용자가 설정한 상기 서보모터의 좌우 회전각도에 따라 상기 수도꼭지개폐장치를 좌우로 회전시켜 수돗물을 단속하는 수도꼭지개폐장치(310)와;
상기 아두이노 UNO R3의 단속 제어에 의해 사용자에게 욕조의 물 넘침 정보를 제공하는 사용자 정보제공 수단(320)이 포함되고,
상기 아두이노 수위센서 모듈은, 동작온도 10~30℃ 및 습도 10%~90%에서 작동하며, 작동전압은 DC 3~5V 및 작동전류는 20mA이하이고,
상기 서보모터(MG-995, 220)는, 상기 수도꼭지개폐장치를 좌우로 회전시키기 위해 4.8V~7.2V에서 작동하며, 힘의 크기는 4.8V를 가했을 때는 8.5kg/cm 이며, 6V를 가했을 때는 10kg/cm이고,
상기 사용자 정보제공 수단(320)은, LED표시등(321) 및 알람기(322)이며, 사용자가 주로 거주하는 거실 등의 공간에 설치되고, 사용자가 해제 가능한 리셋스위치(323)가 구비되는 것을 특징으로 하는 물 넘침 방지 장치.
Arduino level sensor module (SZH-EK057, 120) for detecting the flow of electricity when the electrode is in contact with the electrode to measure the water level of the bath to provide the water level information to the Arduino UNO R3;
Arduino UNO R3 (210) for detecting and controlling the water level level of the bathtub transmitted from the Arduino water level sensor module (SZH-EK057) to compare and control the servo motor and the user information providing means that are external devices;
A servo motor (MG-995, 220) driven by receiving the control signal of the Arduino UNO R3 and setting the left and right rotation angles between 0 ° and 180 ° desired by the faucet switchgear installed in the bathtub;
A faucet opening and closing device (310) for controlling tap water by rotating the faucet opening and closing device left and right according to the left and right rotation angles of the servo motor set by the user;
User information providing means 320 for providing water overflow information of the bathtub to the user by the control of the Arduino UNO R3,
The Arduino water level sensor module operates at an operating temperature of 10 to 30 ° C. and a humidity of 10 to 90%, an operating voltage of DC 3 to 5 V and an operating current of 20 mA or less,
The servo motors (MG-995, 220) operate at 4.8V to 7.2V to rotate the faucet opening and closing device left and right, and the magnitude of the force is 8.5kg / cm when 4.8V is applied and when 6V is applied. 10 kg / cm,
The user information providing means 320, the LED indicator 321 and the alarm 322, the user is mainly installed in the living room, such as a living room, the user is provided with a reset switch 323 that can be released A water overflow prevention device characterized by the above-mentioned.
삭제delete 삭제delete 삭제delete
KR1020180020817A 2018-02-21 2018-02-21 Device to prevent water overflow KR102047177B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180020817A KR102047177B1 (en) 2018-02-21 2018-02-21 Device to prevent water overflow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180020817A KR102047177B1 (en) 2018-02-21 2018-02-21 Device to prevent water overflow

Publications (2)

Publication Number Publication Date
KR20190100811A KR20190100811A (en) 2019-08-29
KR102047177B1 true KR102047177B1 (en) 2019-11-20

Family

ID=67776055

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180020817A KR102047177B1 (en) 2018-02-21 2018-02-21 Device to prevent water overflow

Country Status (1)

Country Link
KR (1) KR102047177B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003014293A (en) * 2001-06-28 2003-01-15 Noritz Corp Water heating appliance
KR200366370Y1 (en) 2004-07-30 2004-11-10 (주) 두두에너텍 Apparatus for automatically adjusting water level in a bathtub
US20160024765A1 (en) 2014-07-23 2016-01-28 Ali Abdulah Hadia Water Flow Delivery System
KR101755243B1 (en) * 2016-03-31 2017-07-07 인천대학교 산학협력단 Smart hot-water supply system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090040975A (en) * 2007-10-23 2009-04-28 신상열 Control apparatus for water temperature, level and filter
KR20170073881A (en) * 2015-12-21 2017-06-29 손준규 Solenoid valve based on arduino for temporary water cut off

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003014293A (en) * 2001-06-28 2003-01-15 Noritz Corp Water heating appliance
KR200366370Y1 (en) 2004-07-30 2004-11-10 (주) 두두에너텍 Apparatus for automatically adjusting water level in a bathtub
US20160024765A1 (en) 2014-07-23 2016-01-28 Ali Abdulah Hadia Water Flow Delivery System
KR101755243B1 (en) * 2016-03-31 2017-07-07 인천대학교 산학협력단 Smart hot-water supply system

Also Published As

Publication number Publication date
KR20190100811A (en) 2019-08-29

Similar Documents

Publication Publication Date Title
US5588636A (en) Water fixture control system
CN105422962B (en) A kind of working method of the universal capacitor-type touch inductive switch component of tap
HUE030712T2 (en) Accessory controlling and tracking the operation of household appliances and entertainment equipment
CN103629412B (en) System and method to position and retain a sensor in a faucet spout
US20070286737A1 (en) Pump control apparatus, system and method
WO2014117603A1 (en) Control method and control apparatus for user programmable internet of things-based washing machine
Twumasi et al. Energy saving system using a PIR sensor for classroom monitoring
WO2015159040A1 (en) Device for detecting and preventing water leaks
DE502007005336D1 (en) Device for the automatic rinsing of water pipes
KR102047177B1 (en) Device to prevent water overflow
US6935142B2 (en) Washing machine water control
Rahman et al. Smart incubator based on PID controller
CN105628317A (en) Water leakage detection circuit for household appliances, electric kettle and control method thereof
Ashok Water antitheft and quality monitoring system by using PLC and SCADA
Pathan et al. Automatic control of a pump system for water level using Microcontroller and LabVIEW TM
CN203101909U (en) Touch induction controller
JP7081443B2 (en) Signal processing equipment and information rewriting equipment
CN209250970U (en) A kind of waterproof electrical appliance control equipment
CN218913931U (en) Water valve controller
ES1307061U (en) TIMER DEVICE TO ENCOURAGE WATER SAVING IN THE SHOWER (Machine-translation by Google Translate, not legally binding)
Easwaran et al. Programmable Logic Controller: Open Source Hardware and Software for Massive Training
FR2360705A1 (en) Water supply monitor for washing and dishwashing machines - with magnetic valve controlled by level regulator and programme switchgear
JP5081347B2 (en) Water control system
Susmidha et al. Virtually Controlled Semi-Automated Smart Home
CHAKOR HOME AUTOMATION BY USING AT89S52 MICROCONTROLLER

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant