# Multi Point Soil Humidity Measurement

**URL:** <https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855>\
**Category:** projects\
**Created:** [January 15, 2021, 4:24pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855 "2021-01-15T16:24:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![baqwas](https://forum.fritzing.org/user_avatar/forum.fritzing.org/baqwas/32/7542_2.png) [@baqwas](https://forum.fritzing.org/u/baqwas)\
**Post date:** [January 15, 2021, 4:24pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/1 "2021-01-15T16:24:03Z")

</div>

Hello!

Is there any public domain example to communicate between ESP8266-01 and an Aruino Pro Mini? Thanks for any guidance on the matter.

Kind regards.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [January 15, 2021, 6:57pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/2 "2021-01-15T18:57:12Z")

</div>

The question is too broad to give a good answer. I would assume you are trying to add wifi to the Pro Mini? I would think a better bet would be to use one of the larger node MCU modules (with more I/O pins) and connect your sensors directly to the ESP, you shouldn’t need another CPU in the mix unless there is a size issue of some kind (and there are many different sizes of ESP modules.) That said a google search for “example to communicate between ESP8266-01 and an Aruino Pro Mini” brings up a bunch of articles, the first one of which repeats what I said above: use a larger node MCU instead of the pro mini by someone that has done something similar to what you appear to be doing.

Peter

---

<div class="post-metadata">

**Author:** ![microMerlin](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@microMerlin](https://forum.fritzing.org/u/microMerlin)\
**Post date:** [January 15, 2021, 7:02pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/3 "2021-01-15T19:02:11Z")

</div>

Since this forum is for Fritzing, which focuses more on the physical level connections, some general options are serial (UART), I2C, SPI. Make sure your voltage levels match. A pro mini could be either 3V or 5V. If you are looking for code, other forums are much better. Same if you are adding wifi to to the pro mini. With that setup, it would have nothing to do with Fritzing, beyond the physical connections to the module.

---

<div class="post-metadata">

**Author:** ![baqwas](https://forum.fritzing.org/user_avatar/forum.fritzing.org/baqwas/32/7542_2.png) [@baqwas](https://forum.fritzing.org/u/baqwas)\
**Post date:** [January 15, 2021, 9:19pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/4 "2021-01-15T21:19:18Z")

</div>

Hello @vanepp & @microMerlin,

Apologies for jumping the gun. I should’ve done more homework before posting the question. Confession, I saw the board layout and thought that this was a complete project, so I submitted my PCB request to Ainsler. Then I starting digging in and realized that there are much better ways to handle multi sensor telemetry (and the Pro Mini is perhaps not optimal for this purpose). The sheer act of being able to get my first job through Ainsler was too much excitement for me! 😀

Sorry, please consider the issue closed (and when I Ainsler boards arrive I don’t mind mailing it to anyone upon request - I’ll pay for the shipping).

Kind regards.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [January 16, 2021, 6:54pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/5 "2021-01-16T18:54:25Z")

</div>

> [@baqwas](#):
>
> Then I starting digging in and realized that there are much better ways to handle multi sensor telemetry (and the Pro Mini is perhaps not optimal for this purpose).

I was about to suggest that the board may be useful anyway (I had not realized you were referring to a post in projects}, but looking at the post there is no software! The serial connection wiring is there in the .fzz file but no software for either the pro mini nor the esp and no indication of what humidity sensor it wants. You may be able to figure it out, or if you contact the poster he may have software, but it may be better to start from scratch.

Peter

---

<div class="post-metadata">

**Author:** ![baqwas](https://forum.fritzing.org/user_avatar/forum.fritzing.org/baqwas/32/7542_2.png) [@baqwas](https://forum.fritzing.org/u/baqwas)\
**Post date:** [January 17, 2021, 6:54am UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/6 "2021-01-17T06:54:29Z")

</div>

Hello @vanepp,

Yes, your suggestion to start from scratch is the correct one. I was intrigued by the published idea but since there are multiple analog pins on most current boards the data acquisition part is widely published. The tricky part from my perspective is how to “irrigate” 5+ garden pots “asynchronously” since the demand for each garden pot (in my case) is different.

Here is the single garden pot flow arrangement under test.

 ![SinglePumpFarm](https://forum.fritzing.org/uploads/default/original/2X/f/fd9bb18ff88462b39f413610c4bd3b783b4a6078.jpeg)

Obviously, with multi point soil sensors single pump+meter could be more efficient if multiple tee with a solenoid value for each branch is available at the “hobbyist” level. The other option is have a moisture band range and if any pot falls below the lower limit just pump for a few cycles (based on empirical tests). Also, going above the band will simply result in an alert signal for manual intervention.

Thanks for reading my ramblings and for the feedback.

Kind regards.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [January 17, 2021, 5:05pm UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/7 "2021-01-17T17:05:20Z")

</div>

There used to be 12V solenoid valves from coffee makers available for about $5 on ebay with tubing press fit outlets like the pump in the picture, but a quick search now doesn’t find any of them (the current ones are more robust, but with threaded output ports which would require costly fittings.) With an extra I/O pin and a relay driver that should allow you to select which plant gets water (assuming you can find the valves again of course 🙂 )

Peter

---

<div class="post-metadata">

**Author:** ![baqwas](https://forum.fritzing.org/user_avatar/forum.fritzing.org/baqwas/32/7542_2.png) [@baqwas](https://forum.fritzing.org/u/baqwas)\
**Post date:** [January 18, 2021, 4:26am UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/8 "2021-01-18T04:26:01Z")

</div>

Thanks again! I will have the reading part (i.e. phase 1: from the sensors) done shortly.

Since, there will be occasional freezing conditions till mid-March (that is only an official prediction), I’ll use the lead time to plan for phase 2 with some relay arrangement.

Kind regards.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [January 18, 2021, 4:57am UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/9 "2021-01-18T04:57:51Z")

</div>

Found some similar to what I have:

> **[DC12V Micro Mini Cylinder Solenoid Valve Normally Closed Air Water Control...](https://www.ebay.com/itm/DC12V-Micro-Mini-Cylinder-Solenoid-Valve-Normally-Closed-Air-Water-Control-Valve/383740417184?hash=item5958b614a0:g:koMAAOSwQupXUURV)**
>
> Working mode: Diaphragm type normally closed. DC Resistance: 114 ohms. Valve x 1pcs. We afford all cost if it's our fault. Air tightness: 1 CC/min. We maintain the excellent service standards. beestudio 2016.

about $5US ea. Don’t know why they didn’t show up earlier.

Peter

---

<div class="post-metadata">

**Author:** ![baqwas](https://forum.fritzing.org/user_avatar/forum.fritzing.org/baqwas/32/7542_2.png) [@baqwas](https://forum.fritzing.org/u/baqwas)\
**Post date:** [January 19, 2021, 2:51am UTC](https://forum.fritzing.org/t/multi-point-soil-humidity-measurement/11855/10 "2021-01-19T02:51:07Z")

</div>

@vanepp, you been a big help! You’ve accelerated the development/construction plans significantly. Based on your suggestion, I’ve ordered a few of the solenoid valves because they’ll definitively do the job for my project.

Thanks again.

Kind regards.
