1
\$\begingroup\$

I asked a question yesterday about the best analog multiplexer to use to add a few additional analog inputs to a NodeMCU. Someone recommended using an ADS1115 analog to digital converter. I am using this for an automatic garden watering project, where I need to read the values from multiple capacitive soil moisture sensors. Here is a link to the sensors- https://www.aliexpress.com/item/33042209039.html?spm=a2g0o.cart.0.0.52713c006kRBs8&mp=1 My question is, would an analog multiplexer or analog to digital converter be better for this project? Thanks!

\$\endgroup\$
2
\$\begingroup\$

I asked a similar question here: Simple (low-performance) ADC multiplexer design

The final conclusion was that a multiplexer was dead easy to use out of the box. For watering, presumably, your sample rate will be in the minutes rather than milliseconds, so switching, stabilizing, and measuring, can easily happen without worrying about it taking too long.

I used the CD4051 multiplexer, which worked well and cost silly cheap on amazon.

\$\endgroup\$
5
  • 1
    \$\begingroup\$ And this works with 3.3v? A lot of them only work with 5v. It looks like a very good one if it works with 3.3v. Thanks! \$\endgroup\$ – Randomaker Mar 19 '20 at 20:50
  • 1
    \$\begingroup\$ I'm using it to multiplex 3v3, yes. Pretty sure I powered it with that too. Let me dig out the data sheet. \$\endgroup\$ – Toby Eggitt Mar 19 '20 at 21:13
  • 1
    \$\begingroup\$ Yes, see: pdf1.alldatasheet.com/datasheet-pdf/view/50865/FAIRCHILD/… \$\endgroup\$ – Toby Eggitt Mar 19 '20 at 21:16
  • 1
    \$\begingroup\$ I might add I was also using it with NodeMCU, not that that should make any significant difference beyond the existing details. \$\endgroup\$ – Toby Eggitt Mar 19 '20 at 21:20
  • \$\begingroup\$ ok, thank you so much, that helps a ton! \$\endgroup\$ – Randomaker Mar 19 '20 at 21:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.