This project is a comprehensive system for managing and monitoring mushroom cultivation using IoT devices, a back-end API, and a front-end interface.
The repository is organized as follows:
- Purpose: Collect environmental data such as temperature, humidity, light intensity, and moisture.
- Key Files:
src/main.cpp
: Main firmware for the sensing device.platformio.ini
: Configuration for PlatformIO.
- Libraries Used:
- Adafruit SHT31 Library
- ElegantOTA
- Purpose: Control actuators like humidifiers based on data from the sensors.
- Key Files:
src/main.cpp
: Main firmware for the actuator device.platformio.ini
: Configuration for PlatformIO.
- Purpose: Provide APIs for data storage and retrieval.
- Key Files:
index.js
: Express.js server for handling API requests.Database IoT Jamur.sql
andDB_JAMUR.sql
: SQL scripts for database schema.
- Technologies:
- Node.js
- MySQL
- Purpose: User interface for monitoring and managing the system.
- Key Files:
index.html
: Placeholder for the front-end interface.
- Purpose: Contains circuit diagrams for the IoT devices.
- Key Files:
Skematik-Bagian-Sensing.fzz
: Fritzing file for the sensing circuit.
- IoT Integration: Real-time data collection and actuator control.
- Database Management: Store and retrieve sensor data and user information.
- API Endpoints:
- Send data via GET/POST.
- Retrieve all data or specific records.
- OTA Updates: ElegantOTA for firmware updates.
- Install PlatformIO.
- Configure WiFi credentials in
src/main.cpp
. - Upload the firmware to the ESP32 devices.
- Install Node.js and MySQL.
- Run
npm install
in theBack-End
directory. - Start the server with
npm run
.
- Open
index.html
in a browser.
This project is licensed under the MIT License. See the LICENSE file for details.
- Widhyatma
- Hanan