How To Make Automatic On Off Water Tap
Hello friends, welcome to Top vs group In this video we will make a motion sensor water tap with some basic electronics component. And you can see if I placed my hand under the tab. The water will come out. And if I remove my hand the water will automatically stop. So this is a very low cost, and very useful project, and can save a lot of water, which is key. During the video first, we’ll discuss the infrared sensor, how you can make the infrared sensor and how it works. After that we will discuss how we can connect this infrared sensor with a water switch with a circuit diagram. And we will also discuss how the circuit works. And at last, we’ll complete the circuit, and we’ll fit this motion sensor tap at my kitchen and show you how it works.
So, let’s get started. In this project we’ll use this infrared sensor. You can also buy this from online, it will cost 200 rupees, or less than $2. But as I use this type of infrared circuit in my different projects. So I decided to design this PCB. And I’ve ordered it from the jlc PCB. So if you want to order same kind of PCB you can download a Gerber file from the video description, and then visit jlc PCB. Then you can click on the quote now and upload a Gerber file which you have downloaded. And after selecting some parameter, you can directly order it from the jlc PCB. And you can see this is a circuit. And I’ve already explained the circuit in my previous video I will share the link in the video, or you can click on this card to see the complete origin of this infrared sensor. So as I said, you can order it from online, it will cost you less than $2. Or you can download the Gerber file from the video description and order it from the jlcpcb.
After giving the order I have received a PCB within a week. And then as you can see these are the component, and I’ve soldered all this component on the PCB as mentioned on the PCB. So now our infrared sensor is ready. So now we’ll use this infrared sensor in our different project, like, today we’ll use this infrared circuit to control the otter switch. Now this is a water switch. And you can see here, there is an indication. So when we give 12 volt supply to this coil, then water can flow to this direction. And when we stop giving the 12 volt supply to this coil, water will not flow through the water switch. So now we will connect this infrared sensor with the water switch and a circuit diagram will be looked like this. Now in this circuit, you can see this is the infrared sensor, and this is the water switch. And here you can see this is a tip one to two npn transistor. So when the infrared sensor since a new object nearby. The output pin of the infrared sensor will become high, and it will give a high pulse at the base of the transistor, and we’ll see the output pin is connected with the base of the traditional tour to 20 Oh, days. So when the base will get dipoles then transistor will turn on and current can flow collector to emitter. So as you can see, if the transistor turns on current can flow through the relay coil to a collector of the transistor.
And as the transistor current will flow collector, a collector and emitter to negative terminal. So, as you can see this is a DC source and current can flow through the coil to the conductor of the transistor emitter and negative terminal. Now if I remove my hand. It will not detect any object nearby output pin of the infrared sensor will become low and accordingly the transistor will turn off the no current can flow collector to emitter of Mr. So as you can see, current will not flow through this coil, as no current is flowing from collector to emitter. So then the coil will de energized and water will not flowing through the Vasa switch. So when a transistor will turn on water can flow through the water switch, and one transistor will turn off. No water can flow through this water switch does we can easily connect this inductive insert we want to reach through a npn transistor. And here you can see connected a diode. In a reverse polarity. To protect this transistor, whenever we turn off the water, due to high inductance of this coil, it will generate a negative pulse which will damage this transistor. So these diodes will give the path to flow that negative pulse.
And this turns to not damage to this drive it is very important to protect this transistor. As you can see, I’ve connected all the components, or the diagram. This is a 220 ohm resistor. And this is the infrared sensor. And here will give 12 volts supply from adapter. So let me enter the circuit. Now I’ll turn on the power supply. Now as you can see, if I place my hand close to the infrared sensor, the kids, turn on. And if I remove my hand, the circuit will turn off. Now I will place it inside the water switch as you can see. Proper insulation to use we have heard any short circuit. Now are in place the infrared sensor at the bottom. After that now while the switch is in sync. As you can see, as you can see I can easily feed this water with existing plants. Now I can use water switch and let me show you how it works.
As you can see we have continued. Insert Tab attempted and connected the 12 volt DC supply from our adapter. And let me give them some. Now, whenever I place my hand under the tap the water will come out automatically. Perfect. My hand. Come out, and if I see water will stop automatically. So, it will very helpful while you wash your hands as fast as you can see, I can easily wash my hands, without wasting any water. So if I take my hand out of the water will come out and move my hand. dramatically stop. So this is a very.