IoT greenhouse system for construction is developed based on ESP32, Arduino, Lora, MQTT, Nodejs and C# Winform
This is a completely new project in Vietnam, the application of IoT and Lora technology has opened a new step in the agricultural industry. Along with the 4.0 technology revolution, IoT is an essential part of agricultural development. With almost applied in reality, it is an urgent project, further research and development will help our country integrate and develop further.

The gateway-centered model for construction, gateway is built with ESP32 module, Lora Ra-01 and OLED module, which is responsible for waiting for Lora data from sensor nodes (Node CO2, Node Temp, Node Light), OLED display processing and publish them to brokers, then pushed to server or software control (C# Winform).
Node sensitive, specifically here is the CO2 node built by the ATMEGE328 microcontroller, Lora Ra-01, OLED module and Cozir-Ax-5000 sensor. The task is to read CO2 value and transfer Lora data to Gateway.
Gateway connects to the server or software via the MQTT method, this is a quick transmission method, with low bandwidth speed, ... they have a publish/subscribe form. When receiving Lora data from the sensor node. Gateway processing data and publish on broker a message through a topic, at this time the server or software will subscribe to that topic and listen to the message continuously from that topic, just need a data sent from Gateway, immediately the server and the software will update the new value according to the received message, vice versa, when the server or Gateeway Publish data, Gateway will subscribe Or the software, Gateway immediately received and converted into Lora data and immediately transmitted to the control node (node relay).
The server is built on the Node.js platform and the software is built on the C# .NET platform. All of them have supported the MQTT library, the rest is because the programmer creates them like.
Gateway is built with the nucleus of ESP32 module and Lora RA-01 module. The ESP32 module uses a dual -core 32 -bit chip that allows high -speed and stable data processing. Lora Ra-01 module uses the SX1278 chip that supports RF wireless transmission to the kilometers.

Node CO2 is built with ATMEGA328 (Arduino), Lora RA-01 module and Cozir-Ax-5000 sensor. The Cozir sensor is a digital sensor that allows reading CO2 value directly through the UART without having to calculate much.

The server is built on Node.js. With the use of socket.io allows the server to operate in real time. The system gives recommendations for each value. There is also a weather forecast page that allows viewing weather situation in the coming days.

The software is built on C# .NET platform. Diary supports users to track the instantaneous changes of values.

https://www.youtube.com/watch?v=tktaao-llqs