Ok,
So I have an interesting project that I need to determine if Arduino is the right platform for.
I am going to lay out my requirements, and you guys help me determine if Arduino or an SoC like a PI3 or Odroid Xu4, etc would be better... Please
My Programming experience is limited to tweaking others code samples. I have only ever written hello world programs, and a tiny bit of HTML. I have just never been very good at it.
Though I have been in IT service and repair for 25 years and have a GOOD grasp of electronics. I have built many of my own circuits and used arduino to make led arrays, and simple projects before. Plus having some experience with the Mega from my x2 Prusa i3, 3D Printers.
So I need a programming language that is as forgiving as possible, with the LEAST learning curve. I am not sure if that is Python or Arduino or what. To be honest, I just don't know which way I should go.
And Here is why...
My Project is a control unit for Greenhouse operations. Open Source. That can do the following...
-
Use 8x or 16x Relay module to control Fans, Water Pumps, Air Pumps, Servos for Opening Vents, and to control the on/off switches of several power Strips for Lights, heaters, chillers, or whatever 110v devices might be employed in the greenhouse.
(Needs to be expandable to 64 relays if possible. And still be able to handle the other items on this list)
Example Relay Board =
https://www.gearbest.com/relays/pp_530463.html?wid=1433363¤cy=USD&vip=4264393&gclid=Cj0KCQjw0a7YBRDnARIsAJgsF3PgeCUAuNMvBb2MCweg1Y1BJPIg-kPF_OPIfil7bxixabgS2kvAbU0aAgIcEALw_wcB -
Take in Data from a PH probe, using the circuit from American Scientific.
Found here: EZOâ„¢ pH Circuit | Atlas Scientific -
Take in Data from a hall-effect flow meter
Found here: https://www.ebay.com/i/252702675781?chn=ps -
Take in Data from a Selenium PhotoCell/resistor to report light levels
Like this one from Adafruit or wherever.
Photo cell (CdS photoresistor) : ID 161 : $0.95 : Adafruit Industries, Unique & fun DIY electronics and kits -
Take in Data from a Temperature and Humidity Sensor
Like this one.
DHT11 Temperature & Relative Humidity Sensor Module for Arduino - Newegg.com -
Take in Data from a Barometric Pressure Sensor
Like this one.
Adafruit BMP280 I2C or SPI Barometric Pressure & Altitude Sensor [STEMMA QT] : ID 2651 : $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits -
Take in Data from a Water Level Sensor
Like this one.
Liquid Level Sensor - RobotShop -
Measure 12VDC Battery Solar Charging Current
Like this one.
https://www.amazon.com/dp/B01HXI1RBC/ref=asc_df_B01HXI1RBC5490699/?tag=hyprod-20&creative=395033&creativeASIN=B01HXI1RBC&linkCode=df0&hvadid=216538221087&hvpos=2o3&hvnetw=g&hvrand=4916202432833453067&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9012324&hvtargid=pla-351987843025 -
Measure 12VDC Battery Voltage with a Sensor
Like this one.
https://www.amazon.com/Diymall-Voltage-Sensor-Dc0-25v-Arduino/dp/B00NK4L97Q/ref=pd_lpo_vtph_23_lp_t_3?_encoding=UTF8&psc=1&refRID=7PAZ7VWZ42AJ4M0ETP09 -
And finally, Co2 Levels with a Sensor
Like this one.
SainSmart MG811 Gas CO2 Carbon Dioxide Sensor Module Sensor Module – SainSmart.com
Additional requirements for the system I am building are:
- Needs to be Wifi or Cat5 Connected to my network on the Farm
- Needs to be able to push all collected data into a web server and report it to a visual dashboard.
- Needs to be able to alert via email or sms based on the values of the data. (too little light, no flow, etc)
- Needs to be able to report to the dashboard the status of the Relays
- Needs to be able to Schedule and set timers on the Relays, and the rate of data logging for each sensor.
- Needs to be able to operate in an environment alongside many others of itself. Up to 128 units at a time.
(So Wireless may or may not work here, I am not sure... I want the MOST stable. So maybe wired networking would be better here?) - Needs to be Expandable for more sensors as needs arise
I wish to standardize the sensors, and the platform as a whole. Then do a detailed write up step by step on how it was all put together, including the web portal/dashboard, and backend, then open source the lot of it for small organic and aquaponic farms across the country. As well as produce a youtube series around it.
The Existing systems are still far too limited, and far too expensive.
But the limitation here will be MY programming inexperience.
So, the way I see this I can do it one of two ways....
- Contract a programmer and spend a ton of cash for an open source idea that I intend to give away to small farmers and techies like myself
- Bite the bullet and learn to program well enough to complete this project and turn it over to the community when I have it in a usable form
But I have time constraints to contend with. So I need the FASTEST route to success here.
Based on the conditions above, and the Equipment I intend on using, what would be the best direction to go to accomplish the goal of a prototype setup, that can be easily cased for outdoor use and employed long term on a small farm...?
Any help would be most appreciated.
I have worked on several projects here before, and the users were EXTREMELY helpful.
So, hopefully, I'll strike gold twice
Thanks!
-Z-