2023-05-22 04:14 PM
Hello all,
I need some help with a project I'm working on trying to help a disabled elderly family member. basically he have a 600L aquarium that stands on a cabinet, inside the cabinet are all of the aquarium support systems and one of them is small rectangular 10-15L that holds clean water with some nutrient/fertilizers mixed in ( can't remember exactly the name of this tank ) and every once in a while a small amount of water 100/300ml from this tank gets pumped up to the aquarium. its challenging for him to get up every time to check how full or empty the smaller tank is since he needs to squat/bend over to open the cabinet doors which he really having hard time to do. so I suggested that maybe I can help and put some kind of a sensor that will measure the water level ( in % ) in the tank and show it on a small tft display that I can mount on the outside of the cabinet door. that way he doesn't need to unnecessarily go to the cabinet and check, only when actually that tank reads low and needs to be filled up.
I'm no experience coder and the whole sensoring application world is very new to me.
I actually experimented in the last 2-3 weeks with some sensors like the HC-SR04 ultrasonic sensor and the waterproof A02YYUW since I could find some very informative YouTube tutorials. it worked a bit but after very short time both of the sensors started to give inaccurate reading and one of them even stopped completely working.
so after more indept searching I came to find out abut the VL53L5CX and the VL53L4CD sensors that would perfectly fit my purpose, after reading a bit further I understood that the VL53L4CD would fit my needs better.
I used a LILYGO ESP32-S3R8 since it has a nice big 1.9" TFT display ON BOARD.
What I kindly want to ask, is if someone can help me out with a step by step of what i need for this project to work. I really don't need any fancy wifi/autmatic/blynk or any kind of extra applications just a straight up water level measurements that show up on the tft display as PERCENTAGE units. I know that some changes needs to be done to the sample code the ST provides for that sensor and that is basically where I need the help I'm looking for.
I'm working with platformio ( also have Arduino IDE installed but found it easier for me to work with platformio ).
I'm basically trying to recreate the ST YouTube video "Liquid Level Monitoring using ST’s Time-of-Flight: VL53L5CX"
but instead of output readings in mm id like a level %s.
hopefully, I've explained myself in a decent way since English is not my first language.
I'd greatly appreciate anyone who can work with me on this one as I'm pretty much ready to quit on this.
some additional info :
distance of the sensor when the container is empty is 30cm
distance of the sensor from water level when tank is full is 2cm
thank you in advance,
Omer
Solved! Go to Solution.
2023-08-10 02:33 AM - edited 2023-08-10 02:35 AM
Hi ,
You can try our VL53L4CD , it comes with a GUI which would be handy to measure water level in "mm" as well as in "%" both. You can easily modify in application to adopt in % corresponding to level, need to create a map corresponding to levels.
As it is a aquarium, I believe bottom is made of up transparent glass. So you may face bit inaccuracy in ranging level. To overcome it, we provided characterization method to improve the ranging deviation.
2023-05-24 12:41 PM
anyone ?
2023-08-10 02:33 AM - edited 2023-08-10 02:35 AM
Hi ,
You can try our VL53L4CD , it comes with a GUI which would be handy to measure water level in "mm" as well as in "%" both. You can easily modify in application to adopt in % corresponding to level, need to create a map corresponding to levels.
As it is a aquarium, I believe bottom is made of up transparent glass. So you may face bit inaccuracy in ranging level. To overcome it, we provided characterization method to improve the ranging deviation.