LabWired The easy way to build hardware
board I/O module

IR Obstacle Sensor

The IR Obstacle Sensor is a board I/O module in the LabWired part catalog. Its catalog type is ir-obstacle. It connects to the MCU over GPIO. The catalog gives a supply range of 3.3–5 V. It has 3 pins. This part is its pins. There is no separate device model because the MCU’s own GPIO/PWM/ADC model already is the simulation.

From the catalog: Digital obstacle flag; host-driven via pad/SimInput.

Key facts

CategoryBoard I/O modules
Catalog typeir-obstacle
InterfaceGPIO
Supply range3.3–5 V
Pins3

What LabWired simulates

What is simulated

Pins only, by design

How it was validated

Not applicable. No device model to validate — see what is simulated, above.

IR Obstacle Sensor pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
OUT Output GPIO

How to simulate the IR Obstacle Sensor in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the IR Obstacle Sensor (catalog type ir-obstacle).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 3.3–5 V.
  4. Connect OUT to a free GPIO pin.
  5. Run the firmware. It reads and drives these pins through the GPIO, PWM and ADC models of the MCU. The part has no separate device model.

Related Board I/O modules

All Board I/O modules · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.