I am pretty new to coding and using arduinos, but as soon as i discovered it, I got more and more fascinated!
I’m currently in the mood to automatize as much as i can of a 1400sqft green house (in construction) in the south west of France. I face few problems in my project with the Cayenne plateform. I’m going to explain a little bit about the project and I’ll ask my questions in the end.
I planned, first of all, to get the rain water from my roof in tanks (4m³ in total), where an UV lamp is working in sync with a little pump to clean the water from bacterias from time to time. This water flows by gravity in the Green House with a Solenoid Valve mounted on a 8x relay to just turn it ON for water to flow and OFF for water stop. I will in the future add zones in the Green House (and Solenoid Valves) as the project evolves. I also planned to gather information about the humidity of the ground and temperature of the air in the Green House to eventually add a little extra heat in the greenhouse in winter or in the opposite case, command a motor to roll up the plastic windows for ventilation.
I also wish to gather information of wind with this anemometer that i haven’t tried yet… (I wish to gather this information in case of strong winds for rolling the windows down to avoid significant wind surface area). And also, luminosity (with a cheap luminosity sensor) to eventually add extra light at some point if really needed.
Beside all of that I also added 4 solar panels to generate up to 4x210W storing it on 8 acid batteries of 100ah each (I know I know terrible mistake in the choice of batteries…) 4 in series x 2 in parallel to have a 48V configuration of 200ah. I have a regulator of charge and an inverterto have a 230V output.
So coming back to my cayenne dashboard, it looks like this :https://photos.app.goo.gl/Gcn4YwZKM23qXlXq1
On the top you can see all the on/off boutons, and on the bottom there is the luminosity on the right and on the left the humidity of the ground.
So there comes the questions :
1 - How to calibrate the humidity sensor? I wish to make it go from 0% to 100%, 0% beeing dry and 100% beeing wet. By the way, there are probably better soil humidity sensor out there, does anyone know where to get a ±30€ soil humidity sensor (in Europe if possible) ?
2 - The anemometer seems great but how to add it to my Cayenne Dashboard and calibrate it like the soil humidity sensor (the wiring shouldn’t be a problem)?
3 - Where can I buy a weatherproof motor capable of rolling up (slowly but surely) and down a very heavy roll window? I thought of the something of greater power then a drilling machine.
I get most of my stuff on amazon but i don’t seem to find much things… is there a good online store in europe for all of these components? I’m also looking for door locks components…
4- Last question, i see tons of attention on the LoRa technology, is it better to wire everything 30m away from the arduino to the Green House or using LoRa sensors would be better with the distance?
5- I tried to add a DS18B20 thermometer and i have tons of errors, here is just an exemple of repeated errors :
libraries\DallasTemperature\OneWire.cpp.o (symbol from plugin): In function
OneWire::write(unsigned char, unsigned char)': (.text+0x0): multiple definition ofOneWire::write(unsigned char, unsigned char)'
libraries\OneWire\OneWire.cpp.o (symbol from plugin):(.text+0x0): first defined here
I hope you enjoy reading about all of this, like i’m obsessed with it! I hope you the best and can’t wait for all of this to be functional. Don’t hesitate to add any comment about the project if you feel like.
Thank you in advance for all of your help!