In this video I experiment with connecting a pressure sensor to an Arduino to make a diesel fuel gauge for the trawler.
Arduino Uno on Amazon https://www.amazon.com/dp/B008GRTSV6/?ref=exp_dangarmarine_dp_vv_d
Some extra information on fluids and pressure https://www.youtube.com/watch?v=02fqJOJFpEY
If you are enjoying this channel, please consider making a donation to https://www.paypal.me/dangarstu or become a Patreon of Dangar Marine at https://www.patreon.com/dangarmarine
T-shirts and other merchandise available at https://teespring.com/stores/dangar-marine
Common items used in these videos are available from my Amazon store at https://www.amazon.com/shop/dangarmarine
Dangar Marine is proudly sponsored by MarineEngine.com. MarineEngine.com supplies a wide variety of spare parts for many brands of outboard motors. If you are in the US, be sure to check out their online store http://www.marineengine.com/
All music available at http://soundscloud.com/dangarstu
, https://i.ytimg.com/vi/wwQTVZnD7Ig/hqdefault.jpg
source
Is it safe to place electronic components in flammable contents?
how about a easy setup fuel gages for the tanks of a 2 stroke motorized bicycle
Great project, I am going to make one also, do you have a link to the script please?
Nice Irish T shirt!!
On a plastic red portal gas tank to fuel gauge often stops working and leaks from the gauge. It would be great to have a gauge that works great on portal tanks
Cheers john
Awesome
Impressed with your Arduino skills. Mine are non existent. However, from an engineering point of view I should mention that in order to measure liquid head over such a small range using pressure measurement you will require a DIFFERENTIAL pressure sensor (the low pressure side of the sensor linked to atmosphere). The liquid head pressure for a tank 50cm high (for example) would be less than 50 millibar gauge (0.05 barg). It would be approximately 50 millibar for water, but as the density of the fuel is less than that of water then it will be 50 millibar multiplied by the relative density of the fuel. Atmospheric pressure can vary by more than that.
I noted after writing above about a 50cm high tank that you had implied that the fuel tanks were approx 5 feet high. Even if the tanks were 1.5 metres high the maximum static liquid head pressure would still be less than 0.15barg (150 millibar gauge).
Hope you have recovered from your injuries.
You need a level indicator combined with a pressure sensor dont you? The arduino can then use those combined metrics to use software to massage an accurate fuel gauge. Having this info going to a 2 line LCD seems almost so 90sish to me, lol. Get that data out to a wifi connection. You might also consider a Seeduino Xiao or ESP32 based controller. Cheaper and far more powerful than a 16mhz Uno. $7 ea and the size of a postage stamp in the case of the Seeduino Xiao. They both use the same Arduino IDE and libraries. You could also get a Raspberry Pi4 and use its GPIO ports and also setup as an MQTT (Node-Red) server then configuration of your micro controllers becomes super simple and you have a "smart boat." I would be using all sorts of sensors and cameras as cheap as they are now. I would have a nework of EXP32Cams to see 360' around the boat as well as in places like the Bilge. From environmental monitoring, motor control, to a database to store all of your data can be done on the cheap nowadays. You can access a web based interface from any wifi capable device using Node-Red. Getting to 5v is as simple as a $8 buck converter.
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.
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.
I think those sending wires are too scrawny for a marine environment. The fuel gauge on my boat isn't very accurate. The newer gauges use a flow meter. So as long as you reset the meter when you fill up, and you know your tank size. …
Any chance you could please share the coding
very cool video! never realized how cheap these little cpu things got!
Hi, would be interesting to see a follow up video showing the final product, and mainly the type of sensor you decided to use. Overall great solution, but seemed that the sensor had a too wide range for this application. Looking forward to see the end result!
Good technical information, updating old systems with more reliable gauges. Enjoyed the simple practical experiment. Thanks for another professional tutorial.
Ive done similar projects for rain water collection in plastic barrels and i use GM MAP sensors . And if you dont plan on using the Buttons Get an I2C display it will free up a bunch of pins and space .
Not very impressed with the anti-foul
Arduinos are pretty useful. I don’t know if you know what an escape room is. It’s a room that a small group of people get locked in and have to solve different puzzles to get out in a certain amount of time. My daughter and I converted a RV into 2 rooms with about 5 different arduino puzzles in each room. The final one unlocks the door if you solve all the puzzles under the allotted time. Nice video 👍
Ever think about linking the arduino into a crestron system. It will give you a touch screen up front to monitor all the info and trigger and control things too like relays,tvs ect.
23:00 to be like dead accurate with an additional atmospheric pressure sensor put outside to take also the atmospheric pressure that is fluctuating in consideration. The temperature let's say it's almost constant due to fact is staying in water and not fluctuating to much, temperature it's a factor that is affecting density. Maybe will add also atmospheric pressure, humidity and temperature to make a barometer, it's easy to put also a voltage sensor and maybe a warning light :D. But it's ok how it is due to application 🙂 An useful add on will be to do multiple readings , and do a mediation between them to compensate the moving of the fuel due to waves.
Overall!! Nice to discover that you have hidden skills, you are living in the heaven from my point of view and hope to get well soon. Cheers and take care! I think it's hard to live there but at least you are somehow free.
My brain is on fire.
I only comprehend rocks, and sticks.
You are slick as a minnows dick, friend.
I actually thought this was a great episode…….didnt know that this type of programming could be so easy…….thanks.
Great stuff! Came for Johnson Service, stayed for the Duino. I wonder if you were able to locate a sensor with a full-scale closer to 10 psi? One ATM of water is 33 ft and 15 pounds. I doubt you have anything like 33 feet of diesel? Interested to know if the filler neck is vertical and could dramatically affect the reading near the full mark? Keep up the awesome outboard vids. Makes me appreciate fresh water all the more.
Agreed, the keyboards on those macs are absolute trash.
Also, "American Spelling" — you mean the more efficient use of letters, for more performant code 😉
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.
You are super cool bro. I retired last year from a career of electronics and computer technology. Fun to listen to you explain the technical electronic/electrical stuff. You have some good knowledge of the subject.
Awesome