Library for use with VL53L0X, cut 1.1, based on mass-market API v1.1.

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   ConcorsoFinal HelloWorld_IHM01A1 m3pi_BT m3pi_LIDAR ... more

Fork of X_NUCLEO_53L0A1 by ST Expansion SW Team

X-NUCLEO-53L0A1 Proximity Sensor Expansion Board Firmware Package

Introduction

This firmware package includes Component Device Drivers and the Board Support Package for STMicroelectronics' X-NUCLEO-53L0A1 Proximity sensor expansion board based on VL53L0X.

Firmware Library

Class X_NUCLEO_53L0A1 is intended to represent the Proximity sensor expansion board with the same name.

The expansion board provides support for the following components:

  1. on-board VL53L0X proximity sensor,
  2. up to two additional VL53L0X Satellites,
  3. on-board 4-digit display

It is intentionally implemented as a singleton because only one X-NUCLEO-VL53L0A1 may be deployed at a time in a HW component stack. In order to get the singleton instance you have to call class method `Instance()`, e.g.:

// Sensors expansion board singleton instance
static X_NUCLEO_53L0A1 *board = X_NUCLEO_53L0A1::Instance(device_i2c, A2, D8, D2);

Example Applications

The library and sample application code were tested against mbed revision 143, dated 26th May 2017.

History

Updated 53L0 lib default tip

2017-12-18, by mapellil [Mon, 18 Dec 2017 09:52:09 +0000] rev 21

Updated 53L0 lib


Added vl53l0x_get_device() to extend API usability

2017-12-15, by mapellil [Fri, 15 Dec 2017 14:13:04 +0000] rev 20

Added vl53l0x_get_device() to extend API usability


Astyle formatting.

2017-10-13, by Davidroid [Fri, 13 Oct 2017 22:04:16 +0000] rev 19

Astyle formatting.


Astyle reformatting.

2017-10-13, by Davidroid [Fri, 13 Oct 2017 15:32:03 +0000] rev 18

Astyle reformatting.


Support external component.

2017-10-10, by nikapov [Tue, 10 Oct 2017 08:48:41 +0000] rev 17

Support external component.


Aligning to ARM mbed coding style.

2017-08-22, by Davidroid [Tue, 22 Aug 2017 14:39:51 +0000] rev 16

Aligning to ARM mbed coding style.


Update references in all board components to allow continued use of DevI2C from X_Nucleo_Common.

2017-08-08, by johnAlexander [Tue, 08 Aug 2017 14:41:03 +0000] rev 15

Update references in all board components to allow continued use of DevI2C from X_Nucleo_Common.


Aligned to ARM mbed coding style.

2017-08-07, by johnAlexander [Mon, 07 Aug 2017 14:30:21 +0000] rev 14

Aligned to ARM mbed coding style.


Refactor interrupt setup in StartMeasurement, for range_continuous_interrupt mode.

2017-06-15, by johnAlexander [Thu, 15 Jun 2017 13:33:35 +0000] rev 13

Refactor interrupt setup in StartMeasurement, for range_continuous_interrupt mode.


Add ranging_continuous_interrupt support.

2017-06-14, by johnAlexander [Wed, 14 Jun 2017 14:39:27 +0000] rev 12

Add ranging_continuous_interrupt support.