LabWired The easy way to build hardware
passive, analog or power part

Soil Moisture Sensor

The Soil Moisture Sensor is a passive, analog or power part in the LabWired part catalog. Its catalog type is soil-moisture. It connects to the MCU over Analog (ADC). The catalog gives a supply range of 3.3–5 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.

Key facts

CategoryPassive, analog and power parts
Catalog typesoil-moisture
InterfaceAnalog (ADC)
Supply range3.3–5 V
Pins4

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.

Soil Moisture Sensor pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
AOUT Passive —
DOUT Output GPIO

How to simulate the Soil Moisture Sensor in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the Soil Moisture Sensor (catalog type soil-moisture).
  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 DOUT to a free GPIO pin.
  5. Connect AOUT as your circuit needs.
  6. Run the firmware. It reads the output of the part with the ADC of the MCU.

Related Passive, analog and power parts

All Passive, analog and power parts · All parts

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