Take a look at the data-sheet: https://www.st.com/resource/en/datasheet/vl53l0x.pdf
Table 13 shows the dependency between time budget (20ms to 200ms) for ranging and resulting accuracy.
Take a look at the data-sheet: https://www.st.com/resource/en/datasheet/vl53l0x.pdf
Table 13 shows the dependency between time budget (20ms to 200ms) for ranging and resulting accuracy.
Hi,
FYI, I built this little robot using M5Stack components like ATOM Motion, Servo Kit 360, ToF HAT and others.
See the project description here:
https://www.hackster.io/framework-labs/ego-401080
Really great how M5Stack components can be combined and used together with LEGO parts.
— Best regards
Hi Paul,
I do this on my Atom Lite:
#include <FastLED.h>
CRGB mainLED;
void setup() {
M5.begin();
FastLED.addLeds<NEOPIXEL, 27>(&mainLED, 1);
FastLED.setBrightness(10);
}
And then in loop to set the color I use:
mainLED = CRGB::Red;
FastLED.show();
Hope that is of any help.
-- Marc
Hi,
this PlatformIO project turns your M5StickC into a laser rangefinder.
For this you need to attach the ToF HAT to your M5StickC.
Happy range-finding!