Тёмный

Raspberry Pi and Capacitive Soil Moisture Sensors for Gardening 

Leon Anavi
Подписаться 7 тыс.
Просмотров 10 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@MiniMini-ks6gh
@MiniMini-ks6gh 3 месяца назад
Hey, my sensor is just 100% or 0%. What am I doing wrong?
@LeonAnavi
@LeonAnavi 3 месяца назад
Please provide details. How have you connected the sensor to the Raspberry Pi?
@MiniMini-ks6gh
@MiniMini-ks6gh 3 месяца назад
@@LeonAnavi with a mcp30080 a/d converter and I used your code
@LeonAnavi
@LeonAnavi 3 месяца назад
@@MiniMini-ks6gh this video is for MCP3002. MCP3008 should be similar but it offers more channels. Make sure your wiring is correct and double check the pins of MCP3008 as per its datasheet.
@-iIIiiiiiIiiiiIIIiiIi-
@-iIIiiiiiIiiiiIIIiiIi- 3 года назад
I love this guy! So passionate!
@LeonAnavi
@LeonAnavi 3 года назад
hehe, thanks :) I am happy to hear you like my video :)
@brijrajkacha9839
@brijrajkacha9839 Год назад
From where can I get this ANAVI Gardening uHAT board ??
@LeonAnavi
@LeonAnavi Год назад
Thank you for your interest in open source projects, it is available at Mouser, Crowd Supply and the Pi Hut. Here is a link with more details from Crowd Supply: www.crowdsupply.com/anavi-technology/anavi-gardening-uhat
@brijrajkacha9839
@brijrajkacha9839 Год назад
@@LeonAnavi ohk, thank you sir.😃👍👍
@yugibson6606
@yugibson6606 3 месяца назад
Hi Leon, thank you so much for your information! Is there a way to program the sensor to make it shows dielectric instead of moisture percentage?
@LeonAnavi
@LeonAnavi 3 месяца назад
As you have seen in the video this analog capacitive sensor the capacitance value into an electrical signal so using an analog to digital converter we outputs a percentage value to monitor moisture. Other sensors like TDR(Time Domain Reflectometry) make measurements based on the dielectric constant. There is correlation between soil moisture and dielectric: as the soil moisture increases, its dielectric constant also increases correspondingly so I guess in your app you eventually can do the math to show it (if you are using a capacitive sensor like the one in the video).
@khushibudhwar4142
@khushibudhwar4142 2 года назад
Thank you so so much!
@LeonAnavi
@LeonAnavi 2 года назад
You're welcome :) I am happy to hear the video is useful and you have figured out the issues with wiring.
@pratyakshyt
@pratyakshyt 5 месяцев назад
Thanks a lot
@LeonAnavi
@LeonAnavi 5 месяцев назад
Most welcome :)
@curry9955
@curry9955 2 года назад
Hey, im using a breadboard with the mcp3002 adc and a capaciitve soil moisture sensor v2.0 for this experiment. Sadly when executing the code it tells me sensor1 is at 0% and sensor2 at 100%. Dipping the sensor into water and removing all the code for the second sensor doesn't fix my issue. Now it only lists sensor1 at 0%. I checked the wiring multiply times, so this should not be the problem. Maybe you have any ideas. Thank you in advance and keep up the good work! ;)
@LeonAnavi
@LeonAnavi 2 года назад
Sorry to hear about the troubles you are having. Do you have a potentiometer for testing? The potentiometer, as a manually adjustable variable resistor with 3 terminals, is quite useful for testing out the wiring and the source code. Actually you can see how I used in my other video about MCP3002: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1AHWiM-zd_8.html
@curry9955
@curry9955 2 года назад
@@LeonAnavi Hey, thanks for your answer. I found out that the issues was just the voltage. My sensor required 3.3v instead of 5v. Anyways, I hope you have a great day. :)
@LeonAnavi
@LeonAnavi 2 года назад
@@curry9955 well done for figuring out the problem and thanks for sharing the solution with the community. Happy Holidays!
@khushibudhwar4142
@khushibudhwar4142 2 года назад
Hi, I loved your video. I have a question, I connected my capacitive moisture sensor to a breadboard using the mcp3002 converter, however, whenever I connect it to power, the sensor becomes very warm, what am I doing wrong?
@LeonAnavi
@LeonAnavi 2 года назад
If the sensor is getting very warm this is an indication of wrong wiring. I recommend you to turn it off immediately and double check the wires, especially for GND and VCC. Make sure GND (ground) on the sensor goes to ground of the Raspberry Pi.
@jimd1617
@jimd1617 2 года назад
Thanks!!
@LeonAnavi
@LeonAnavi 2 года назад
No problem! Thank you for the feedback!
@AGabr99
@AGabr99 2 года назад
I am attempting to recreate this experiment using a raspberry pi a capacitive soil sensor and an MCP 3008, as that's all i could find. I tried running it with the exact same code that you gave by taking a picture of your diagram and matching it 1 to 1 with the pins on the 3008. For some reason however it doesn't produce any data at all. It doesn't output anything when i put it into water nor the soil of the plant. Do you have any ideas? Thanks for the great video by the way.
@LeonAnavi
@LeonAnavi 2 года назад
Are you using Raspberry Pi OS and have you enabled SPI?
@ziemamadoucoulibaly2305
@ziemamadoucoulibaly2305 3 года назад
thank sir, i have a question? how we can connect the data of soil moisture with the grafana ? to create the dashboard? Have you a example video/tutorial about it? Thank!!!
@LeonAnavi
@LeonAnavi 3 года назад
Yes, this is a great idea! I would love to do it but I am not sure when I will find time. In the mean time you can leverage the provided Python example by combining it with the popular open source grafanalib. This is a Python library for building Grafana dashboards which is available at GitHub and also has some examples: github.com/weaveworks/grafanalib
@ziemamadoucoulibaly2305
@ziemamadoucoulibaly2305 3 года назад
@@LeonAnavi i have trying to do the same tutorial like on your video, but i did'nt signal from the moisture sensor, i use capacitive soil moisture sensor V1.0 from DFROBOT, i want to know how i can use your tutorial to solve my problem? my sensor is combined with 4 channel 16 BIT ADC.
@LeonAnavi
@LeonAnavi 3 года назад
@@ziemamadoucoulibaly2305 what is the exact brand and model of the 4 channel ADC that are you using?
@ziemamadoucoulibaly2305
@ziemamadoucoulibaly2305 3 года назад
The brand is seeed
@LeonAnavi
@LeonAnavi 3 года назад
@UCmJzXeFVMCD71jZb-Yqsarw which seeed product are you using exactly? Probably they provide a specific tutorial for their product.
@manuelzach6396
@manuelzach6396 2 года назад
Took ~1H to figure out that the chip is upside down XD
@LeonAnavi
@LeonAnavi 2 года назад
Sorry to hear that. To avoid messing around with a breadboard, a chip and a bunch of wires you can now get the open source hardware ANAVI Gardening uHAT and just plug it on top of your Raspberry Pi :)
Далее
DEMONS ARE ATTACKING BRAWL STARS!!!
09:08
Просмотров 12 млн
Water Your Garden with IoT - Soil Moisture Sensors
54:46
Getting Started With The Raspberry Pi 3
9:47
Просмотров 1,4 млн
Every Developer Needs a Raspberry Pi
27:27
Просмотров 800 тыс.
Raspberry Pi Analog Water Sensors ADC Tutorial
19:24
Просмотров 108 тыс.
Preventing Plant Death With Technology
14:00
Просмотров 140 тыс.
WAY faster than a Raspberry Pi-but is it enough?
17:26
Просмотров 680 тыс.