Agriculture 4.0: In-Door Ginger Growing with IoT-Based LED Systems



Cho, Wen Bin (2021) Agriculture 4.0: In-Door Ginger Growing with IoT-Based LED Systems. Final Year Project (Bachelor), Tunku Abdul Rahman University College.

[img] Text
Restricted to Registered users only

Download (8MB)


This work is to implement the Iot-Based LED system for the ginger plant in Tunku Abdul Rahman University College. By completing this work, it will able to develop an Iot LED system to support indoor ginger growing experiment with LED in Tunku Abdul Rahman University College. The aim of this final year project is to monitor, record data control the light intensity and overcome abnormal situation on LED system. Implementation of Printed Circuit Board and Installation of LED frame on TARUC ginger farm will be also the objective of this project. There will be 32 sets of LEDs in ginger farm and each set of LEDs have red, green and blue individual led. For the hardware in this project, there will be 3 different microcontroller circuit which is STM8, STM32 and ESP32. STM8 circuit will be the brain of each LED light that control led intensity, measure electrical parameter, temperature and ability to turn off led when temperature exceed cut off temperature.STM32 circuit will be the middle man of STM8 and ESP32 circuit where it will communicate with two different microcontroller.ESP32 was chosen as it has Wi-Fi module and supports Webservice for communication to cloud based service. The software design for communication device between microcontrollers will be implemented with event-based state machine to avoid stuck at a while loop while communication and it able to do another task when transmit or receiving the packet. For the communication between main led controller and cloud-based system, REST API will be implemented as it is a communication protocol where it is easier to read and debug with English like communication. In order to test the communication state machine, custom mock provided by Ceedling TDD was implemented to design a test framework for state machine integration testing. Hardware circuit for this project will be tested individually then will be integrated with other hardware circuit in the same microcontroller circuit. After integration test on same microcontroller board has completed, there will be another integration test between 2 microcontrollers will be conducted in order to test the communication with hardware in a loop test. Lastly, this project will be tested with 1 ESP32 board and 3 STM8 board to verify the functionality of the hardware and software design on integrated circuit. The outcome of the project will be system is able to monitor, record, and control for the LED system. However, the requirement of the project was only fulfilled partially since STM32 circuit, Printed circuit board and installation on ginger farm was not implemented due to time constraint.

Item Type: Final Year Project
Subjects: Agriculture > Agriculture (General)
Technology > Electrical engineering. Electronics engineering
Faculties: Faculty of Computing and Information Technology > Bachelor of Science (Honours) in Microelectronics (Embedded Technology)
Depositing User: Library Staff
Date Deposited: 12 Aug 2021 07:47
Last Modified: 12 Aug 2021 07:47