Skip to content

Commit d1b69f1

Browse files
authored
Update VL53L1_Sat_HelloWorld_Interrupt.ino
1 parent 7419bf8 commit d1b69f1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

examples/VL53L1_Sat_HelloWorld_Interrupt/VL53L1_Sat_HelloWorld_Interrupt.ino

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,16 @@
4242
//On some boards like the Arduino Uno the pin used by the sensor to raise interrupts (A2)
4343
//can't be mapped as an interrupt pin. For this this reason this sketch will not work
4444
//unless some additional cabling is done and the interrupt pin is changed.
45-
45+
/*
46+
* To use this sketch you need to connect the VL53L1 satellite sensor directly to the Nucleo board with wires in this way:
47+
* pin 1 (Interrupt) of the VL53L1 satellite connected to pin A2 of the Nucleo board
48+
* pin 2 (SCL_I) of the VL53L1 satellite connected to pin D15 (SCL) of the Nucleo board with a Pull-Up resistor of 4.7 KOhm
49+
* pin 3 (XSDN_I) of the VL53L1 satellite connected to pin A1 of the Nucleo board
50+
* pin 4 (SDA_I) of the VL53L1 satellite connected to pin D14 (SDA) of the Nucleo board with a Pull-Up resistor of 4.7 KOhm
51+
* pin 5 (VDD) of the VL53L1 satellite connected to 3V3 pin of the Nucleo board
52+
* pin 6 (GND) of the VL53L1 satellite connected to GND of the Nucleo board
53+
* pins 7, 8, 9 and 10 are not connected.
54+
*/
4655
/* Includes ------------------------------------------------------------------*/
4756
#include <Arduino.h>
4857
#include <Wire.h>
@@ -147,4 +156,4 @@ void loop()
147156

148157
digitalWrite(13, LOW);
149158
}
150-
}
159+
}

0 commit comments

Comments
 (0)