Sfoglia il codice sorgente

extend giessomat influxdb

Thomas Buck 3 anni fa
parent
commit
27edb89aa6

+ 59
- 2
input/projects/giessomat.md Vedi File

@@ -4,7 +4,7 @@ parent: projects
4 4
 position: 6
5 5
 github: https://git.xythobuz.de/thomas/giess-o-mat
6 6
 date: 2021-03-29
7
-update: 2021-05-16
7
+update: 2021-10-24
8 8
 ---
9 9
 
10 10
 This project [was featured on Hackaday](https://hackaday.com/2021/05/14/automated-watering-machine-has-what-plants-crave-fertilizer/)!
@@ -250,7 +250,7 @@ I have used a DB-9 connector, running the power switch as well as the other volt
250 250
 This is so the machine can be turned on and off at the UI.
251 251
 I also placed some cheap little voltmeter modules on the UI, showing the other voltages.
252 252
 
253
-## Future Extensions
253
+## Future Extensions (v1)
254 254
 
255 255
 I have now been running capacitive ground moisture level sensors in a couple of my plants for around a year, logging the data using my [ESP-Env project](https://git.xythobuz.de/thomas/esp-env) to an [InfluxDB](https://www.influxdata.com/) instance running on my NAS, with a [Grafana](https://grafana.com/) UI running on there as well.
256 256
 I used the [cheap chinese models](https://amzn.to/3sLG8SB) up to now, and they have not proven very useful.
@@ -279,6 +279,63 @@ But to be quite honest, I don't see the appeal in that currently.
279 279
 It would lose the ability to use a different number of pumps and valves, as needed by the specific application.
280 280
 And building all this up on perf-boards is really not much work.
281 281
 
282
+## Fertilizer Update (June 2021)
283
+
284
+After using the first version of this project for a while, I noticed some problems with the different fertilizers I'm using.
285
+
286
+The set of fertilizers I like to use consists of three parts, for different stages of the lifecycle of the plants and different requirements for different species.
287
+They differ in their contents, and also in the viscosity, from thick to thin.
288
+
289
+The third, thinnest, fertilizer pumps easily with my initial setup.
290
+Even when not using it for a while, the liquid simply stays in the hose, held against gravity by the inactive pump.
291
+For the next use, the pump simply can be started and immediately starts dispensing.
292
+
293
+Unfortunately, for the other two thicker fertilizers this does not work.
294
+As you can see in the example video linked above, they move much slower and take more work from the pump.
295
+But they also have a higher level of NAK and solid contents.
296
+This is not a problem initially, but after being held in the hose for a while, the nutrients in the fertilizer crystallize and completely block the hose.
297
+If the wait was short enough, the pump can overcome the obstacle and push it out and crush it, but you have to be lucky for that.
298
+After a short time, the pumps no longer move anything at all.
299
+
300
+Additionally, the solid contents settle at the bottom of the bottles.
301
+For hand-use, that is not a problem, you simply shake the bottle before use.
302
+But automating this takes some more work.
303
+
304
+To solve these issues, I initially thought about modifying the circuitry, using a dual H-Bridge motor driver to control the pumps of the problematic fertilizers.
305
+This way, the direction of the pump can be reversed to empty the hose.
306
+For this to work, of course the water level in the tank needs to be below the outlet level of the fertilizer hoses.
307
+But this can be achieved easily by shortening the hoses a bit.
308
+Then the hose can be completely emptied afer dispensing the required amount of liquid.
309
+Of course, the pump now needs to run longer to fertilize, as the liquid has to travel the length of the hose each time.
310
+But it should solve the crystallization issue.
311
+
312
+But before going this way, I decided to try diluting the fertilizer with water.
313
+In this case, the pumps need to run longer of course, but this is not a problem.
314
+It seems to work fine, regarding the crystallization problem, for now.
315
+
316
+For the solid contents settling, I bought two cheap chinese magnetic stirrers.
317
+The bottles need relatively flat bottom surfaces and they need to be positioned well on the stirrer, but they have enough power to move the rotor and stir even the thickest of my fertilizers.
318
+The stirrers run on 12V and can simply be connected to another relais.
319
+
320
+## Automation Update (October 2021)
321
+
322
+As mentioned above, I'm running InfluxDB in my home network.
323
+To be able to implement an automated watering feature more easily, I decided to use the database.
324
+The plan is to record usage data for a couple of months, which can then be analyzed by a script that generates the parameters for the watering timer.
325
+I have been running this for a while already, but I only recorded the runtime of the water in seconds.
326
+The data already shows differing flowrates for the different outlets.
327
+This is because some plants are higher up then others, causing less pressure differential and therefore reduced flow velocity.
328
+
329
+<!--%
330
+lightgallery([
331
+    [ "img/giessomat_watering_durations.png", "Data of the first three to four months" ]
332
+])
333
+%-->
334
+
335
+I now added some more code to be able to calibrate the flowrates.
336
+With this the exact water amounts required each watering period can be calculated, as well as the corresponding time to fill the tank.
337
+More to come in the future.
338
+
282 339
 ## Links
283 340
 
284 341
 You can find [all the source code for the device itself](https://git.xythobuz.de/thomas/giess-o-mat) (both the UI and the Controller) as well as the OpenSCAD [design files for the 3D printed parts](https://git.xythobuz.de/thomas/3d-print-designs/src/branch/master/giessomat) on my [Gitea instance](https://git.xythobuz.de).

BIN
static/img/giessomat_watering_durations.png Vedi File


BIN
static/img/giessomat_watering_durations_small.png Vedi File


Loading…
Annulla
Salva