31. Octopus Analog Capacitive Soil Moisture Sensor(EF04097)#

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.

https://raw.githubusercontent.com/elecfreaks/learn-cn/master/microbitSensor/sensor/images/04097_00.jpg

31.3. Characteristics#

Hard to corrode. Support micro:bit in 3V.。 Easy and convenient for connection.

31.4. 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#

https://raw.githubusercontent.com/elecfreaks/learn-cn/master/microbitSensor/sensor/images/04097_01.png

31.5. 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.

https://raw.githubusercontent.com/elecfreaks/learn-cn/master/microbitSensor/sensor/images/04097_02.png

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:

Result#

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

31.6. FAQ#