The growth is affected by different factors such as temperature, sunlight intensity, soil moisture and the percentage of carbon-dioxide. This project is aimed to monitor these factors and adjust them for some certain kind of plant.
Sensors interact with Raspberry Pi, after receiving data program takes actions to controller such as pump and light. The flow chart below can explain how this system works in details, circuit diagram and schematic diagram are also provided.
High level trigger relay module
Raspberry Pi 3
MG811 carbon-dioxide sensor
DHT11 temperature sensor
YL-38 moisture sensor
MCP3008 ADC
5V submersible pump
12V DC power source
All programs are written in Python code which can be seen in my Github
1. Most programs for sensors are written in C/C++, Intel provides a library named UPM which provides software drivers for a wide variety of commonly used sensors and actuators. UMP asks for Java Runtime Environment, installation of UPM and pre-requisites can be seen in links.
2.In the future I want to use camera and image recognition to determine the kind of some plant and provide best environment for it.
3. It will be hard to combine Python and sensors if there are no existing modules, because Python is a high level language.
4.These are references
MRAA Doxygen documentation, Intel IoT development kit website, last accessed 28 Mar 2016, http://iotdk.intel.com/docs/master/mraa/index.html
Raspbian download page, Raspberry Pi Foundation website, last accessed 28 Mar 2016, https://www.raspberrypi.org/downloads/raspbian/
Installing operating system images, Raspberry Pi Foundation website, last accessed 28 Mar 2016, https://www.raspberrypi.org/documentation/installation/installing-images/
RPi raspi-config page, Embedded Linux Wiki, last accessed 28 Mar 2016, http://elinux.org/RPi_raspi-config
RPi raspi-config page, Raspberry Pi Foundation website, last accessed 28 Mar 2016, https://www.raspberrypi.org/documentation/configuration/raspi-config.md
Node JS hosted Linux binaries, Node.js Foundation, last accessed 28 Mar 2016, https://nodejs.org/dist/latest-v4.x
Github repository for SWIG (Simplified Wrapper and Interface Generator), by the SWIG Project, last accessed 28 Mar 2016, https://github.com/swig/swig.git
Github repository for MRAA, by the Intel Corporation, last accessed 28 Mar 2016, https://github.com/intel-iot-devkit/mraa.git
Building libmraa, Intel IoT development kit website, last accessed 28 Mar 2016, http://iotdk.intel.com/docs/master/mraa/building.html