Love the Irish Jersey, I am really enjoying all your videos while on lockdown here in Ireland. I own a Princess 37 grp cruiser on the River Shannon and really enjoy the tips. Keep it up , Thanks.
Add some averaging over time. Loads of benefits. Smooths out the noise from the sensor, eliminates the slop from the movement of the fuel and gives you a finer resolution because you benefit from the proportion of time spent reading at each course reading.
That's a great suggestion - also put a wait state at the bottom of the measure loop 100ms or so - they sometimes go crazy fast and throw spurious results - then use Robin's suggestion of some averaging - its not like you need fast time resolution!
Yet another string to your bow that you are showing us! Mechanic, welder, boat handler, knot tyer, painter, diver, fisherman and now computer programmer. Waiting to see something that you can't do. Good news that it might just be growth on the prop causing most of your vibration/oscillation issue. Can't wait for Renko to be back and a decent cruise that doesn't end up at a shipyard.
ok, do that many viewers really hate anything electronic so much that a warning had to be used?? C'mon folks, all of these videos are educational and great content! Thanks for the updates Stu, another great installation in the life of a trawler owner.....
@@DangarMarine well I learn something from every video....and even if I don't need it now, I may need it some day while on the water, so I appreciate everything you take the time to make. Please keep it up.
Just found this channel this morning and I have spent the day binge watching. Love the work and I have lived the ups and downs of boat projects. I have only seen one thing that I can suggest a tip on and that is put a drop of none acid silcone under your heat shrink. Water proofs it a bit better and gives the bare wires a bit of support. Wires snapped at a terminal is always a problem on yatchs.
Good technical information, updating old systems with more reliable gauges. Enjoyed the simple practical experiment. Thanks for another professional tutorial.
Navy convention is for port to be even and starboard to be odd. Ships use tank curves and measure depth to derive volume. Depth can be measured through pressure, echo/radar, or dipstick/sounding tape.
Absolutely love this channel for the sheer variety of content you offer 👌 wanna paint a boat? Build a Detroit? Wire Any 12/24v system? Do anything boat related? Code a bloody Arduino? Come to Dangar marine! Please Keep it up mate
Nice article. I’ve rigged up a 5psi sensor (giving over 1000 pressure points from 0-4m). With some heavy duty smoothing Arduino code to accept up to 5 sensors/tanks the readings remain rock solid in my water pipe tests even when shaking it around. Next step to try it in boat.
That was great Stu, a completely different part of the whole project that is totally nesescary. The way you explained it made no sense first time around, but I can go over it till I get it in my head! THANKYOU!
Definitely have not given up! This project is awesome. I was so excited you got to take the first sea trial. The dottie(sp?) updates really round out the video also.
Hey Stu that was rather interesting and I can see where it could be very useful. Diesel is lighter than water, I trying to remember numbers I haven't used in 30 odd years... water is .48 psi per foot of head. Diesel is .45 psi per foot of head I think it is, this should help you work out the range you need for your sender or transducer for your fuel level computer.
Hmmm, not sure what you are getting at , I haven't watched entire video yet......the computer board at the beginning made me start looking at the comments ..... but one foot of water head is .433psi in a manometer tube. You numbers give the difference between water and diesel I think? ( we used to use a 'manometer pressure' to check fuel tanks for leaks before installing in the boats) Cheers Warren
This was a great video Stu! I took an automotive electrical class and it covered much of the electrical content you've encountered on the boat and some content of this fuel guage project.
Just ordered an Arduino style kit on Amazon, want to give this a shot now. Around U$18 for the starter kit with electronic sensors, components and other bits and bobs. Thank you, Stu. Love your channel.
The sound of daffy walking at the end was like a pegleg pirate walking across deck. You should put an eye patch on her and video her on the boat, just for fun, haha. I love your yard too. It reminds me of my grandfather's doorless barn in the 60s. Nothing metal was thrown away, and chickens free ranging outside, but nesting boxes tucked in the nooks inside. I love the boat building, and even the electronics. I actually work with computers but if I had followed my passions in my youth, I might of been a shipwright of old tall ships.
I'm a programmer as my profession, and this was really interesting to see how you programmed the device to actually do something practical in the real world. Often times I only see the results as a computer application, or a web page. Really cool and refreshing to see programming being useful for something I am interested in!
my head exploded !! the stupid runs deep in my family , but I have no doubt someone understood and will be able to help you more than I ever could great vid ….I think :)
Those Arduinos are amazing little devices. I built a home/yard security system that detected intrusion and plotted motion on a diagram of the house on my laptop using a kit made by them about a year ago. Works great. The sensors that showed a door or window opening was straight forward. The motion sensors were accurate +/-6 feet and had to be majorly tweeked by adjusting values in the code for it to show accuracy of +/-2 feet on the laptop diagram. I think you may have to do same to get an accurate reading on your fuel gauge. What I loved was all the code was availible on their website and the whole thing was sold as a kit online that cost about $150 (U.S.). Hope it works for you. Once you work out the tweeks, it should. Awesome video. Definately different and not boring. See you in the next one.
Yes, my plan is to use the Arduino for the boat's security system too. Have GPRS / GPS shield for it so it can be tracked and send SMSs to me if any alarms go off.
Great work Stu ... was not expecting this one but makes sense. Can then expand later for weather, water speed by power created from a turbine put relative to kn etc.
Not your usual output as you say, but interesting none the less. I enjoyed it! Running a boat requires lots of different skills, and this is a great example of that.... boating is not just spanners, welding spatter, paint fumes and oily rags!!
Hi Stu, You talked about building up the thickness of antifoul . With my experience over 15 years with a displacement cruiser. Less is more. Only apply enough to work between your regular out of water maintenance period. As it is design to release and wear away. I have found that build up of old antifoul to thick and painted over will eventually loose adhesion and flake off taking your new coating with it. I found that it was better to sand old antifoul well back .Good idea to each time you put a new coat of antifoul is to use a different color so you can sand back to the last old color. Love watching your projects.
I do like the idea of using different colours, but being a steel boat I also like the idea of being protected from the odd scratch not going down to metal.
I'm a computer nerd and programmer by trade (game dev, mobile lately) so seeing you peck around in code was actually enjoyably entertaining. Analogue, lol
Awesome episode Stu! I didn't know you were so knowledgeable about so many different things. I have had an interest in arduino but the programming is kicking my butt! I'm sure with a little fine tuning you will have an awesome functional guage! Cheers!
You aren't only a good boat mechanic you are a professor at technology also. I always measured diesel fuel tanks in gallons you got me lost on this percentage stuff.
Nice one! To smooth out the data, a simple first order filter works well. filtered value = (filter const* prev value) + ((1- filter constant)*current value) Grab the "blink without delay" sketch from the arduino examples and take samples every 200-300 milliseconds. Filter const can range from 0 to 1 (no filtering to infinite filtering). Start with .85 to .95 and things should settle down nicely even in rough water. You can fiddle with the algorithm to detect a refill or a leak, but that isn't necessary. Again, excellent presentation -- Thanks!
My fuel gauge was the antique analog method using a 5 foot long organic sounding rod which closely resembled a broom stick. This was calibrated whilst filling the tanks from dry at 50 litre intervals with a notch inscribed into said rod. This proved to be infallible, unlike electronic contraptions that seems find the fine sea air disagreeable. Even if the swab of a deck hand did loose one over the side whilst beating a marauding shark around the snout, we then substituted the handle of the deck brush, the draw back was every time he scrubbed the decks he stank of diesel.
Hi, enjoyed the technical video. Shocked to see the amount of barnacles on the prop, of course it will disturb the balance of the prop. Great video 👌🇬🇧
Another method of measuring tank level is with a capacitive sensor. Several nice videos on how to build a sensor to do this. One nice thing about this is it likely could detect the presence of a significant amount of water in the tank because the dielectric constant for water is so much higher than for diesel.
I would concentrate on getting a more suitable pressure sensor. Using the current one and amplifying the reading by using a 1.1v ref plus mapping means the reading will be all over the shop when you're under way. Using a new sensor plus smoothing code (in the arduino website) and I reckon you're on to a winner 👍 Keep up the good work 🚢
@@DangarMarine Maybe an ultrasonic distance measuring sensor like those in rear bumpers? Sloshing fuel will require average over many seconds I expect.
@@Bennyboy-dog I agree about ultrasonic sensors - might be less accurate due to sloshing but there will also be no contact or extra leak point. That said, there likely isn't a hatch for you to bolt the sensor to like in a car, something which would make a float sensor equally difficult to instal.... Along with some other commenters, I worry that the resolution of a pressure sensor might be heavily affected by barometric variation.
Thanks Stu! I've been thinking about dipping a toe into the Ardwater. Coming to the end of a major project at the moment, maybe now is the time. They seem to be pretty unlimited in what they can do.
Refurbishing a soldering iron tip: File the tip back to clean copper and re-tin. When using a soldering iron, dip the hot tip into flux paste or Bakers Fluid or clean with a soldering station pad to ensue a clean uncontaminated tip. Cleanliness is the secret to trouble free soldering. I hope this helps
@@DangarMarine do not file, you will ruin this tip for good. Soldering iron tips are made of copper clad in iron. If you file away the iron coating, the bare copper will corrode very fast. Immerse hot tip in pipe soldering flux, which is mildly acidic and clean with steel wool, repeat until your tip is fixed.
My first thought was to have a smoothing function to average inputs. Then I see guys far smarter than me have already offered the same. Love me some subscriber help!
Could not be more excited about using the Arduino to measure system pressures and temperatures. Just had an undetected cooling failure that has cost me $15k US on an older IO drive resulting in a fire. Imagine if I had the Arduino checking the exhaust water pressure and temp then sounding/flashing an alarm if it's out of spec. Totally appropriate subject for your channel. Many Thanks.
For sure, there is so much you can do with the Arduino, and as your situation shows, you really can't have enough monitoring of temperatures, pressures, volumes and voltages to keep things safe and running well.
@@DangarMarine most of them appear to have a flow rating that is way to high. From another youtube channel I found a bloke that used a Bio-Tech FCH-M-PP-LC Aggressive Chemical Low Flow Flowmeter. Might be worth exploring. Link added www.conrad.com/p/bio-tech-ek-fch-m-pom-lc-g-18-flow-meter-fch-m-pom-lc-001-35-lmin-150391
Fun stuff Stu, I really enjoyed that. Makes me want to try something like that myself. I agree that you need a sensor with a tighter range. Most of the range is wasted with the one you have.
another sensor you can try is " Laser Distance measurement with 6pin VL53L0X " or the ultasonic distance sensor , mounted in top of tank , bounces signal off liquid level .
Stu I am a 4WDwer WA and we have so much content that is awesome over here in Perth... but you are the only channel i have the notification on.. and i long for each vid. Its science...... its use your hands... its Its an upload stop everything ..... Stu I am painting through Covid but each release is like a Star Wars movies.... well kinda...... you get the pic
Stu's a coder. Diesel fuel weighs ≈7 lbs/gallon. Water weighs ≈8 lbs/gallon. The nonlinear part of this equation is the boat's tanks have a non-uniform cross section as you go up. I think the weight varies with quantity of liquid above the sensor, not just the height. Ron W4BIN
Peter from Sweden already mentioned using a second pressure sensor to get an atmospheric pressure as reference. You actually can get inexpensive differential pressure senders/sensors from camping supply stores or get them from Alibaba for a fraction of the price here in Oz. You could also mount (glue) ultrasonic sensors on the outside of the tank and use the change in signal for the digital I/Os. If you space them according to tank volume, you avoid calibration issues. There are some of these things available for caravan tanks and don't cost an arm and a leg. (or direct import from Alibaba).
Mate your genius! I’ve been struggling with a float switch on my pressure washer buffer tank for months, because it’s all mounted on a trailer it doesn’t last 5mins, pressure sender has no moving parts so should withstand bumpy roads and dodgy driving alot more. All I have to do is program it to send a kill signal to engine once a set minimum value is reached.
Slosh smoothing - averaging window size a multiple of the fundamental slosh frequency. Hey Stu, if you first have your meter set up with no smoothing and you can easily see values jumping from sloshing. I suggest implementing some averaging smoothing with a sliding window where the window size (in time) is a multiple of the natural sloshing frequency period. For example, if your tank sloshes every 1.2 seconds, have your update rate some multiple of that, like 12 seconds (x10), or 60 seconds(x50). This will help you get a better average. This might be overkill, and your sloshing frequency surely wouldn't be uniform across the entire range, but this is an approach you might want to keep in mind while you are dialing things in. I'm sure you know, but select a sensor that allows you to use the widest range of voltage swing. Stay away from that noise! Love the channel!
After seeing those barnacles on the prop makes me glad I only have freshwater lakes and rivers around me. I couldn't take the constant battle trying to keep the boat clean.
Thanks! You got me inspired to order the things I need for my project. Arduino based remote control for my autopilot. It's a Raymarine talking Seatalk :) I'll be using the same display shield you use to display what is happening and the buttons to control the autopilot + I'm adding a wireless remote also.
You're very lucky to still be able to access your boat in a yard or marina. Here in the UK, under COVID-19 lockdown restrictions, no boat owners are able to visit their boats in marinas. An unbelievable amount of barnacles on your prop through ... wow it's a huge amount of accretion in just 8 months. :-(
Love the Irish Jersey, I am really enjoying all your videos while on lockdown here in Ireland. I own a Princess 37 grp cruiser on the River Shannon and really enjoy the tips. Keep it up , Thanks.
Glad you like them!
As a former BASIC Stamp programmer, I found your Arduino segment very interesting!
Add some averaging over time. Loads of benefits. Smooths out the noise from the sensor, eliminates the slop from the movement of the fuel and gives you a finer resolution because you benefit from the proportion of time spent reading at each course reading.
Ah, good point! Duration is an extra bit of info the algorithm will take into account.
Can confirm, I had to do this for a scale I take measurements from over a serial port.
Came here to say this, will confirm averaging will do wonders for your results.
I second this suggestion from @Robin.
That's a great suggestion - also put a wait state at the bottom of the measure loop 100ms or so - they sometimes go crazy fast and throw spurious results - then use Robin's suggestion of some averaging - its not like you need fast time resolution!
Yet another string to your bow that you are showing us! Mechanic, welder, boat handler, knot tyer, painter, diver, fisherman and now computer programmer. Waiting to see something that you can't do.
Good news that it might just be growth on the prop causing most of your vibration/oscillation issue. Can't wait for Renko to be back and a decent cruise that doesn't end up at a shipyard.
Thanks mate, I'm looking forward to getting the boat back too and seeing how it goes.
Awesome video!!! I’ve been watching you for 6 months and this is definitely one of my favorite. Keep up the good work.
As an ex-IT guy myself, I found that bloody interesting. Nice one Stu.
Thanks mate.
ok, do that many viewers really hate anything electronic so much that a warning had to be used?? C'mon folks, all of these videos are educational and great content! Thanks for the updates Stu, another great installation in the life of a trawler owner.....
From the stats, about 50% don't watch anything electrical. Believe it or not, some people even threaten me with violence.
@@DangarMarine well I learn something from every video....and even if I don't need it now, I may need it some day while on the water, so I appreciate everything you take the time to make. Please keep it up.
Brilliant Stu! Glad Daffy is gaining use of her leg👍
Love the
change in pace, and well explained
Thanks Rod.
So different to grinding and painting. The whole build has been great to watch, totally awesome in fact
Loved this one Stu. Fairly new here and now binge watching all the old episodes! Subscribed and thanks for sharing your work.
Thanks mate. Glad you enoyed it.
Just found this channel this morning and I have spent the day binge watching. Love the work and I have lived the ups and downs of boat projects. I have only seen one thing that I can suggest a tip on and that is put a drop of none acid silcone under your heat shrink. Water proofs it a bit better and gives the bare wires a bit of support. Wires snapped at a terminal is always a problem on yatchs.
Good technical information, updating old systems with more reliable gauges. Enjoyed the simple practical experiment. Thanks for another professional tutorial.
Wow Stu, you are really good with that stuff!
Thanks for the warning. It prepared my brain for the kind of learning to expect. Challenged me to stick it out and try .
Navy convention is for port to be even and starboard to be odd. Ships use tank curves and measure depth to derive volume. Depth can be measured through pressure, echo/radar, or dipstick/sounding tape.
It's always good to follow conventions when you can, thanks for that!
Absolutely love this channel for the sheer variety of content you offer 👌 wanna paint a boat? Build a Detroit? Wire Any 12/24v system? Do anything boat related? Code a bloody Arduino? Come to Dangar marine! Please Keep it up mate
Thanks Joel. :)
I really enjoyed this video and you demonstrating how it will work.
Nice article. I’ve rigged up a 5psi sensor (giving over 1000 pressure points from 0-4m). With some heavy duty smoothing Arduino code to accept up to 5 sensors/tanks the readings remain rock solid in my water pipe tests even when shaking it around. Next step to try it in boat.
Nice work!
That was great Stu, a completely different part of the whole project that is totally nesescary.
The way you explained it made no sense first time around, but I can go over it till I get it in my head!
THANKYOU!
Definitely have not given up! This project is awesome. I was so excited you got to take the first sea trial. The dottie(sp?) updates really round out the video also.
I love this stuff. As tinkerer and computer science student, just seeing simple code produce a practical result is great :D
Hey Stu that was rather interesting and I can see where it could be very useful.
Diesel is lighter than water, I trying to remember numbers I haven't used in 30 odd years... water is .48 psi per foot of head. Diesel is .45 psi per foot of head I think it is, this should help you work out the range you need for your sender or transducer for your fuel level computer.
Hmmm, not sure what you are getting at , I haven't watched entire video yet......the computer board at the beginning made me start looking at the comments ..... but one foot of water head is .433psi in a manometer tube. You numbers give the difference between water and diesel I think?
( we used to use a 'manometer pressure' to check fuel tanks for leaks before installing in the boats) Cheers Warren
Thats awesome! I've fiddled around with arduino myself but to see you use it for a legitimate purpose is pretty cool
They are fun to experiment with just to learn as a hobby, but it's always good when you have a practical use.
This was a great video Stu! I took an automotive electrical class and it covered much of the electrical content you've encountered on the boat and some content of this fuel guage project.
Thanks Stu, that was very interesting even for a guy 50+years of age. Keep up the great work.
Just ordered an Arduino style kit on Amazon, want to give this a shot now. Around U$18 for the starter kit with electronic sensors, components and other bits and bobs. Thank you, Stu. Love your channel.
The starter kits are a great way to go. They give you everything you need to do a few sample project straight away. Have fun! :)
WOW. It is amazing how quick the barnacles form.
Particularly in an estuary.
I am impressed. Way over my head, but pretty cool. You obviously have some knowledge of programming language. A whole new dimension of Stu. Very cool
Thanks mate. Yes, worked as a programmer for many years.
Good man Stu, loving the Jersey. ☘
The sound of daffy walking at the end was like a pegleg pirate walking across deck. You should put an eye patch on her and video her on the boat, just for fun, haha. I love your yard too. It reminds me of my grandfather's doorless barn in the 60s. Nothing metal was thrown away, and chickens free ranging outside, but nesting boxes tucked in the nooks inside.
I love the boat building, and even the electronics. I actually work with computers but if I had followed my passions in my youth, I might of been a shipwright of old tall ships.
Way to go Stew.... enjoyed the information, and will probably be using it soon.
You continue to impress me with your range of knowledge and communication skill. :-)
Cool video, nice change of pace. Keep up the good work!
Alot of that went over my head.... But as an Irish man I felt compelled to watch!... GO Ireland 🍀🇮🇪
Thanks so much for explaining this, I’m going to make one for my beer kegs so I can assess the volume, this is just brilliant!
The perfect application. ;)
I'm a programmer as my profession, and this was really interesting to see how you programmed the device to actually do something practical in the real world. Often times I only see the results as a computer application, or a web page. Really cool and refreshing to see programming being useful for something I am interested in!
I must admit, I do like IT stuff that interfaces with the physical world, something Arduinos are perfect for
Great project to work on and working like you want. Enjoy your videos and content.
my head exploded !! the stupid runs deep in my family , but I have no doubt someone understood and will be able to help you more than I ever could great vid ….I think :)
Those Arduinos are amazing little devices. I built a home/yard security system that detected intrusion and plotted motion on a diagram of the house on my laptop using a kit made by them about a year ago. Works great. The sensors that showed a door or window opening was straight forward. The motion sensors were accurate +/-6 feet and had to be majorly tweeked by adjusting values in the code for it to show accuracy of +/-2 feet on the laptop diagram. I think you may have to do same to get an accurate reading on your fuel gauge. What I loved was all the code was availible on their website and the whole thing was sold as a kit online that cost about $150 (U.S.). Hope it works for you. Once you work out the tweeks, it should. Awesome video. Definately different and not boring. See you in the next one.
Yes, my plan is to use the Arduino for the boat's security system too. Have GPRS / GPS shield for it so it can be tracked and send SMSs to me if any alarms go off.
Started off way above my head. By the end it made more sense to me. I feel like I have learned something new and useful. Thanks 😊
Great work Stu ... was not expecting this one but makes sense. Can then expand later for weather, water speed by power created from a turbine put relative to kn etc.
For sure, the sky is the limit when it comes to Arduinos.
I love this project - I’m a massive tech-head/geek.
Not your usual output as you say, but interesting none the less. I enjoyed it! Running a boat requires lots of different skills, and this is a great example of that.... boating is not just spanners, welding spatter, paint fumes and oily rags!!
That pipe over that Mac book, hurts.
Excellent proyect!
Hi Stu, You talked about building up the thickness of antifoul . With my experience over 15 years with a displacement cruiser. Less is more. Only apply enough to work between your regular out of water maintenance period. As it is design to release and wear away. I have found that build up of old antifoul to thick and painted over will eventually loose adhesion and flake off taking your new coating with it. I found that it was better to sand old antifoul well back .Good idea to each time you put a new coat of antifoul is to use a different color so you can sand back to the last old color. Love watching your projects.
I do like the idea of using different colours, but being a steel boat I also like the idea of being protected from the odd scratch not going down to metal.
Loved it! Great example of how inexpensive electronics can be adapted for specific applications. Cal curve for the win!
Surprised your US viewers aren't losing their minds over your correct pronunciation of Solder.
I'm a computer nerd and programmer by trade (game dev, mobile lately) so seeing you peck around in code was actually enjoyably entertaining.
Analogue, lol
Wow can't believe the growth on that prop that is insane
Fun to see tech being applied to a practical situation.
And you program too!! You are a jack of all trades!!!
Two things I worked with today, Differential pressure switches and Trane controllers. Nice!
Very interesting Stu. Arduino's are very useful devices. It's amazing how many applications they can be used for!
For sure, it's almost limitless.
Very cool!! Pls do more videos like this!!
Pretty nifty way to read the fuel level.
Glad that her leg is getting so much better :)
Awesome episode Stu! I didn't know you were so knowledgeable about so many different things. I have had an interest in arduino but the programming is kicking my butt! I'm sure with a little fine tuning you will have an awesome functional guage! Cheers!
Thanks mate. I think with a more sensitive sensor and some averaging code it will work quite well.
This was a great episode. I’m definitely not a tech person but it was really nice to learn few things here! Cheers!
You aren't only a good boat mechanic you are a professor at technology also. I always measured diesel fuel tanks in gallons you got me lost on this percentage stuff.
I'm going to have the buttons swap between percentage and litres remaining, and maybe even an estimated time till empty. :)
Been really interested in ways to use this tech on my boat. Keep them comming
Nice one! To smooth out the data, a simple first order filter works well. filtered value = (filter const* prev value) + ((1- filter constant)*current value)
Grab the "blink without delay" sketch from the arduino examples and take samples every 200-300 milliseconds. Filter const can range from 0 to 1 (no filtering to infinite filtering). Start with .85 to .95 and things should settle down nicely even in rough water. You can fiddle with the algorithm to detect a refill or a leak, but that isn't necessary. Again, excellent presentation -- Thanks!
I’ve mentioned it before, but now is a excellent time to do a colab with EEV blog. That would make for one epic Aussie video!! 👍👍😬
Very impressed with your broad range of capabilities. Is there anything you can’t do!! Loved the video and keep up the great work.
Thanks mate. Can't dance. ;)
My fuel gauge was the antique analog method using a 5 foot long organic sounding rod which closely resembled a broom stick. This was calibrated whilst filling the tanks from dry at 50 litre intervals with a notch inscribed into said rod. This proved to be infallible, unlike electronic contraptions that seems find the fine sea air disagreeable. Even if the swab of a deck hand did loose one over the side whilst beating a marauding shark around the snout, we then substituted the handle of the deck brush, the draw back was every time he scrubbed the decks he stank of diesel.
Yes, I'll be using both.
That was a very interesting video Stu thank you for sharing it.
I am so impressed, as always, but a whole new field and good results anyway. Thanks for making the video
Hi, enjoyed the technical video. Shocked to see the amount of barnacles on the prop, of course it will disturb the balance of the prop. Great video 👌🇬🇧
Another method of measuring tank level is with a capacitive sensor. Several nice videos on how to build a sensor to do this. One nice thing about this is it likely could detect the presence of a significant amount of water in the tank because the dielectric constant for water is so much higher than for diesel.
If it's any help, I definitely enjoyed this episode. electronics, arduino, etc all good fun.
I would concentrate on getting a more suitable pressure sensor. Using the current one and amplifying the reading by using a 1.1v ref plus mapping means the reading will be all over the shop when you're under way.
Using a new sensor plus smoothing code (in the arduino website) and I reckon you're on to a winner 👍
Keep up the good work 🚢
For sure, have already found a few good options for replacement sensors. They are a lot more expensive but definitely worth it.
@@DangarMarine Maybe an ultrasonic distance measuring sensor like those in rear bumpers? Sloshing fuel will require average over many seconds I expect.
@@Bennyboy-dog www.apgsensors.com/about-us/blog/the-best-fuel-tank-level-sensor
@@Bennyboy-dog I agree about ultrasonic sensors - might be less accurate due to sloshing but there will also be no contact or extra leak point. That said, there likely isn't a hatch for you to bolt the sensor to like in a car, something which would make a float sensor equally difficult to instal.... Along with some other commenters, I worry that the resolution of a pressure sensor might be heavily affected by barometric variation.
Benny Burger have done literally this with water tanks on a mates farm.
Thanks Stu!
I've been thinking about dipping a toe into the Ardwater.
Coming to the end of a major project at the moment, maybe now is the time. They seem to be pretty unlimited in what they can do.
Very interesting and a straightforward explanation of the code. I was going to comment but others have said it all.
This is a great coverage and info for Arduino projects in general! Great stuff!
Truly a jack of all trades.
Refurbishing a soldering iron tip: File the tip back to clean copper and re-tin. When using a soldering iron, dip the hot tip into flux paste or Bakers Fluid or clean with a soldering station pad to ensue a clean uncontaminated tip. Cleanliness is the secret to trouble free soldering.
I hope this helps
Thanks Chris!
@@DangarMarine do not file, you will ruin this tip for good. Soldering iron tips are made of copper clad in iron. If you file away the iron coating, the bare copper will corrode very fast. Immerse hot tip in pipe soldering flux, which is mildly acidic and clean with steel wool, repeat until your tip is fixed.
@@akhtarkh I agree, good advice. Stu may need to purchase a replacement tip. Cheers
I enjoyed the content, it shows how many skill are needed for a modern build!
My first thought was to have a smoothing function to average inputs. Then I see guys far smarter than me have already offered the same. Love me some subscriber help!
Could not be more excited about using the Arduino to measure system pressures and temperatures. Just had an undetected cooling failure that has cost me $15k US on an older IO drive resulting in a fire. Imagine if I had the Arduino checking the exhaust water pressure and temp then sounding/flashing an alarm if it's out of spec. Totally appropriate subject for your channel. Many Thanks.
For sure, there is so much you can do with the Arduino, and as your situation shows, you really can't have enough monitoring of temperatures, pressures, volumes and voltages to keep things safe and running well.
Oh I like. You've got me thinking about an Electronic flow meter now.
If you find any good flow meters that could be interfaced with an Arduino let me know!
@@DangarMarine most of them appear to have a flow rating that is way to high. From another youtube channel I found a bloke that used a Bio-Tech FCH-M-PP-LC Aggressive Chemical Low Flow Flowmeter. Might be worth exploring.
Link added www.conrad.com/p/bio-tech-ek-fch-m-pom-lc-g-18-flow-meter-fch-m-pom-lc-001-35-lmin-150391
Interesting, you learn something everyday, thanks Stu.
As usual great and informative video. Love watching your vids.
Fun stuff Stu, I really enjoyed that. Makes me want to try something like that myself. I agree that you need a sensor with a tighter range. Most of the range is wasted with the one you have.
another sensor you can try is " Laser Distance measurement with 6pin VL53L0X "
or the ultasonic distance sensor , mounted in top of tank , bounces signal off liquid level .
Russell Dearlove yup, in rural areas here in the UK where a lot of people use heating oil in tanks, this is a common way of monitoring oil level 👍🏻
In a boat it likely will rock the fuel so its kinda messy
@@mrizkic Software can handle that. Arduinos are great for cleaning up messy readings.
That stuff is nice for a reference, but I'm old school and would want sight glasses. Have a great day.
Stu, welcome back RUclips wasn't the same while you were gone.
Great video, I've been wanting to get into those Arduino boards to mess around with
Stu I am a 4WDwer WA and we have so much content that is awesome over here in Perth... but you are the only channel i have the notification on.. and i long for each vid. Its science...... its use your hands... its Its an upload stop everything ..... Stu I am painting through Covid but each release is like a Star Wars movies.... well kinda...... you get the pic
Thanks mate, glad to hear you've been enjoying the vids. :)
Stu's a coder. Diesel fuel weighs ≈7 lbs/gallon. Water weighs ≈8 lbs/gallon. The nonlinear part of this equation is the boat's tanks have a non-uniform cross section as you go up. I think the weight varies with quantity of liquid above the sensor, not just the height. Ron W4BIN
Awesome job Stu. Thanks for the fun 🍻
You're welcome. :)
Great information ,we all need to get digital savvy. That prop was nasty , hope it solves the wobble.
Peter from Sweden already mentioned using a second pressure sensor to get an atmospheric pressure as reference. You actually can get inexpensive differential pressure senders/sensors from camping supply stores or get them from Alibaba for a fraction of the price here in Oz.
You could also mount (glue) ultrasonic sensors on the outside of the tank and use the change in signal for the digital I/Os. If you space them according to tank volume, you avoid calibration issues. There are some of these things available for caravan tanks and don't cost an arm and a leg. (or direct import from Alibaba).
Very impressive ! Neat stuff.
Mate your genius! I’ve been struggling with a float switch on my pressure washer buffer tank for months, because it’s all mounted on a trailer it doesn’t last 5mins, pressure sender has no moving parts so should withstand bumpy roads and dodgy driving alot more. All I have to do is program it to send a kill signal to engine once a set minimum value is reached.
Yep, that should work fine. I too aren't a big fan of anything with moving parts in a rough environment.
good stuff mate, that was very interesting in concept so im keen to see it in practice now..
A-4 Skyhawk electrician. Grew up on a Simpson 260, and an "O"-scope. Good piece !
Slosh smoothing - averaging window size a multiple of the fundamental slosh frequency.
Hey Stu, if you first have your meter set up with no smoothing and you can easily see values jumping from sloshing. I suggest implementing some averaging smoothing with a sliding window where the window size (in time) is a multiple of the natural sloshing frequency period. For example, if your tank sloshes every 1.2 seconds, have your update rate some multiple of that, like 12 seconds (x10), or 60 seconds(x50). This will help you get a better average.
This might be overkill, and your sloshing frequency surely wouldn't be uniform across the entire range, but this is an approach you might want to keep in mind while you are dialing things in.
I'm sure you know, but select a sensor that allows you to use the widest range of voltage swing. Stay away from that noise!
Love the channel!
After seeing those barnacles on the prop makes me glad I only have freshwater lakes and rivers around me. I couldn't take the constant battle trying to keep the boat clean.
Hi Stu, if you prefer you can use a PWM output and use a analog gauge which is easy to see during the day thanks for another great video regards Paul
For sure.
Thanks! You got me inspired to order the things I need for my project.
Arduino based remote control for my autopilot. It's a Raymarine talking Seatalk :) I'll be using the same display shield you use to display what is happening and the buttons to control the autopilot + I'm adding a wireless remote also.
You're very lucky to still be able to access your boat in a yard or marina. Here in the UK, under COVID-19 lockdown restrictions, no boat owners are able to visit their boats in marinas. An unbelievable amount of barnacles on your prop through ... wow it's a huge amount of accretion in just 8 months. :-(
Daffy can scrat again! Beautiful