Configuration for VL53L1X
Moderators: grovkillen, Stuntteam, TD-er
Configuration for VL53L1X
I am on the way the setup the VL53L1X for water level measurement.
Overall set setup is working and i get the values via MQTT.
I have a few question regarding the configuration of device: Distance - VL53L1X (400cm)
How can I set the ROI down to e.g. 20°?
In the value section of the configuration page there are are fields like Stats, Hide, Axis.
I haven't found any description what they mean. Esp. for Axis there are option L1-L4 and R1-R4?
Any information is welcome.
Overall set setup is working and i get the values via MQTT.
I have a few question regarding the configuration of device: Distance - VL53L1X (400cm)
How can I set the ROI down to e.g. 20°?
In the value section of the configuration page there are are fields like Stats, Hide, Axis.
I haven't found any description what they mean. Esp. for Axis there are option L1-L4 and R1-R4?
Any information is welcome.
Re: Configuration for VL53L1X
This sounds like you are talking about having the sensor connected to an ESP running ESPEasy, so far it's clear to me.
This part I don't have a clue what you are talking about Is this about your MQTT server setup?
Can you show a screenshot or something similar what your question is about?
/Ton (PayPal.me)
Re: Configuration for VL53L1X
yes it is ESPEasy, sorry not to mention it.
here is a screenshot from the device configuration page regarding the ROI i have attached another screenshot, it talks about how to reduce this ROI from its nominal
27 ° field of view (FoV) down to 15 °
here is a screenshot from the device configuration page regarding the ROI i have attached another screenshot, it talks about how to reduce this ROI from its nominal
27 ° field of view (FoV) down to 15 °
Re: Configuration for VL53L1X
Ah, in the meantime I've done a little reading in the data sheet of the sensor, as this part/feature wasn't mentioned in the plugin at all, when I moved it from the PluginPlayground to the main ESPEasy repository.
I'll see if I can add useful configuration options to enable this.
And it might also be useful for the VL53L0X sensor, though strangely that sensor isn't software-compatible with this one at all, even though they are from the same manufacturer, have nearly the same feature-set and only seem to differ in range
I'll see if I can add useful configuration options to enable this.
And it might also be useful for the VL53L0X sensor, though strangely that sensor isn't software-compatible with this one at all, even though they are from the same manufacturer, have nearly the same feature-set and only seem to differ in range
/Ton (PayPal.me)
Re: Configuration for VL53L1X
Thanks, sounds good.
Any information regarding the axis in the value section of the device configuration?
Any information regarding the axis in the value section of the device configuration?
Re: Configuration for VL53L1X
+1. The "axis" setting is a mystery to me too.Any information regarding the axis in the value section of the device configuration?
- Thomas
Re: Configuration for VL53L1X
@espgraf, @ThomasB,
I've added configuration for the Region of Interest parameters in PR #5094. A Github Actions run is building the binaries for testing, so if you could, please...
Please report your findings here or add a PR comment.
I've added configuration for the Region of Interest parameters in PR #5094. A Github Actions run is building the binaries for testing, so if you could, please...
Please report your findings here or add a PR comment.
/Ton (PayPal.me)
Re: Configuration for VL53L1X
Nice work. Your new ROI function seems to be working! I can change the centering and SPAD count and see small differences in the measurements. From these initial tests, I think I will run with a 8x8 at the center SPAD (offset 199).
Even though my application involves measuring milk levels, for validation I'm using jugs of clear water. That way I don't have to waste precious moo juice.
It seems that with clear water, a narrower ROI shows slightly less water depth. I think it is because the smaller optical sensing area misses some reflections and instead is seeing random reflections below the surface. Clear water is a tough surface to measure with optics; Milk is more reliable because it is an opaque surface.
This is a cool feature. Thanks for adding it.
BTW, does anyone know what the axis settings are for? Could their presence be a leftover setting from another plugin that was used as a template for this one?
- Thomas
Even though my application involves measuring milk levels, for validation I'm using jugs of clear water. That way I don't have to waste precious moo juice.
It seems that with clear water, a narrower ROI shows slightly less water depth. I think it is because the smaller optical sensing area misses some reflections and instead is seeing random reflections below the surface. Clear water is a tough surface to measure with optics; Milk is more reliable because it is an opaque surface.
This is a cool feature. Thanks for adding it.
BTW, does anyone know what the axis settings are for? Could their presence be a leftover setting from another plugin that was used as a template for this one?
- Thomas
Re: Configuration for VL53L1X
I finally understand what Axis setting you guys are talking about...
That's the Axis where the statistics graph draws the scale/range for that value in the graph. It's just not updated in the documentation yet.
The L1..4 is drawn at the left side, and the R1..4 at the right side of the statistics. If the range of the values is (nearly) the same you can have multiple values on the same axis (they used to be all on the same axis), but if the ranges are far apart it would reduce the usability of the graph.
/Ton (PayPal.me)
Re: Configuration for VL53L1X
For example if you try to plot WiFi RSSI against free memory on an ESP32, then those typical values are off by 5 orders of magnitude.
Maybe I should change it to "Chart Axis" ?
Maybe I should change it to "Chart Axis" ?
Re: Configuration for VL53L1X
That's a surprise. Thanks for the info, I would never have figured that out on my own.That's the Axis where the statistics graph draws the scale/range for that value in the graph.
That will help. And for extra credit, add a "info" hyperlink balloon tag to the RTD. Like the Formula column uses in the Values box.Maybe I should change it to "Chart Axis" ?
Mockup Example:
Re: Configuration for VL53L1X
And I thought it was -for once- extremely compact and still intuitive...
So intuitive it doesn't need any documentation...
OK, I clearly need new excuses for my lack of documentation.
So intuitive it doesn't need any documentation...
OK, I clearly need new excuses for my lack of documentation.
Re: Configuration for VL53L1X
sounds pretty good, where i could find the binaries for testing?
Re: Configuration for VL53L1X
You can try these: https://github.com/letscontrolit/ESPEas ... 0169840163
Either download a single file, or the complete ZIP at the bottom (N.B. GitHub limits the download speeds, so may still take 5 mintes to download the full zip)
You need to have a (free) GitHub account to download from the GH Actions builds
Re: Configuration for VL53L1X
Good implemenatation, works quite well for me. I have put a few comments into github.
The test i did was in a fountain with water and it is fully dark inside. The distance was ~110 cm with a variance of +/-6 mm
The test i did was in a fountain with water and it is fully dark inside. The distance was ~110 cm with a variance of +/-6 mm
Re: Configuration for VL53L1X
This feature has been merged into ESPEasy, and will be included in the next release.
You can test by installing a build from this GH Actions run: https://github.com/letscontrolit/ESPEas ... 1086536342
You can test by installing a build from this GH Actions run: https://github.com/letscontrolit/ESPEas ... 1086536342
/Ton (PayPal.me)
Re: Configuration for VL53L1X
Thank You.
- Thomas
- Thomas
Who is online
Users browsing this forum: No registered users and 1 guest