@@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.
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
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).
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! ;)
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
@@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. :)
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?
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.
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.
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!!!
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
@@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.
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 :)