This project is an implementation of a garden assistant that will check the current status of the environmental elements affecting your plant and will keep you aware about your plant-health no matter where you are. Surrounding environmental conditions such as temperature, light, humidity & moisture of the soil are monitored on a regular basis and updated to AWS. Any significant changes in the conditions will send notifications by adding relevant information to a AWS database and required actions will be triggered by AWS. With AWS functionalities and commands, Alexa(Amazon Echo) will inform about the health status of the plant and execute actions like watering the plant, switching on humidifier or light etc. based on the status.Current Implementation:
With Intel Edison and Grove starter kit plus, analog data from different sensors are read and mapped into respective units. Output sensor data is published to AWS IOT and also, stored in DynamoDB table if they pass a certain threshold required to take necessary action for the plant.Architecture:
- Flash firmware on the Intel Edison, setup SSH and connect the Intel Edison to the WiFi network.
- Connect the seed grove kit sensors to Intel Edison
Connect the light sensor to analog pin A0, the moisture sensor to analog pin A2 and the humidity and temperature sensor to analog pin A1. Calibration of the sensors based on specifications and surrounding conditions is required.
- Setup and configure AWS CLI in Intel Edison and configure the IOT device as a thing for AWS IOT.
- Establish MQTT protocol to connect the board with AWS IOT.
- Create rules on AWS IOT rule engine such that if the published data crosses a certain threshold, e.g., Illuminance<100, the information is stored into DynamoDB.
We used NodeJS & Intel XDK to upload and run script on the board to read the sensor values and publish the data to AWS IOT using MQTT client.