No Contact Fluid Sensor

Soat Mon
4 Sept 202104:05

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

00:00

😀 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

The water sensor is the main device being discussed in the video. It is used to detect the presence of water and control other devices based on the water level. For example, it could be used to turn on a pump when water reaches a certain height. The water sensor has four wires - red, blue, yellow, and black - that get connected to power and ground and output a signal.

💡wires

The water sensor has four wires that need to be connected properly for it to function. There is a red wire that connects to positive power, a blue wire that connects to ground, a yellow wire that provides an output signal, and a black wire that inverts the output signal when connected to ground.

💡relay

A relay is an electrical component that the video recommends using with the water sensor. The sensor can only handle a small amount of current, but a relay allows it to switch a high-powered device like a pump on and off.

💡power supply

The video explains that the water sensor needs to be connected to a power supply in order to operate. This can be a battery providing 5-24 volts or an AC transformer converted to DC. The positive wire goes to the positive supply and the blue ground wire completes the circuit.

💡pump

One possible application suggested for the water sensor is to control a pump. The sensor could detect when a tank is empty and turn on the pump to refill it. When the tank is full, the sensor would then turn the pump back off.

💡LED indicator

The video shows the water sensor connected to an LED that flashes when water is detected. This provides a visible indication of whether water is present and the changing water levels.

💡water tank

A water storage tank is one example system where the water sensor could be installed. It would detect when the tank is empty or full and control a pump appropriately to automatically refill the tank.

💡water column

The video demonstrates the sensor's functionality using a tube filled with water. This water column changes height as water is added or removed, allowing the sensor to detect the varying water level.

💡ground/negative

Proper functioning of the sensor requires connecting the blue and sometimes black wires to ground/negative. Ground completes the circuit and negative reverses the output signal.

💡schematic

The video shows a schematic detailing how to wire the water sensor. This includes what each wire connects to and how those connect to components like a relay, pump, power supply to build a complete functioning system.

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

play00:00

i want to take a second to show you how

play00:02

this works and how you hook it up

play00:04

there seems to be some confusion on how

play00:07

to actually get it wired up so

play00:09

uh just wanted to show you now on the

play00:11

end of the plug you've got a black a

play00:12

blue a yellow and sometimes a red or

play00:15

this one's actually kind of a tan brown

play00:16

color and so those are representative as

play00:19

a black blue yellow and a red wire

play00:23

so in order to hook this up

play00:25

you hook up your

play00:27

red wire goes to the positive side in

play00:30

this case i'm using 12 volts so i've got

play00:32

it to 12 volts positive the blue one

play00:35

goes to 12 volts negative

play00:38

okay

play00:39

and then the yellow

play00:41

goes to your

play00:43

output

play00:44

all right so in this case we're having

play00:46

an output to a red flashing led

play00:50

to show us whether it's detecting water

play00:52

or not

play00:53

okay so if we look at this

play00:56

jar over here when it detects water

play01:00

it's going to flash okay and

play01:02

as the water

play01:04

gets

play01:05

as it moves up the water column you

play01:07

don't see anything and then as it moves

play01:08

down you see water so

play01:10

as

play01:11

this would work this arrangement would

play01:13

work if you were wanting to run a pump

play01:16

in order to when the water gets too high

play01:19

it'll turn on and then as the water gets

play01:21

lower

play01:23

it'll turn off

play01:24

now this will only power about um

play01:29

100 milliamps so you couldn't use this

play01:32

to power

play01:33

a

play01:34

pump directly you'd have to have it

play01:36

power a relay or something like that so

play01:39

this will put out nega 12 volts negative

play01:42

so you'd have to have this go to the

play01:43

coil of a relay

play01:45

that doesn't use more than 100 milliamps

play01:47

for the coil

play01:49

to the negative side and then the

play01:50

positive side of the relay to the

play01:52

12 volts positive and then it would

play01:54

activate that relay and the relay would

play01:55

be able to switch something large like a

play01:57

pump

play01:58

now the real confusion comes in on this

play02:01

black wire here and what does it do

play02:03

okay well you've noticed right now

play02:06

so

play02:07

there's no water but as the water comes

play02:09

up

play02:11

it detects it and it's flashing right

play02:13

okay so if you plug that if you connect

play02:16

this

play02:17

uh black wire to negative

play02:22

like this

play02:24

it's going to do the opposite of that so

play02:27

now you could use this in order to say

play02:30

you've got it on here

play02:31

and you want to use this

play02:34

to

play02:35

tell you when a tank is full okay so

play02:37

then as the water rises

play02:41

it turns off the pump so you have a pump

play02:43

that's filling up filling up your your

play02:45

tank as the water level goes down it's

play02:48

going to come up it's going to fill up

play02:50

the tank

play02:51

until it senses the water has risen and

play02:53

it's going to go off so that's what your

play02:55

black wire does and it connects to the

play02:57

negative side

play02:58

of your 12 volt system here's just

play03:00

showing it to you in the in the

play03:01

schematic

play03:02

so you attach the brown or it might be

play03:05

red to 12 volts

play03:07

the blue goes to ground which is this is

play03:10

your battery so it attaches where that

play03:12

triangle does those attach together

play03:14

and this a 12 volt attaches to the 12

play03:16

volt side of your battery or your

play03:17

transformer whether you're using a

play03:19

battery or a transformer it could be 5

play03:20

to 24 volts

play03:22

and then the yellow comes out and see

play03:23

it's going to feed the coil of a relay

play03:26

and the other side of the coil is going

play03:27

to go to 12 volts

play03:30

then

play03:30

this is your relay

play03:32

and so you've got 12 volts or you could

play03:34

even do 110 volt

play03:37

pump powered by this if you use a relay

play03:39

that can handle that you could do the

play03:41

coil with 12 volts or anywhere from 5 to

play03:43

24 depending on what your system needs

play03:44

to be and so you would have the positive

play03:47

side of that you'd uh

play03:50

switch it inside the relay when this

play03:52

activates it'll pull it down and turn

play03:54

your pump on and then this side's going

play03:55

to go to ground the other side of your

play03:57

pump so that's just another view of how

play03:59

this thing works so that's really all

play04:01

there is to it i hope this was helpful

play04:03

to you thank you for watching