In week 9, we thought about how we can merge the two ideas, the Farm Data Analysis System and Digital Shepherd, into one. We decided it was most appropriate to focus our design around monitoring plants rather than moving livestock as they are more accessible for testing. Also, if we choose plants that are small in size, we do not need to spend a lot of money on buying hardware for large-scale monitoring. By creating a prototype for optimising plant growth on a small-scale, we can easily convert this to an industry application if we succeed.
We came up with a general set of requirements that is based around the raspberry pi grove kit and AI camera provided:
Must have:
Control system that takes inputs from sensors of the environment in which plant is growing in.
Process data.
Allow the system to produce some response to input through at least 1 form of actuation.
A simple interface to allow users to see sensor values.
Should have:
A camera system that monitors plant growth
A model verifying the health of the plant. (e.g. by analysing its leaves)
Allow users to have some control over system settings.
Have a more refined actuation system. (more forms of actuation: Fans, LEDs, Watering)
Users can manually control the actuation of each subsystem.
Feed new data back to the AI models to improve their accuracy (refine the model).
Could have:
GUI for the user interface with plots of data over time.
A model for plant growth predictions.
Heating subsystem: heating element + thermometer (need to take safety precautions)
Animal recognition model.
A model to classify plants
In week 10, we refined these requirements so that we know specifically how to get started with the implementation and the various hardware we may need to buy in advance:
Refined Set of Requirements
Must have: Create a simple control system for plant growth.
Set up a system with three plants in a plastic container with devices connected.
Design electronic circuits of the system.
Plan out the hardware arrangement and necessary modifications to the container.
Collect hardware needed and assemble them.
Get input from sensors in regular intervals and store them on the raspberry pi.
Grove DHT11 humidity and temperature sensor (for air)
Grove sunlight sensor
Grove soil moisture sensor
Temperature sensor (e.g. for soil)
Add lighting subsystem
Solder/Assemble lighting subsystem control circuit
Solder/Assemble the subsystem’s circuit (with PWM control)
Attach LED strips to the container
Attach control circuit
Attach light sensor in the box to get most representative data
Add control to the system (simple PID control):
If the air humidity is too high, turn on the fan
If brightness is too low, increase the brightness of LED lights. if brightness is too high, decrease the brightness of LED lights.
If ground humidity/ soil moisture is too low, add water.
Create a simple user interface.
Create a simple console program that displays sensor readings and actuation status.
Should have: AI camera monitoring health, improved UI (graphs+Camera feed), More subsystems (watering subsystem, air circulation subsystem)
Add AI camera to the system
Cut a hole for the camera lens so it can point directly at the plants
Set up a model in the Azure cloud, periodically upload data from Rpi.
Train the model on data from the internet/manually created data
Perform data analysis on the sensor data
AI model for inference on the data
Create predictions
The program allows input for optimal condition
Perform data analysis on the camera data
Recognise each leaf
Determine how dry each leaf is
Detect abnormal properties on leaf e.g. spots
Add air circulation subsystem (fans+fan control system)
Solder/Assemble air circulation subsystem control circuit
Solder/Assemble the subsystem’s circuit (with PWM control)
Cut out holes in the box for the fans and attach them to the box
Attach the air humidity/temperature sensor in the box to get the most representative data
Attach control circuit
Add watering subsystem
Solder/Assemble the pump’s control circuit
Solder/Assemble the subsystem’s circuit
Attach water pump in the water container
Attach liquid level sensor in the water container
Add the water distribution system, either:
Hydroponic: Add more water by directly pumping to the existing container
Soil: either:
Pump water through a pipe irrigation system
Pump water to sprinklers above the plants
Continue AI model training with the system we have.
Research lighting subsystem
Create 2 patches of the led control program.
Compare the difference between simulated day and nights/constant lighting.
Allow the user control:
GUI includes two modes: user control mode and automatic mode.
Automatic mode = Users can enter the ideal temperature, humidity and soil moisture values for the subsystem to maintain in the GUI.
User control mode = Users can turn on/off the fans, sprinkler and LED lights, and also adjust the brightness through the GUI.
Could have: Extra features - plant classification, stress level detection, heating subsystem, more advanced GUI, animal recognition.
Allow the camera to classify plants and detect stress levels of plants:
Further training with more online pictures for different plants
Need to research about detecting plant stress level
Take in input from the camera to create predictions of how the plant might grow in the future.
Add the heating subsystem with safety precautions.
Create a circuit with a heater and temperature sensor. The heater will turn on and off to control the temperature.
Advanced user interface with graphs showing sensor readings over time and diagrams to show predictions generated from the AI model.
Animal recognition:
Train another model to allow the camera to classify them.
Comments