cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Gravity VL53L0X to STM 32 LoRa Discovery Kit, B-L072Z-LRWAN1

WLim.1
Associate

I would like to integrate Gravity VL53L0X to the STM 32 LoRa Discovery Kit, B-L072Z-LRWAN1. Is it possible that I can port part of the code from X-CUBE-53L0A1 into I-CUBE-LRWAN?

Or what code or setting I need to include in I-CUBE-LRWAN?

Basically, I want the LoRa module on the Discovery Kit to read VL53L0X sensor and the data.

Any other hardware connection I should take note?

1 REPLY 1
John E KVAM
ST Employee

If you download the VL53l0X driver you should be able to import the code.

STSW-IMG005 VL53L0X API (Application Programming Interface and documentation)

Then it's a matter of piping. The API resolves to a bunch of I2C read/write functions that are in the platform.c file.

It's up to you to get these to work. But if the driver can talk to the device, you should have any problem using one of the example files to write your code.

Good luck.

  • john

If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.