It is a simple IoT solution for plant life monitoring and maintenance, based on STM32NUCLEO boards and expansion modules.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed
GreenYourLife, A Plant Life Monitoring and Maintenance System
Elaborated By Engineers, Designed For The World
Introduction
A healthy ecosystem is one where all the actors in it work in synergy: each of them playing a part that serves the other. Plants play an important part in regulating our quality of life. In the modern world, they would often times be placed in buildings and houses, as decorations or as medicinal and therapeutic purposes. Whatever the reason, GreenYourLife is here to help you manage them.
GreenYourLife is an Internet of Things (IoT) solution that will allow you to perform the following:
- Follow your plant's well-being on your connected device (smartphone, etc.)
- Maintain your plant's well-being automatically
We've developed an indoor plant monitoring system with the STM32NUCLEO development board. The system will collect the plant's environmental data (air temperature, air humidity and soil moisture) and transfer them to your connected device. The data collected will then be stored on a cloud server, where you can follow the progress of your plant life.
How it works
Plant maintanence
Our concept of maintanence is the automatic catering of the plant's needs. In this version, we focus on water supply. Future versions may indeed include more than that.
On-board sensors on the STM32NUCLEO will obtain measurements of 3 main parameters on the plant surrounding:
- Air temperature
- Air humidity
- Soil moisture
Based on these values, the software then acts upon the water pump: activating it when in need of water and deactivating it if not.
Plant monitoring
Plant monitoring, for us, is the follow-up of the plant's health by monitoring environment quality and plant nutritions. In this version, we only monitor the three parameters listed above. Future version may include more advanced and smarter monitoring technique.
The STM32NUCLEO device acts as a Bluetooth server and awaits connection from any client (smartphone, etc.). Upon connection, the server updates the plant environment parameters at a fixed interval. The client application will then transfer these received characteristics to the cloud.
Details
Hardware
The target platform is the STM32NUCLEO L476RG development board with two additional modules:
- the IDB05A1 Bluetooth LE expansion board, which uses a BlueNRG coprocessor
- and the IKS01A1 MEMS sensor expansion board
There are several additional materials that constitute the system:
- a Funduino Soil Moisture Sensor, hooked up to 5V at pin PB_1
- a relay, hooked up to 3.3V at pin PC_8 and controlled by a PWM pulse
- a DC water pump
Software
We have used the ARM mbed platform for general code bring-up. We've used the following libraries:
- mbed library by ARM
- BLE_API library by the Bluetooth Low Energy team
- X_NUCLEO_IDB0XA1 library by the ST Microelectronics team
- X_NUCLEO_IKS01A1 library by the ST Microelectronics team
The acquired data on the client device is then sent to a cloud server that we hosted on ThingSpeak, so that people can remotely access the data. It is available at the GreenYourLife channel .
Reference
LICENCE.txt@4:e5550110184d, 2016-12-05 (annotated)
- Committer:
- kaiserhaz
- Date:
- Mon Dec 05 14:36:45 2016 +0000
- Revision:
- 4:e5550110184d
Added licence statement.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kaiserhaz | 4:e5550110184d | 1 | /** |
kaiserhaz | 4:e5550110184d | 2 | * Unless otherwise stated, the files provided adhere to the statement |
kaiserhaz | 4:e5550110184d | 3 | * below. |
kaiserhaz | 4:e5550110184d | 4 | */ |
kaiserhaz | 4:e5550110184d | 5 | |
kaiserhaz | 4:e5550110184d | 6 | This is free and unencumbered software released into the public domain. |
kaiserhaz | 4:e5550110184d | 7 | |
kaiserhaz | 4:e5550110184d | 8 | Anyone is free to copy, modify, publish, use, compile, sell, or |
kaiserhaz | 4:e5550110184d | 9 | distribute this software, either in source code form or as a compiled |
kaiserhaz | 4:e5550110184d | 10 | binary, for any purpose, commercial or non-commercial, and by any |
kaiserhaz | 4:e5550110184d | 11 | means. |
kaiserhaz | 4:e5550110184d | 12 | |
kaiserhaz | 4:e5550110184d | 13 | In jurisdictions that recognize copyright laws, the author or authors |
kaiserhaz | 4:e5550110184d | 14 | of this software dedicate any and all copyright interest in the |
kaiserhaz | 4:e5550110184d | 15 | software to the public domain. We make this dedication for the benefit |
kaiserhaz | 4:e5550110184d | 16 | of the public at large and to the detriment of our heirs and |
kaiserhaz | 4:e5550110184d | 17 | successors. We intend this dedication to be an overt act of |
kaiserhaz | 4:e5550110184d | 18 | relinquishment in perpetuity of all present and future rights to this |
kaiserhaz | 4:e5550110184d | 19 | software under copyright law. |
kaiserhaz | 4:e5550110184d | 20 | |
kaiserhaz | 4:e5550110184d | 21 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
kaiserhaz | 4:e5550110184d | 22 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
kaiserhaz | 4:e5550110184d | 23 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
kaiserhaz | 4:e5550110184d | 24 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
kaiserhaz | 4:e5550110184d | 25 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
kaiserhaz | 4:e5550110184d | 26 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
kaiserhaz | 4:e5550110184d | 27 | OTHER DEALINGS IN THE SOFTWARE. |
kaiserhaz | 4:e5550110184d | 28 | |
kaiserhaz | 4:e5550110184d | 29 | For more information, please refer to <http://unlicense.org/> |