LabWired The easy way to build hardware
I²C device

Vishay VCNL4010 Proximity

The Vishay VCNL4010 Proximity is an I²C device in the LabWired part catalog. Its catalog type is vcnl4010. It connects to the MCU over I²C at the default address 0x13. The catalog gives a supply range of 2.5–3.6 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

From the catalog: Declarative I²C kit — model is core/configs/devices/vcnl4010.yaml (GenericI2cDevice), no per-part Rust. Reports the raw proximity/ambient counts driven through SimInput; optical distance response and conversion latency are deliberately not modelled, and both data-ready flags read set so a driver ready-poll always terminates.

Key facts

CategoryI²C devices
Catalog typevcnl4010
InterfaceI²C
Default I²C address0x13 (19 decimal)
Supply range2.5–3.6 V
Pins4
DatasheetVishay VCNL4010 proximity/ambient light sensor with I2C datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.

Vishay VCNL4010 Proximity pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
SDA Open-drain I²C data (SDA)
SCL Open-drain I²C clock (SCL)

How to simulate the Vishay VCNL4010 Proximity in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Vishay VCNL4010 Proximity (catalog type vcnl4010).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 2.5–3.6 V.
  4. Connect SDA and SCL to the I²C data and clock pins of the board.
  5. Run the firmware. It finds the part on the I²C bus at 0x13 and reads and writes it as on hardware.

Related I²C devices

All I²C devices · All parts

Further reading

Modelled from Vishay VCNL4010 proximity/ambient light sensor with I2C datasheet.