-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with setup #2
Comments
It looks like there is a problem with the VL53l1x on ESP32. I will try with a ESP8266 when i get it. |
did it work? I am doing the same ESP32. wondering if my 160MHz CPU was problem, I have used standard 240Mhz. I will test ESP32 and i2c anyway with other board so will see if all works. by the way, are you using D21 SDA and D22 SCK? also do not forget to remove protective foil from sensor (yellowish). enabled verbose logging - something should be in logs saying that i2c is OK/NOK: in my case i see "invalid state sda" rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [V][esp-idf:000]: I (2848) wifi: wifi firmware version: 7997e4b [V][esp-idf:000]: I (2849) wifi: config NVS flash: enabled [V][esp-idf:000]: I (2851) wifi: config nano formating: disabled [V][esp-idf:000]: I (2858) wifi: Init dynamic tx buffer num: 32 [V][esp-idf:000]: I (2864) wifi: Init data frame dynamic rx buffer num: 32 [V][esp-idf:000]: I (2872) wifi: Init management frame dynamic rx buffer num: 32 [V][esp-idf:000]: I (2880) wifi: Init management short buffer num: 32 [V][esp-idf:000]: I (2887) wifi: Init static rx buffer size: 1600 [V][esp-idf:000]: I (2894) wifi: Init static rx buffer num: 16 [V][esp-idf:000]: I (2900) wifi: Init dynamic rx buffer num: 32 [V][esp-idf:000]: I (2975) wifi: mode : sta (84:0d:8e:08:99:a4) [D][WiFiGeneric.cpp:337] _eventCallback(): Event: 0 - WIFI_READY [D][wifi:324]: Starting scan... I][esp32-hal-i2c.c:1130] i2cProcQueue(): Bus busy, reinit |
Think I have the same... ESP32. Please help?
|
Is this dead? |
Hi, i tried to use this configuration but i am not able to make it work. Is there anything I am missing? I only get this line in the logs:
[19:53:51][D][sensor:092]: 'tof distance avg': Sending state 0.00000 mm with 0 decimals of accuracy
I am using an ESP32. Is there any special wiring I have to note? I am able to get distances with other libraries on the ESP32 with this sensor so I think my setup should work basically.
The text was updated successfully, but these errors were encountered: