Office plant monitoring
-
"Metal salts" doesn't sound very dangerous unless you're more specific. I prefer some NaCl on my tomatoes.
How about some gold- or silver plated electrodes if you're of the worrying kind?
-
Normaly when you use eletricity and water, you need to sacrify something. For an example, when you cool a boat engine with water, you normaly use zinkanodes. I guess this is also the same when we want to messure humidity for an plant.
So, if you should use copper anodes for messuring, you could paint them with a zink color.
What it effects the resistance, I don't know. -
@mfalkvidd Short question concerning battery life: I am using a custom board with an atmega328 and an nrf powered directly by a coin cell. When measuring temp/hum with something like an SHT21 the voltage drops are minimal (less than 100mV in more than a month). Using your sketch from post 25 here and connecting the fork to pins A1 and 2 (changed that in the sketch) I get a much higher power consumption. Any ideas why?
I guess the measuring takes too long or something? It also reports lots of 1% changes to my domoticz server... which is kind of strange. Shouldn't the threshold take care of that? Perhaps I have to use a higher value here... -
@mfalkvidd Short question concerning battery life: I am using a custom board with an atmega328 and an nrf powered directly by a coin cell. When measuring temp/hum with something like an SHT21 the voltage drops are minimal (less than 100mV in more than a month). Using your sketch from post 25 here and connecting the fork to pins A1 and 2 (changed that in the sketch) I get a much higher power consumption. Any ideas why?
I guess the measuring takes too long or something? It also reports lots of 1% changes to my domoticz server... which is kind of strange. Shouldn't the threshold take care of that? Perhaps I have to use a higher value here...@LastSamurai are you using the same sketch on both nodes?
The sketch in post 25 sends the moisture value every 10 minutes. There are no thresholds and no comparison to previous value.
Do the 1% changes look like a square wave? If so, the reason is probably that the pullup resistors differ from pin to min, even on the same atmega. A newer version of the sketch takes care of that, but I am still using the old version in my oldest node.
As we discussed around post 79, my node is dropping very slowly. It is currently at 3.117 V after approximately 9 months on the same 2xAA. The node started at 3.187V so that is a drop of 70mV, less than 10mV per month.
-
Its driving me crazy! Could you not convert this mfalkvidd! Its better to have your sketch on the front instead of that one there is there now.
-
After my other failed attempt I needed to try this.
I have a 5V Mini using A4 and A5 and a fork YL-69 and I get these result:Direction: 1
Moist: 171
Direction: 0
Moist: 23
Direction: 1
Moist: 172
Direction: 0
Moist: 0
Direction: 1
Moist: 164
Direction: 0
Moist: 0
Direction: 1
Moist: 156
Direction: 0
Moist: 0
Direction: 1
Moist: 144
Direction: 0
Moist: 0This is not the percentage value , its this value I print: moistureLevel = (1023 - analogRead(SENSOR_ANALOG_PINS[direction]));
Any Ideas?
-
After my other failed attempt I needed to try this.
I have a 5V Mini using A4 and A5 and a fork YL-69 and I get these result:Direction: 1
Moist: 171
Direction: 0
Moist: 23
Direction: 1
Moist: 172
Direction: 0
Moist: 0
Direction: 1
Moist: 164
Direction: 0
Moist: 0
Direction: 1
Moist: 156
Direction: 0
Moist: 0
Direction: 1
Moist: 144
Direction: 0
Moist: 0This is not the percentage value , its this value I print: moistureLevel = (1023 - analogRead(SENSOR_ANALOG_PINS[direction]));
Any Ideas?
@Martin-Tellblom could you describe what an YL-69 is?
How much time do you let the measurement settle after switching directions?
Which of the code versions are you using? There have been many revisions in this thread and they all work slightly different. -
@Martin-Tellblom could you describe what an YL-69 is?
How much time do you let the measurement settle after switching directions?
Which of the code versions are you using? There have been many revisions in this thread and they all work slightly different.@mfalkvidd said:
me do you le
My "Fork" is stamped with YL-69. Looks exacly like the XD-28
It's your code from post 25 so I suppose 1000 (#define STABILIZATION_TIME 1000 ) -
@mfalkvidd said:
me do you le
My "Fork" is stamped with YL-69. Looks exacly like the XD-28
It's your code from post 25 so I suppose 1000 (#define STABILIZATION_TIME 1000 ) -
@Martin-Tellblom Thanks. You did throw away the middle chip and only use the fork, right? (as described in post 41)
@mfalkvidd : Yes I did, and I have tried using A2&A3 and its the same
-
@mfalkvidd : Yes I did, and I have tried using A2&A3 and its the same
-
@mfalkvidd
Have tried both a 3.3V and a 5V both behave the same.
I check every 30 seconds now and after about 10 minutes the result is 0 on both directions.
I restart the arduino and then one direction shows a value and the other 0.
There is proberbly something with my forks :)Did I mention that I upgraded the sketch to 2.0? Could that be a problem?