No Contact Fluid Sensor
Summary
TLDRThe video demonstrates how to connect a water detection sensor module to a 12V power source and output device. It explains the color coding of the sensor wires and how to hook up the red wire to 12V positive, blue to 12V negative, yellow to the output device, and black to negative to reverse the output logic. The presenter gives examples of using this sensor to control a pump, flashing LED indicator, or provide full tank alerts. A relay must be used for high power devices exceeding the sensor's 100mA limit. Overall, the video aims to clarify the wiring and capabilities of this basic water detection sensor module.
Takeaways
- 😀 How to connect the water sensor wires - red to positive, blue to negative, yellow to output
- 👉 Black wire controls the logic - connects to negative to inverse the output
- 🔌 Can power a small load directly, or use it to activate a relay for larger loads
- ⚡ Relay allows you to switch much higher voltages and currents
- 📉 As water level drops, sensor will activate output
- 📈 As water rises, sensor will deactivate output
- 😊 Can be used to automatically turn pump on when water is low
- 🛑 And turn pump off when tank is full by connecting black wire
- 🤝 Uses very little power itself, so needs larger separate power source
- i Overall a simple but versatile sensor for detecting liquid levels
Q & A
What are the four wire colors on the sensor plug and what do they represent?
-The four wire colors are black, blue, yellow, and red/tan. They represent ground, negative voltage, sensor output, and positive voltage respectively.
How is the sensor wired up to show a flashing LED when it detects water?
-The red wire goes to 12V positive, the blue wire goes to 12V negative, and the yellow wire goes to the output that drives the flashing LED.
Why can't the sensor directly power a pump?
-The sensor can only provide about 100 milliamps of current, which is not enough to power a pump directly. A relay would need to be used to allow the sensor to control a higher powered pump.
What does connecting the black wire to negative do?
-Connecting the black wire to negative reverses the output logic. So instead of the output going high when water is detected, it goes low. This allows it to be used to detect when a tank is full and turn off the filling pump.
What voltage range can be used to power the sensor?
-The sensor can be powered by 5V to 24V, either from a battery or AC transformer.
How can the sensor control a 120V AC pump?
-By using a relay that has a 12V coil that the sensor can drive. The relay contacts then switch the 120V AC to the pump.
What does the schematic diagram show?
-It shows how the red wire goes to positive voltage, blue to ground, yellow to the relay coil that switches the pump. This allows the low power sensor to control the high power pump.
How could this sensor be used to control filling of a tank?
-It could be mounted vertically in the tank, and when the water level rises high enough to trigger the sensor, it could turn off the fill pump via a relay.
Can the sensor output be used with 5V logic instead of 12V?
-Yes, the output could drive a 5V logic input instead of a 12V relay, as long as the sensor itself is powered from 5-24V.
What is the main benefit of this water sensor?
-The main benefit is that it provides a simple way to automatically detect water and control pumps, valves, indicators, etc based on water presence and level.
Outlines
😀 Hooking up the water detection sensor
The paragraph provides a step-by-step explanation of how to connect the wires of a water detection sensor. It explains the color coding of the wires - black, blue, yellow and red/brown. The red wire connects to 12V positive, blue to 12V negative, yellow to output that controls an LED indicator. The black wire enables inverse logic to detect when a tank is full and turn off the pump. A relay is required to power a pump from this sensor. A circuit diagram is also shown.
Mindmap
Keywords
💡water sensor
💡wires
💡relay
💡power supply
💡pump
💡LED indicator
💡water tank
💡water column
💡ground/negative
💡schematic
Highlights
Explains how to connect the water detector wires - red to positive, blue to negative, yellow to output
Output connected to a flashing LED indicator showing water detection
Device can power a relay to run a pump when water is detected
Limited to 100mA output, so can't power pump directly
Connect relay coil between yellow output and positive
Relay switches power to pump from separate power source
Can operate pump between 5-24VDC
Black wire inverts logic to detect full tank and turn off pump
Attaching black wire to negative reverses water detector logic
Useful to detect full tank and turn off fill pump
Schematic shows connections - brown/red to +12V, blue to ground
Yellow goes to relay coil, other coil side to +12V
Relay switches separate power circuit to pump
Can switch 110VAC pump with suitable relay
Demonstrates complete pump control system
Transcripts
i want to take a second to show you how
this works and how you hook it up
there seems to be some confusion on how
to actually get it wired up so
uh just wanted to show you now on the
end of the plug you've got a black a
blue a yellow and sometimes a red or
this one's actually kind of a tan brown
color and so those are representative as
a black blue yellow and a red wire
so in order to hook this up
you hook up your
red wire goes to the positive side in
this case i'm using 12 volts so i've got
it to 12 volts positive the blue one
goes to 12 volts negative
okay
and then the yellow
goes to your
output
all right so in this case we're having
an output to a red flashing led
to show us whether it's detecting water
or not
okay so if we look at this
jar over here when it detects water
it's going to flash okay and
as the water
gets
as it moves up the water column you
don't see anything and then as it moves
down you see water so
as
this would work this arrangement would
work if you were wanting to run a pump
in order to when the water gets too high
it'll turn on and then as the water gets
lower
it'll turn off
now this will only power about um
100 milliamps so you couldn't use this
to power
a
pump directly you'd have to have it
power a relay or something like that so
this will put out nega 12 volts negative
so you'd have to have this go to the
coil of a relay
that doesn't use more than 100 milliamps
for the coil
to the negative side and then the
positive side of the relay to the
12 volts positive and then it would
activate that relay and the relay would
be able to switch something large like a
pump
now the real confusion comes in on this
black wire here and what does it do
okay well you've noticed right now
so
there's no water but as the water comes
up
it detects it and it's flashing right
okay so if you plug that if you connect
this
uh black wire to negative
like this
it's going to do the opposite of that so
now you could use this in order to say
you've got it on here
and you want to use this
to
tell you when a tank is full okay so
then as the water rises
it turns off the pump so you have a pump
that's filling up filling up your your
tank as the water level goes down it's
going to come up it's going to fill up
the tank
until it senses the water has risen and
it's going to go off so that's what your
black wire does and it connects to the
negative side
of your 12 volt system here's just
showing it to you in the in the
schematic
so you attach the brown or it might be
red to 12 volts
the blue goes to ground which is this is
your battery so it attaches where that
triangle does those attach together
and this a 12 volt attaches to the 12
volt side of your battery or your
transformer whether you're using a
battery or a transformer it could be 5
to 24 volts
and then the yellow comes out and see
it's going to feed the coil of a relay
and the other side of the coil is going
to go to 12 volts
then
this is your relay
and so you've got 12 volts or you could
even do 110 volt
pump powered by this if you use a relay
that can handle that you could do the
coil with 12 volts or anywhere from 5 to
24 depending on what your system needs
to be and so you would have the positive
side of that you'd uh
switch it inside the relay when this
activates it'll pull it down and turn
your pump on and then this side's going
to go to ground the other side of your
pump so that's just another view of how
this thing works so that's really all
there is to it i hope this was helpful
to you thank you for watching
Посмотреть больше похожих видео
How to Use a TCS3200 Color Sensor with Arduino (Lesson #38)
BARU!! BAGAIMANA MENGHUBUNGKAN KIPAS DENGAN SENSOR GERAK PIR HC SR501
GSM Based Smart Dustbin | कचरा भरते ही मोबाइल पर मेसेज आ जाता है
VERY EASY Arduino IR Sensor Tutorial for Beginners | IR Sensor Arduino Tutorial | Infrared Sensor
Input and output devices
DIY Automatic Alcohol Dispenser ($3 No Arduino Needed)
5.0 / 5 (0 votes)