31. Octopus Analog Capacitive Soil Moisture Sensor

31.1. Introduction

Octopus Analog Capacitive Soil Moisture Sensor is the soil moisture electric brick in our Octopus series, the basic design is from the Octopus electric bricks and the setting of its outlook, the PCB fixing hole and the connectors are the same.

Adopted the capacitive sensing principle to detect the soil moisture, it perfectly avoids the problem of easy to be corroded of the resistive transducer and greatly extends its service time.


31.2. Characteristics

  • Hard to corrode.

  • Support micro:bit in 3V.。

  • Easy and convenient for connection.

31.3. Parameter

  • Name: Octopus Analog Capacitive Soil Moisture Sensor

  • SKU:EF04097

  • Working Voltage: DC 3~5.5V

  • Connection Mode: G-GND,V-VCC,S-signal pin

  • Size: 19 x 76mm

  • Net Weight: 5.5g

Dimensions and Outlook


31.4. Quick to Start

Hardware Connection

Connect the module with the wire(with buckle) to the PI pins on the Octopus:bit, insert the micro:bit to the Octopus:bit.


Software Programming

Programme in the makecode and analog read P1 to get the value of soil moisture that would be showing on the micro:bit. Links: https://makecode.microbit.org/_4urWJCMeuh4L

You can also download it directly:


The value of the soil moisture is showing on the micro:bit.

31.5. FAQ