ArduinoGeneral

Auto watering kit (Ecoduino) library

userHead Lauren 2013-03-13 14:29:29 6645 Views5 Replies
We just got a new beta version library for the auto watering kit, which integrate the simple functions to read the temperature,humidity, carbon and moisture sensor data directly with one command. Also to enable and disable water pump just require to call "pumpOn" and "pumpOff". So please try it and post your response here.

We'd like to work on this library with you together and extend more functional features for your application! ;D

Here's the v0.1 library link, please take a look!
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=auto%20watering&product_id=641#.UUAcOxwqAZ5]http://www.dfrobot.com/index.php?route=product/product&filter_name=auto%20watering&product_id=641#.UUAcOxwqAZ5[/url]

Best
Lauren
2013-04-17 11:51:19 @geab

Hi, the ecoduino you get is the old version,  Since we have updated the ecoduino with V1.0, the information in our websit is to the new version  . But you can check

[url=http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit(SKU:KIT0003)]http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit(SKU:KIT0003)[/url]

Best
userHeadPic Phoebe
2013-04-16 04:59:09 I found the sunflower.h library on a another website [url=http://littlebirdelectronics.com/products/auto-flower-watering-kit]http://littlebirdelectronics.com/products/auto-flower-watering-kit[/url]
while it is not available on DFRobot site.

And finally I could do reading of the moisture sensor and switch on/off the pump.

When I do read the moisture sensor by:
Moisture_sensor_1=analogRead(3);
Moisture_sensor_2=analogRead(4);

I obtain in the serial monitor:
Sensor 1:794.00
Sensor 2:686.00
Sensor 1:669.00
Sensor 2:608.00
Sensor 1:632.00
Sensor 2:585.00
Sensor 1:762.00
Sensor 2:664.00
Sensor 1:659.00
Sensor 2:602.00
Sensor 1:537.00
Sensor 2:501.00
Sensor 1:422.00
Sensor 2:408.00
Sensor 1:256.00
Sensor 2:275.00
Sensor 1:82.00
Sensor 2:134.00
Sensor 1:156.00
Sensor 2:173.00
Sensor 1:406.00
Sensor 2:364.00
Sensor 1:565.00
Sensor 2:500.00
Sensor 1:641.00
Sensor 2:573.00
Sensor 1:524.00
Sensor 2:496.00
Sensor 1:303.00
Sensor 2:316.00
Sensor 1:113.00
Sensor 2:158.00
Sensor 1:84.00
Sensor 2:130.00
Sensor 1:300.00
which are changing significantly despite they are either immersed in water or in air. What should I expect?
Reading interval is set to 2000 ms

Thanks,
userHeadPic geab
2013-04-13 03:49:52 Hi Lauren

the diagram you link to is not showing the board I have.

I have [url=http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg]http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg[/url]

On the page it says: Note:The cables packaged with the sensors is not correct,we suggest you use the orange cables attached

Please let me know what I should do.

There are 2 sites for the Ecoduino on your web:
[url=http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit(SKU:KIT0003)]http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit(SKU:KIT0003)[/url]
[url=http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)]http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)[/url]

which is the correct one?

one is mentioning following these libraries:
#include <Servo.h>
#include <sunflower.h>
#include <avr/wdt.h>

where is sunflower.h to be downloaded?

If you could send me the sketch I can use on the board I have received from a german distributor: Lipoly.de
[url=http://www.lipoly.de/index.php?main_page=advanced_search_result&search_in_description=1&keyword=watering]http://www.lipoly.de/index.php?main_page=advanced_search_result&search_in_description=1&keyword=watering[/url]

Thx, Geab

[quote="Lauren"]
Hi,

About the sensor connection diagram, please check the wiki page below.  ;)
[url=http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)]http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)[/url]

Best
Lauren
[/quote]
userHeadPic geab
2013-04-12 11:47:12 Hi,

About the sensor connection diagram, please check the wiki page below.  ;)
[url=http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)]http://www.dfrobot.com/wiki/index.php/Auto_flower_watering_kit_(SKU:_KIT0003)[/url]

Best
Lauren
userHeadPic Lauren
2013-04-11 04:46:08 Hi Lauren

I received my Ecoduino today - Great
Now I just tried the library and some sample sketches from different places on the homepage and run into problems. There are several sketches and libraries (e.g. sunflower) mentioned and some are compatible with 23 and others with 1.03.
Therefore I would be really happy for guidance.

Could you make a link to what works with the newsest Ecoduino board: 5 analog in and 6 digital out.
[url=http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg]http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg[/url]
Also there is something mentioned with orange cables for the mositure sensor - I have a cable with red to VCC, black gnd and blue to s

[color=red]Note:The cables packaged with the sensors is not correct,we suggest you use the orange cables attached.[/color][color=black][/color]

I did the wiring according to : [url=http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg]http://www.dfrobot.com/wiki/images/c/c3/Gardening.jpg[/url]

Thanks, Geab


[quote="Lauren"]
We just got a new beta version library for the auto watering kit, which integrate the simple functions to read the temperature,humidity, carbon and moisture sensor data directly with one command. Also to enable and disable water pump just require to call "pumpOn" and "pumpOff". So please try it and post your response here.

We'd like to work on this library with you together and extend more functional features for your application!  ;D

Here's the  v0.1 library link, please take a look!
[url=http://www.dfrobot.com/index.php?route=product/product&filter_name=auto%20watering&product_id=641#.UUAcOxwqAZ5]http://www.dfrobot.com/index.php?route=product/product&filter_name=auto%20watering&product_id=641#.UUAcOxwqAZ5[/url]

Best
Lauren
[/quote]
userHeadPic geab