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

Rain Sensor

The Rain Sensor is a board I/O module in the LabWired part catalog. Its catalog type is rain-sensor. It connects to the MCU over GPIO. The catalog gives a supply range of 3.3–5 V. It has 4 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: A0/D0 levels host-driven; not a weather model.

Key facts

CategoryBoard I/O modules
Catalog typerain-sensor
InterfaceGPIO
Supply range3.3–5 V
Pins4

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.

Rain Sensor pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
A0 Passive —
D0 Output GPIO

How to simulate the Rain Sensor in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Rain Sensor (catalog type rain-sensor).
  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 D0 to a free GPIO pin.
  5. Connect A0 as your circuit needs.
  6. 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.