| Skill Level | Area of Focus | Operating System | Cloud Service/Platform |
|---|---|---|---|
| Advanced | 3D Printing & Modeling, IoT, Sensors, Smart Cities | Linux | Amazon AWS IoT |
This project is designed show how sensor data can be processed on the Edge using AWS Greengrass on the DragonBoard™ 410c development platform from Arrow Electronics.
Objective
The project intends to monitor agricultural environments and optimize growing conditions by capturing data from sensors, processing it on the edge gateway, and making real-time decisions about irrigation, grape temperature for frost prevention, etc.
It is also designed to escalate alert conditions (e.g., over temp) to the cloud and send daily aggregated data reports (e.g., hourly averaged metrics) to allow for long term data trending and analysis for predictions of weather forecast, pest info, expected quality / quantity of wine grapes.
Materials Required / Parts List / Tools
- DragonBoard 410c boards
- 12V wall adapter
- Sensor Mezzanine Board
- Moisture Sensor
- Grove Mini Fan
- Digital Light Sensor
- RGB LED
- IMU 10dof sensor
Source Code / Source Examples / Application Executable
Build / Assembly Instructions
Launch the Demo with following steps
- Setup the Demo by following the steps listed in “IIoT Vineyard Setup Guide.pdf”
- Launch green grass core with following steps:
$ cd /greengrass/ggc/packages/1.X.0/
$ sudo ./greengrasssd start- Update the Mezzanine board
- Launch the Arduino programmer: start --> Programming --> Arduino IDE
- Open image.ino
- path is /home/linaro/IIOT/arduino-image/image/
- Upload the code to the Mezzanine
- Find the ip address of the DragonBoard
$ ip addr
- Change the IP address in the following config files
change IP address in the line "hostip = xxx.xxx.xxx.xxx" (IP address of the dragonboard)- /home/linaro/IIOT-Projects/config.ini
- Go to executables
$ cd IIOT-Projects $ ./ start-IioT-service.py
- Open web browser and go to http://localhost:8090/
Additional Resources
Usage Instructions
Once the setup is complete and software is launched, users can simulate adverse environmental conditions using one of the following three ways.
- Spray compressed cold air on the Temperature sensor to simulate frost conditions.
- Move the Moisture sensor to a cup of water to simulate adequate moisture in the soil.
- Move the Moisture sensor away from the cup of water to simulate drought conditions.
- Use a flashlight on the digital light sensor to simulate conditions with high UV Index.
Sign up for the Developer Newsletter.
Get software and hardware tool resources to help optimize your development delivered to your inbox weekly.
