How to use the VL6180 proximity sensor X-NUCLEO-6180A1 expansion board
with the STM32 Nucleo board
Introduction
This user manual provides detailed hardware information on the X-NUCLEO-6180A1 expansion board (see figure below). This
board is designed around the VL6180 proximity sensor and it is compatible with the STM32 Nucleo and Arduino Uno boards.
The document provides an introduction to the proximity sensing capabilities of the VL6180 module which is based on ST's
patented Time-of-Flight (ToF) technology. Several ST expansion boards can be superposed through the Arduino connectors,
which allow development of VL6180 applications with Bluetooth or WiFi interfaces.
Figure 1. X-NUCLEO-6180A1 expansion board
Table 1. Ordering information
Order codeDescription
X-NUCLEO-6180A1X-NUCLEO-6180A1 expansion board for use with STM32 Nucleo board
References
•VL6180 datasheet: Time-of-Flight proximity sensor and IR emitter two-in-one module
•X-NUCLEO-6180A1 data brief: Proximity Time-of-Flight sensor expansion board based on VL6180 for STM32 Nucleo
UM2657 - Rev 1 - March 2020
For further information contact your local STMicroelectronics sales office.
www.st.com
Page 2
1Hardware description
This section describes the X-NUCLEO-6180A1 expansion board features and provides information on the
electrical schematics.
The X-NUCLEO-6180A1 expansion board allows the user to test the VL6180 functionality and program it. Also,
advice is given on how to develop an application using the VL6180. The X-NUCLEO-6180A1 expansion board
integrates:
•a 4-digit display to render the range value in mm
•a 2.8 V regulator to supply the VL6180
•two level shifters to adapt the I/O level to the microcontroller main board
•the necessary connectivity for the application
It is fundamental to program a microcontroller to control the VL6180 through the I2C bus and drive the 4-digit
display on-board. Application software and examples of C-ANSI source code are available on www.st.com/
VL6180.
The X-NUCLEO-6180A1 expansion board and STM32 Nucleo are connected through Arduino compatible
connectors CN5, CN6, CN8 and CN9 as shown and described in the figure and tables below.
The Arduino connectors on the STM32 Nucleo board support Arduino Uno revision 3.
UM2657
Board description
Figure 3. Arduino connector layout
UM2657 - Rev 1
page 3/14
Page 4
Table 2. Arduino left connector on STM32 Nucleo board
UM2657
Board description
CN number
X-NUCLEO-6180A1
expansion board
Pin number Pin nameMCU pin
X-NUCLEO-6180A1 expansion board
function
1NC
VIO2VIOLevel shifter reference (3.3 V)
3NC
CN6 power
Power43V33.3 V supply
5NC
Gnd6GndGndGnd
Gnd7GndGndGnd
8NC—
1NC
2NC
Interrupt signal from X-NUCLEO-6180A1
bottom breakout plug-in
Interrupt signal from X-NUCLEO-6180A1 on-
board soldered device
Interrupt signal from X-NUCLEO-6180A1
bottom breakout plug-in
Interrupt signal from X-NUCLEO-6180A1 on-
board soldered device
CN8 analog
GPIO1_B3INT_BPA4
GPIO14INTPB0
GPIO1_B5INT_B*
GPIO16INT*
PC1 or PB9
(1)
PC1 or PB8
(1)
1. Depends on Nucleo board solder bridges (see details on Nucleo board documentation). These interrupt signals are
duplicated, but not used which offers the hardware connection flexibility in case of a conflict on the MCU interface when the
expansion board is used superposed with other expansion boards. In such cases, remove the 0-ohm resistor from the
current interrupt and connect it in place of the “do not mount” resistor.
UM2657 - Rev 1
page 4/14
Page 5
Table 3. Arduino right connector on STM32 Nucleo board
UM2657
Board description
CN number
X-NUCLEO-6180A1
expansion board
Pin number Pin name MCU pin
X-NUCLEO-6180A1 expansion board
function
SCL10D15PB8I2C1_SCL
SDA9D14PB9I2C1_SDA
8NC
Gnd7GndGndGnd
Interrupt signal from X-NUCLEO-6180A1 left
breakout plug-in
CN5 digital
GPIO1_L6INT_LPA5
5NC
4NC
3NC
2NC
GPIO1_L1INT_L*PA9
Interrupt signal from X-NUCLEO-6180A1 left
breakout plug-in
(1)
8NC
7NC
6NC
GPIO1_R5INT_R*PB5
CN9 digital
Interrupt signal from X-NUCLEO-6180A1 right
breakout plug-in
(1)
4NC
GPIO1_R3INT_RPA10
Interrupt signal from X-NUCLEO-6180A1 right
breakout plug-in
2NC
1NC
1. These interrupt signals are duplicated, but not used which offers the hardware connection flexibility in case of a conflict on
the MCU interface when the expansion board is used superposed with other expansion boards. In such cases, remove the
0-ohm resistor from the current interrupt and connect it in place of the “do not mount” resistor.
UM2657 - Rev 1
The X-NUCLEO-6180A1 expansion board allows up to three VL6180 breakout boards to be connected to it (see
Figure 4. Connections of VL6180 breakout boards). This allows the development of applications that can control
up to four VL6180 devices.
The I2C bus is shared with the VL6180 on-board I2C bus. The GPIO1 (interrupt) pins and GPIO0 (reset) pins are
separate pins to control each sensor separately.
The GPIO1 signals are output on the Arduino connectors and the GPIO0 signals are controlled through the GPIO
expander device. Refer to Figure 3. Arduino connector layout and Figure 11. X-NUCLEO-6180A1 expansion
board with GPIO expander for detailed connectivity.
page 5/14
Page 6
Figure 4. Connections of VL6180 breakout boards
UM2657
Board description
Note:The VL6180 breakout boards can be ordered under the reference: VL6180-SATEL
Figure 5. VL6180 SATEL (2x breakout boards)
UM2657 - Rev 1
page 6/14
Page 7
1.2Electrical schematics and list of materials
The figures of this section describe the electrical schematics for each type of board function. The relevant lists of
materials are also presented.
Figure 6. X-NUCLEO-6180A1 expansion board with VL6180 application
UM2657
Electrical schematics and list of materials
Table 4. List of material for VL6180 application
Reference
C1, C5100 nF
C24.7 µFCeramic - 6 V - decoupling
R1, R247 kΩPull up - in a final product, could be in a 0402 package
R15, R164.7 kΩPull up - in a final product, could be in a 0402 package and used for several devices
S1VL6180ModuleProximity module
ValuePackageComment
Ceramic - decoupling - in a final product, could be in a 0402 package
0603
Figure 7. X-NUCLEO-6180A1 expansion board with 2.8 V supply regulator
Note:This regulator is requested to convert the 3.3 V coming from the Nucleo or Arduino boards to 2.8 V. In a final
product, the 2.8 V regulator (if it exists) can be used to supply the VL6180.
UM2657 - Rev 1
page 7/14
Page 8
Electrical schematics and list of materials
Figure 8. X-NUCLEO-6180A1 expansion board with level shifters
UM2657
The level shifters are used only to provide adequate voltage for the I/O’s and I2C bus which allows a 5 V Arduino
board to be connected without hardware modifications. In a final product, depending on the power management
tree, the level shifters could be omitted.
Figure 9. X-NUCLEO-6180A1 expansion board with breakout board connector
UM2657 - Rev 1
page 8/14
Page 9
Electrical schematics and list of materials
Figure 10. X-NUCLEO-6180A1 expansion board with display control
UM2657
Figure 11. X-NUCLEO-6180A1 expansion board with GPIO expander
UM2657 - Rev 1
page 9/14
Page 10
Table 5. List of materials for other features
ReferenceValuePackageComment
2v8 regulator
C3, C410 µF0805
R420 kΩ
R550 kΩ
U1LD39050PURDFN6Regulator
Level shifters
C6, C91 µF
R17, R18, R19, R204.7 kΩ
U2, U3ST2329AQTRQFN10Level shifter
External VL6180 and Nucleo_Arduino connectors
R1447 kΩ0603
R2610 kΩ0603
Display control
R6, R7, R8, R9, R10, R11, R12, R13300 Ω
R28, R29, R30, R31100 kΩ
Q1, Q2, Q3, Q4SI2333SOT23P channel MOSFET
Display1ATA2453BG-14 digits
GPIO expander
U4STMPE1600QFN24STMicroelectronics
UM2657
Electrical schematics and list of materials
0603
0603C7, C8, C10, C11100 nF
0603
UM2657 - Rev 1
page 10/14
Page 11
2Safety considerations
2.1Electrostatic precaution
It is important to exercise electrostatic precautions when using the X-NUCLEO-6180A1 expansion board e.g. use
ground straps. Failure to prevent electrostatic discharge could damage the device.
2.2Laser safety
The VL6180 contains a laser emitter and corresponding drive circuitry. The laser output is designed to remain
within Class 1 laser safety limits under all reasonably foreseeable conditions, including single faults, in
compliance with the IEC 60825-1:2007. The laser output remains within Class 1 limits as long as the
STMicroelectronics recommended device settings are used and the operating conditions specified in the
datasheet are respected. The laser output power must not be increased and no optics should be used with the
intention of focusing the laser beam.
UM2657
Safety considerations
Figure 12. Electrostatic logo
Figure 13. Class 1 laser product label
Compliance
The VL6180 laser emitter and corresponding drive circuitry comply with 21 CFR 1040.10 and 1040.11 except for
deviations conforming with the laser notice No.50, dated June 24, 2007.
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST
products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST
products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of
Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or service
names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.