2020-03-19 21:06:45 +08:00
# EARTH
2018-12-25 16:04:58 +08:00
2020-07-09 17:48:46 +08:00
<el-tag effect="plain">SKU:U019</el-tag>
2020-03-19 14:40:22 +08:00
2020-10-27 23:34:31 +08:00
<div class="product_pic"><img src="assets/img/product_pics/unit/earth/unit_earth_01.webp"></div>
2018-12-25 16:04:58 +08:00
## Description
2019-05-05 11:28:54 +08:00
**EARTH** unit is a Soil Moisture Sensor for measuring the moisture in soil and similar materials.
2020-12-11 16:09:47 +08:00
The soil moisture sensor usage is pretty straight forward, the two large exposed pads function as probes for the sensor, together acting as a variable resistor.
2019-05-05 11:28:54 +08:00
2020-12-11 16:09:47 +08:00
The higher moisture that is in the soil means the better the conductivity between the two so that the sensor will result in a lower resistance, and a higher SIG out.
You can read the moisture in soil by using the ADC. Inside this Unit we've added an extra potentiometers to change the measurement range.
2018-12-25 16:04:58 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_example/EARTH/example_unit_earth_03.webp" width="50%" height="50%">
2019-01-07 17:06:13 +08:00
2021-03-05 19:18:51 +08:00
>Electrode of the unit is not anti-corrosive, or waterproof, for POC purpose only. Pls do NOT put it in humidity environment for a long while.
2019-05-05 11:28:54 +08:00
## Product Features
2018-12-25 16:04:58 +08:00
- Adjustable threshold, including 10K adjustable resistor
- Analog & Digital output
2019-02-28 13:43:11 +08:00
- GROVE interface, support [UIFlow ](http://flow.m5stack.com ) and [Arduino ](http://www.arduino.cc )
2019-05-05 11:28:54 +08:00
- Two Lego-compatible holes
2019-07-24 19:15:44 +08:00
2019-03-26 10:06:32 +08:00
## Include
- 1x EARTH unit
- 1x GROVE Cable
2020-02-12 16:55:19 +08:00
## Applications
2019-03-26 10:06:32 +08:00
- Potted soil moisture monitoring
2020-05-29 16:36:24 +08:00
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-29 16:36:24 +08:00
<td>5g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>18g</td>
</tr>
<tr>
<td>Product Size</td>
<td>64.4*24.1*8.1mm</td>
</tr>
<tr>
<td>Product Size</td>
<td>67*53*12mm</td>
</tr>
</table>
2019-06-11 19:20:48 +08:00
## EasyLoader
2018-12-29 14:46:55 +08:00
2020-04-08 14:09:44 +08:00
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.webp" width="100px" style="margin-top:20px">
2019-06-13 18:06:23 +08:00
2020-08-25 11:49:40 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_Earth.exe"><el-button type="primary">download EasyLoader</el-button></a>
2019-06-13 18:06:23 +08:00
2019-07-30 11:52:28 +08:00
>1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
2019-06-06 20:01:45 +08:00
2019-07-30 11:52:28 +08:00
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click ** "Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
2019-06-06 20:01:45 +08:00
2020-12-11 16:09:47 +08:00
>3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)[Click here to view the driver installation tutorial ](en/related_documents/M5Burner#install-usb-driver )
2019-06-06 20:01:45 +08:00
2020-04-24 21:10:31 +08:00
## Schematic
<img src="assets/img/product_pics/unit/earth_sch.JPG">
### PinMap
<table>
<tr><td>M5Core(GROVE B)</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
<tr><td>EARTH Unit</td><td>AnalogSignal Pin</td><td>DigitalSignal Pin</td><td>5V</td><td>GND</td></tr>
</table>
2019-06-11 19:20:48 +08:00
## Example
2019-06-06 20:01:45 +08:00
2021-02-05 16:54:45 +08:00
### 1. Arduino
2018-12-25 16:04:58 +08:00
2020-04-30 14:13:25 +08:00
The code below is incomplete. To get the complete code, please click [here ](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/EARTH )
2018-12-25 16:04:58 +08:00
2018-12-29 14:46:55 +08:00
### 2. UIFlow
2020-03-19 21:06:45 +08:00
To get the complete code, please click [here ](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/EARTH/UIFlow )
2018-12-29 14:46:55 +08:00
2020-04-08 14:09:44 +08:00
<img src="assets/img/product_pics/unit/unit_example/EARTH/example_unit_earth_04.webp">
2018-12-25 16:04:58 +08:00
2020-02-11 18:00:45 +08:00
## Video
2019-01-28 11:58:19 +08:00
**EARTH Tutorial - Monitor vase soil moisture 1**
2019-10-12 15:04:01 +08:00
<video class="video_size" controls>
2019-03-20 16:32:45 +08:00
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/LukeVideo/(M5stack%20x%20Arduino)%20Do%20plants%20have%20feelings.mp4" type="video/mp4">
</video>
2019-01-28 11:58:19 +08:00
2020-12-11 16:09:47 +08:00
<el-divider content-position="right">Last updated: 2020-12-11</el-divider>
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-unit/products/earth-sensor-unit';
anchor_search(purchase_link);
scrollFunc();
2020-12-11 16:09:47 +08:00
</script>