No video

DIY Blackwater Tank Monitoring with ESP32/SensESP and XKC-Y25-V Non-contact liquid sensor - Tech E14

  Рет қаралды 7,976

Après

Après

Күн бұрын

Пікірлер: 54
@Mr_Chris
@Mr_Chris 4 ай бұрын
Nice job - I just built one based on this video. 5 sensors for the freshwater tank and 3 for my poop tank. - should make a nifty addition to my openplotter setup
@ApresSail
@ApresSail 4 ай бұрын
Thanks, good luck with your project!!
@rafaelmguimaraes
@rafaelmguimaraes Жыл бұрын
Excellent! Thanks for sharing. I'm starting to study basic electronics to automate and use more cost-effective equipment on my boat, and your videos encourage me. Thanks!
@ApresSail
@ApresSail Жыл бұрын
Glad it helped you!!
@pauloweidebach3544
@pauloweidebach3544 16 күн бұрын
Very good. Thanks a lot for this video! I have some doubts here at wiring. Could you make a simple wiring diagram please?
@ApresSail
@ApresSail 7 күн бұрын
each sensor has 4 wires, make connections as follows: Brown = 3.3v, same pin can be used for multiple sensors Blue = ground/0V, same pin can be used for multiple sensors Yellow = the digital pin you want to assign to it, this pin is individual to this sensor Black = Not connected Hopefully that helps?
@cheaperukbills774
@cheaperukbills774 10 ай бұрын
Very useful content Jason - thanks once again.
@ApresSail
@ApresSail 10 ай бұрын
Glad you are enjoying it!!
@kruzweg3860
@kruzweg3860 Жыл бұрын
Nice idea! The next think I will build for my boat. So far I have now ready and working a modified OpenPlotter project and a satellite ESP32 for the motor perimeters. All is working fine. I am now curious if your second ESP32 for the battery and tank has an off/on switch or if you have a solution to avoid current drain if you are not on your boat. Perhaps you will mention this in another video? Continue the interesting project, it is an inspiration for me to add things to my own project 😊
@ApresSail
@ApresSail Жыл бұрын
Glad you liked it! with regard to the power, I have a fuse box near the helm that is connected to a breaker at the nav station. It currently powers my helm screen, Autopilot, USB Hub and Maiana. I will add 2 more connections for the Battery/tank monitor and Engine/bilge monitor
@jims1128
@jims1128 10 ай бұрын
Very cool. Wondering if this could be used to run my bilge pumps??
@ApresSail
@ApresSail 10 ай бұрын
it could, but not sure how you would deploy it? if you watch my video on the install of the engine monitor, you will see a float switch that I installed to signal high bilge water, this simple switch could be deployed with a relay to run the bilge pump or in combination with a ESP32 or Pi to warn the operator or count/log bilge pump usage
@jims1128
@jims1128 10 ай бұрын
I will check that out. As logging running of bilge is also something I want to do. These typical float switches fail too often......maybe use this method for backup bilge and logging...
@ApresSail
@ApresSail 10 ай бұрын
@@jims1128 Agreed, touch wood, my float switch and bilge pump have been very robust but having a higher float switch that sounds an alarm or warning is great piece of mind - I wish I had it when we grounded in Port Sheldon intake last year!!!
@jims1128
@jims1128 10 ай бұрын
@@ApresSail using one of the sensors that unused in the water tank vid would be a great way to setup a high water alarm. Hmmm...u have the wheels turning now. Great vids btw. Learning a lot
@ApresSail
@ApresSail 10 ай бұрын
@@jims1128 Glad you like them!!
@antonyslack3710
@antonyslack3710 6 ай бұрын
Hi Jason, thanks for this. Have built your battery monitor and engine monitors, all looking great. When you did this project did you consider using one of these ultrasonic sensors DS1603L? It appears to be able to see through steel, so possibly a great solution for other non plastic tanks.
@ApresSail
@ApresSail 6 ай бұрын
Thanks, my tanks are all plastic and the sensors I used were pretty cheap, I didn’t find that part number in my search - good find!!
@Somm_RJ
@Somm_RJ 10 ай бұрын
Up to what thickness of a tank wall can this work?
@ApresSail
@ApresSail 10 ай бұрын
According to the datasheet (naylampmechatronics.com/img/cms/Datasheets/XKC%20Y25%20T12V.pdf) 12mm, but I would test it before doing a full deployment
@user-jo7wk6qb8d
@user-jo7wk6qb8d 3 ай бұрын
What kind of glue can I use to attach these to the water tank ? I wan't to hot-glue the sensor to the tank but vibrations are going to make them fall off, duck tape is a good option but far from optimal, solvent based glues can damage the sensor I think since it's plastic too ! what do you recommend ?
@ApresSail
@ApresSail 3 ай бұрын
I used a simple epoxy syringe like this one: amzn.to/4b8CIAj
@virginijuspetrauskas9930
@virginijuspetrauskas9930 7 ай бұрын
Thanks for the video. Great idea! Have you tried this with a black water tank? Does it work well? What about the viscosity of black water? I found the following description of the sensor: When the dynamic viscosity is less than 10 mPaS, it is measured normally. 10mPaS
@ApresSail
@ApresSail 7 ай бұрын
Thanks for the comment, I guess we will see, I installed them at the end of 2023 season (see the video - kzbin.info/www/bejne/b4HReaqboLCng80si=6CXSHJ4lJjdORKpX) but the only liquid in there was pink antifreeze. I think my tank is mostly liquid anyway, so it may not matter. I guess if you use the tank for only number2's then you may have an issue - great discussion!!
@virginijuspetrauskas9930
@virginijuspetrauskas9930 7 ай бұрын
@@ApresSail Hi, thanks for the quick reply! I watched your video to the point where the 3M sticky pads were too thick. Have you tried removing the sensor cap and adjusting the sensitivity?
@ApresSail
@ApresSail 7 ай бұрын
@@virginijuspetrauskas9930 No, I didn't try that, instead I just used a thin layer of epoxy.
@MarcWitteveen
@MarcWitteveen Жыл бұрын
Would be cool to do it with a sensor returning a resistive value
@ApresSail
@ApresSail Жыл бұрын
Do you mean a continual resistance change as it fills up or just a different resistance as the 5 or 3 sensors turn on? For the first - there is an external tape that you can apply that does this, but it is really expensive. For the second, I expect you could use a bunch of resistors, and possibly transistors to resolve a voltage that differed depending on how many sensors were giving 1s. Then you could use a single analogue pin on the ESP32.
@MarcWitteveen
@MarcWitteveen Жыл бұрын
@@ApresSail no, most tank sensors return a resistive value eg 240-30 ohm.
@simonepitzalis3545
@simonepitzalis3545 Жыл бұрын
Hello, Nice video! I have a simple question, wich glue I can use to fix a sensors at the tank? Thanks you for the answer, Simone
@ApresSail
@ApresSail Жыл бұрын
I am planning on using 3M sticky pads, like the ones you get on GoPro mounts or use to attach a car rear view mirror to the windscreen - amzn.to/3P8D6Gv. make sure the tank is clean and free from oil/wax etc
@jimhooper6204
@jimhooper6204 5 ай бұрын
Jason, I loaded the program into my ESP32 but I don't get any connections to SignalK. What part I'm I missing to make the SignalK paths?
@ApresSail
@ApresSail 5 ай бұрын
did you connect the ESP32 to your network? if not you should find an SSID with its name for you to logon to and then attach it to your network. once on your network, it will automatically find your SignalK server and send a request for authorization. In SignalK, go to Security --> Access Requests. You have to be logged in!! hope this helps? it you have your ESP32 connected to a PC by USB, you should see the device trying to connect in the monitor window in visual studio code
@jimhooper6204
@jimhooper6204 5 ай бұрын
Thanks for the quick reply. You gave me enough info that I was able to figure out that I needed to uncomment the "set_wifi(SSID, Password)" line. Thanks for sharing such great software.@@ApresSail
@ApresSail
@ApresSail 4 ай бұрын
No problem, glad I could help!!
@moore2522
@moore2522 10 ай бұрын
Just a side note: These sensors will not work on metal tanks.
@ApresSail
@ApresSail 10 ай бұрын
Thanks!!
@neilhansen6803
@neilhansen6803 6 ай бұрын
Hi Jason, I plan to take this solution and implement it on my boat sometime in April. All my bench tests went fine. But thinking about the installation it would be very useful to have some sort of indicator in the head itself of how full the tank is. For example an LED that goes yellow when 1/2 full and Red when full. Looking at the available commands I am not seeing anything that specifically references LED (like ESPHOME). Is it as simple as calling DigitalOuput and setting the pin too High?
@ApresSail
@ApresSail 6 ай бұрын
I think it would be as simple as commanding pins high, not sure exactly how to do that but it should be easy to work out. For green/amber/red you could use 3 LED’s or an RGB one and then use resistors or PWM to get the right levels on each channel
@TakeingCrazyPills
@TakeingCrazyPills Жыл бұрын
Love it - curious how your install went - I have a metal black water tank with no metering yet so I am curious to install something like this. I have a 1993 Hunter 35.5 called Dharma!
@ApresSail
@ApresSail Жыл бұрын
I haven't installed mine yet, in fact, I recorded that video on Sunday night!! all weekend I was working on my engine monitor install, but that's another story... However, my tank is plastic. With a metal tank, it might be a little harder. The Datasheet that comes with the sensor suggests using a fitting to take it away from the metal tank or a separate tube up the side. I do wonder if the pump out hose could be used to check the level of the tank? as long as it wasn't reinforced with metal...
@TakeingCrazyPills
@TakeingCrazyPills Жыл бұрын
@@ApresSail I will be testing - my parts are arriving today - my fuel tank is plastic so perhaps if not blackwater I could mount to fuel?
@htool843
@htool843 Жыл бұрын
I tried the same, but the sensor wasn’t reluable due to watery film on the inside of the tank. Later learned the sensor sensitivity can be adjusted.
@ApresSail
@ApresSail Жыл бұрын
@@htool843 good point, I may not fully glue them at the start, in case I need to adjust the sensitivity - Thanks!!
@ApresSail
@ApresSail Жыл бұрын
@@TakeingCrazyPills probably, the write up says "It can detect liquid level of various toxic substances, acid, alkali and all kinds liquid in high pressure airtight container." you could always power one up and try it, you will see the red LED if it works - good luck!!
@natalietonra
@natalietonra Жыл бұрын
Is it possible to use 12 of these sensors to monitor my printer ink cartridges with the board you're using? If not what would i need? I'd like to be alerted along with the light on the sensor to come on when my ink level drops to a set point which i hope to achieve by calibrating the sensor. I think you can tune/calibrate these sensors with a small screwdriver if you remove the plastic cap (bit with the label on) Maybe i could do without being alerted with software and just power all 12 sensors and just calibrate them so the LED comes on when the ink gets to a low level. Also, is this 'V' version you're using NPN or PNP? I suspect it's a NPN. Also does yours have the hidden calibrating screw behind the labelled cap on the sensor?
@ApresSail
@ApresSail Жыл бұрын
yes, there is enough IO for 12 digital inputs, but no more. you can tune them, but I am unsure of the repeatability, if you are trying to use them from , say a top surface to a depth. The ones I have are normally low, but it is selectable by grounding the mode wire
@adamwalter2573
@adamwalter2573 Жыл бұрын
Any idea how to mount it to a solid vertical tank ? Made from plastic and temperatures outside range from 10-40C. Same with relative humidity. If I glue it (hot glue) it will surely fall off. Anyone made something "working" ?
@ApresSail
@ApresSail Жыл бұрын
I haven't done mine yet but I was planning on using the same 3M tape you use for GoPro mounts. I have these stuck on my Ski helmet and they have been there for years - wet, frozen, hot, collisions, shock..... - amzn.to/3XPSWsu
@adamwalter2573
@adamwalter2573 Жыл бұрын
@@ApresSail Hey, thanks for this hint with this 3M tape. I even has a better (same?) solution with the "repair tape" you use for sticking car mirror. This should be dual side (glue) and transparent. However, my water tank is outside and prone to humidity (up to 100% RH) and temps 5-40C. Ask me in a month how it went on my side.
@ApresSail
@ApresSail Жыл бұрын
​@@adamwalter2573 Good luck, I hope to get mine on soon, but it is a pain to get to and I like to sail during the sailing season and fix during the winter!! However, I cant test this without being able to fill the tank
Датчик воды XKC-Y25-PNP . Много о нем.
9:09
house_dreams_today
Рет қаралды 11 М.
Harley Quinn's revenge plan!!!#Harley Quinn #joker
00:59
Harley Quinn with the Joker
Рет қаралды 20 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 63 МЛН
Алексей Щербаков разнес ВДВшников
00:47
10 Incredible Homemade Inventions Which Are On Another Level
13:15
Creation Holic
Рет қаралды 126 М.
Pi 5 Navigation Build II
7:35
Dave The MMP
Рет қаралды 3,9 М.
Water level/fluid level capacitive sensor - How it works and how to make one
10:06
Detect water THROUGH a material with this sensor
9:05
Let's Automate
Рет қаралды 3,4 М.
Openplotter and Waterproof Screen - 2 Year Update - Tech E18
16:13
Harley Quinn's revenge plan!!!#Harley Quinn #joker
00:59
Harley Quinn with the Joker
Рет қаралды 20 МЛН