Search found 6 matches

by Reibers
Sat Jun 05, 2021 8:02 am
Forum: ESP-IDF
Topic: St VL53L0X Api esp Layer
Replies: 8
Views: 6230

Re: St VL53L0X Api esp Layer

Ok it works now!

The problem why i dont got any data from vl53l0x was because it seams that my jumpers were damaged :x
I changed the wiring befor testing with Arduino IDE. Now i check with esp-idf and it works and i get data from the sensor.

Thx for your help!

Cya
by Reibers
Fri Jun 04, 2021 2:25 pm
Forum: ESP-IDF
Topic: St VL53L0X Api esp Layer
Replies: 8
Views: 6230

Re: St VL53L0X Api esp Layer

Hi, now i am a bit confused. I tried a lot but could not get the vl53l0x to run. i tried to scan the i2c port to verify that the hardware and the pinout is right and dont got it to detect the vl53l0x. Next i tried to use Arduino IDE because all examples i have found are with Arduino IDE. Wow with Ar...
by Reibers
Fri Jun 04, 2021 6:40 am
Forum: ESP-IDF
Topic: St VL53L0X Api esp Layer
Replies: 8
Views: 6230

Re: St VL53L0X Api esp Layer

Thanks for your help so far, but now i got another problem. My setup code looks like following i2c_port_t i2c_master_port = I2C_NUM_1; i2c_config_t conf={0}; conf.mode = I2C_MODE_MASTER; conf.sda_io_num = 21; conf.sda_pullup_en = GPIO_PULLUP_DISABLE; conf.scl_io_num = 22; conf.scl_pullup_en = GPIO_P...
by Reibers
Wed Jun 02, 2021 5:38 pm
Forum: ESP-IDF
Topic: St VL53L0X Api esp Layer
Replies: 8
Views: 6230

Re: St VL53L0X Api esp Layer

Ah thanks! I included the component into my Project but cant figure out how to use it correctly. Do i have to initialize the i2c driver by myself? Could not found any initialization code in the Api Layer. My first step is to init the sensor like so VL53L0X_Dev_t dev = {0x00}; dev.i2c_address = 0x52;...
by Reibers
Sat May 22, 2021 10:55 am
Forum: ESP-IDF
Topic: St VL53L0X Api esp Layer
Replies: 8
Views: 6230

St VL53L0X Api esp Layer

Hi i want to use the Api from St for the vl53l0x laser sensor. The documentation says that you have to write the platform specific part to use the Api for example for esp32. Did someone already do that?!
by Reibers
Sat May 22, 2021 10:53 am
Forum: ESP-IDF
Topic: Add VL53L0X Api to ESP-IDF project
Replies: 3
Views: 4382

Re: Add VL53L0X Api to ESP-IDF project

I think you need to write the platform specific parts under vl53l0x_platform.h like the documentation says to use the api for esp32.
You already did that?!