X_Nucleo_53L1A1 Expansion Board Class for VL53L1X Sensor.

Dependencies:   VL53L1X_mbed

Dependents:   HelloWorld_53L1A1_Interrupts 53L1A1_Satellites_MbedOS 53L1A1_Interrupts_MbedOS 53L1A1_Polling_All_MbedOS ... more

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

Introduction

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

Firmware Library

Class XNucleo53L1A1 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 VL53L1X proximity sensor,
  2. up to two additional VL53L1X Satellites.

It is intentionally implemented as a singleton because only one X-NUCLEO-VL53L1A1 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 XNucleo53L1A1 *board = XNucleo53L1A1::instance(device_i2c, A2, D9, D2);

Example Applications

Changes

RevisionDateWhoCommit message
29:ee29a8ce93d5 2021-05-11 johnAlexander Updated for MbedOS v6.x support. default tip
28:0e99f593daa9 2019-07-24 johnAlexander Rationalise sensor-class init_sensor & initialise_sensor, to remove duplication.
27:afcf740eb7b8 2019-07-24 johnAlexander Updated for mbed coding style guidelines.
26:24a73ef7469f 2019-05-17 johnAlexander X_Nucleo_53L1A1 Expansion Board Class for VL53L1X Sensor.
25:e26f54327c13 2019-05-17 dmathew Initial release
24:77b414df8b6e 2019-05-17 dmathew Commit update to board with updates for interrupt support
23:805bffa2b7f6 2019-04-09 johnAlexander Use VL53L1X Sensor class from ST Expansion Sw team archive.
22:27f00d9b777b 2019-01-28 JerrySzczurak Initial release board class
21:99c367e8a402 2017-12-18 mapellil Updated 53L0 lib
20:cb95ef8a3508 2017-12-15 mapellil Added vl53l0x_get_device() to extend API usability
19:1727c86ac63b 2017-10-13 Davidroid Astyle formatting.
18:2413acea538f 2017-10-13 Davidroid Astyle reformatting.
17:f8187a3fa36e 2017-10-10 nikapov Support external component.
16:27d3d95c8593 2017-08-22 Davidroid Aligning to ARM mbed coding style.
15:44e6c9013bff 2017-08-08 johnAlexander Update references in all board components to allow continued use of DevI2C from X_Nucleo_Common.
14:8320b5ff96fa 2017-08-07 johnAlexander Aligned to ARM mbed coding style.
13:615f7e38568c 2017-06-15 johnAlexander Refactor interrupt setup in StartMeasurement, for range_continuous_interrupt mode.
12:f6e2bad00dc7 2017-06-14 johnAlexander Add ranging_continuous_interrupt support.
11:ceaa5a026412 2017-06-12 JerrySzczurak Change to vl53lO class: aligning ARM mbed codding standard. Deprecated functions kept for backward compatibility.
10:faf8d62ce6d1 2017-06-07 johnAlexander Ensure that GetDistance() is populated in the VL53L0X class.
9:367d1f390cb2 2017-06-07 johnAlexander Enable support for left and right sensors. Tested with mbed_143.
8:8d27ebb4e1eb 2016-12-07 johnAlexander Add small delay in VL53L0_On/Off members, to allow longer for sensor to power-up or switch off.
7:35ecf3e060c3 2016-12-05 johnAlexander Replace STM32 HAL_delay call with equivalent mbed wait_ms, for cross processor compatibility.; Import mbed.h in VL53L0X class to ease finding InterruptIn.; Minor code tidy up.
6:fa6944a8850f 2016-12-05 johnAlexander Replace STM32 HAL lib delay with equivalent mbed one, for cross-proc compatability.
5:c82a48da3c9e 2016-12-05 johnAlexander Call mbed.h from VL53L0X_Class, to ease finding InterruptIn.; Remove mbed.h from X_NUCLEO_53L0A1.
4:4e1576541eed 2016-12-05 johnAlexander Minor code tidy-up.
3:613d7f1ef60e 2016-12-02 johnAlexander UpDate GetDistance() to return an error upon invalid range.
2:58b5e9097aa3 2016-12-01 johnAlexander Use ST_INTERFACES package to access RangeSensor abstract class.
1:01b8004bc0a7 2016-11-28 johnAlexander First release. Ready to go to st.com & mbed.
0:c523920bcc09 2016-11-28 johnAlexander Singleshot, polled ranging example using central VL53L0X sensor.; Compatible with mass-market v1.1 C API.