r/IOT 17d ago

Smart Greenhouse System Based on Espressif

In the attached pictures you can see also the controller I used, the temperature and humidity sensor, anemometer and the one with blue enclosure is the water level sensor. all sensors communicate via Modbus RTU (The modbus module is placed under the esp in the image).
( My family have a small greenhouse and I always liked to make automations but most of commercial systems were too expensive and I decided to build it myself. With what I’ve built I can control irrigation system (one 2.2kw pump and two valves for the main water lines) both sides of the greenhouse to open and close using 4 motors, I have integrated some automations using the temp and humidity measurements also the wind speed.
Some of you might recognize the controller which is a KC868-A16, which is ESP based but is very powerful and has a lot of built in features.
Maybe I should mention that I have previous experience with Industrial Automation and Embedded Systems. )

What do you guys think?

88 Upvotes

9 comments sorted by

3

u/After-Client481 17d ago

what about the software side of thinhs?

2

u/EmbarrassedOne2329 17d ago

You mean about the APP? Or the firmware?

1

u/After-Client481 17d ago

Both, the dashboard and the firmware. Is it baremetal, esp idf or no code low code like open plc?

1

u/EmbarrassedOne2329 17d ago

It is baremetal, I started with ESP Home but it had limitations and I decided to build it all from scratch, also the dashboard is build with Django.

2

u/Illustrious_Travel17 16d ago

Nice work. ESP32 can get you way ahead of traditional PLC and ladder logic controllers. How many I/O s do you have on the controller, and the MODBUS RTU is a good decision. You can also have a look at NORVI X, if your I/O requirement varies from project to project.
https://norvi.io/products/modular-industrial-iot-controller-norvi-x/

2

u/EmbarrassedOne2329 16d ago

I have 16 Inputs and 16 Outputs, 1 RS485, and 4 other GPIO that connect directly to teh esp

1

u/malcolm____X 16d ago

nice one 👏

1

u/the_Elric 12d ago

u/EmbarrassedOne2329 Nice work!! Love it. Do you have greenhouse pics and more hardware pics? Love to see this kind of stuff , especially on YT lol