Go Down

Topic: Wifi Enabled Fuel Oil Level Gauge (Read 269 times) previous topic - next topic

JedidiahStolzfus

I've been working on this project on an off for about a year.  Last week I started working on it in earnest and got it finished to the point where it's installed and running.



There's an ESP-01 communicating with an Arduino Mini-Pro via software serial.  The ESP-01 connects to my wireless network and sends the level of the oil read from an ultrasonic transducer that's attached to the Arduino. 

There's more information about it's function by clicking the picture above (no ads, no spam, just a simple blog).  I'm going to post the code later once I'm sure it's mostly bug free.  It'll have an entire package including the PHP files for the webserver and the fuel gauge.



I have a couple more IoT projects in the works, just waiting for some parts to arrive.

TonyWilk

Nice!

I ought to do that with our oiltank, the original wireless gauge packed up a couple of years ago.

btw:

There's more information about it's function by clicking the picture above
... the link gave me: "403 Forbidden error"

Yours,
  TonyWilk

JedidiahStolzfus

Nice!

I ought to do that with our oiltank, the original wireless gauge packed up a couple of years ago.

btw:

... the link gave me: "403 Forbidden error"

Yours,
  TonyWilk

Sorry about the error, you're probably in one of the countries that I ended up banning due to a massive bot net attack I was under going.  PM me your IP subnet and I'll open it.

TonyWilk

Interesting...

What sensor did you use for this?
also, please update when you have your code available

Yours,
  TonyWilk

P.S. Noticed you use JSON... you may be interested in these (not specifically for Arduino, but it's just C) which were written to handle JSON in microcontroller applications:

jRead - an in-place JSON element reader

jWrite - a really simple JSON writer in C

JedidiahStolzfus

I'm using a sensor that I found on AliExpress.

Seems to work ok, but it does have an issue with objects being too close.  I think it's minimum detection range is around 20cm.  My original thought was to put a 20cm pipe on the top of the tank so that if the tank was full it wouldn't error, but the ping didn't seem to like being transmitted down a pipe and caused even more problems with detection. 

Go Up