All Projects → jimbobbennett → AgroHack

jimbobbennett / AgroHack

Licence: MIT License
A hands on workshop for an agrotech hackathon 🌽

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to AgroHack

Iot-Telemetry-Simulator
The IoT Telemetry Simulator allows you to test Azure IoT Hub or Eventhub ingestion at scale. The implementation is communicating with Azure IoT Hub using multiplexed AMQP connections. An automation library allows you to run it as load test as part of a CI/CD pipeline.
Stars: ✭ 51 (+155%)
Mutual labels:  azure-iot
Wio Link Android App
iot.seeed.cc
Stars: ✭ 19 (-5%)
Mutual labels:  grove
XamarinIoTWorkshop
A workshop that demonstrates how to collect IoT data from a mobile device using a Xamarin app, aggregating the data to the cloud using Azure IoT Hub
Stars: ✭ 13 (-35%)
Mutual labels:  azure-iot
azure-iot-cli-extension
Azure IoT extension for Azure CLI
Stars: ✭ 71 (+255%)
Mutual labels:  azure-iot
azure-iot-starter-kits
Samples for Azure IoT starter kits.
Stars: ✭ 29 (+45%)
Mutual labels:  azure-iot
azure-big-data-starter
A boilerplate project for Azure Big Data PaaS services
Stars: ✭ 13 (-35%)
Mutual labels:  stream-analytics
Seeed Arduino AS5600
The library comes with AS5600. Through this library, we can realize read the angles 、get magnetic from a magnet underneath the sensor.
Stars: ✭ 59 (+195%)
Mutual labels:  grove
Azure-Certification-DP-200
Road to Azure Data Engineer Part-I: DP-200 - Implementing an Azure Data Solution
Stars: ✭ 54 (+170%)
Mutual labels:  azure-services
azure-iot-explorer
Cross-platform UI for interacting with devices attached to Azure IoT Hub
Stars: ✭ 174 (+770%)
Mutual labels:  azure-iot
IntelligentEdgeHOL
The IntelligentEdgeHOL walks through the process of deploying an Azure IoT Edge module to an Nvidia Jetson Nano device to allow for detection of objects in YouTube videos, RTSP streams, or an attached web cam
Stars: ✭ 37 (+85%)
Mutual labels:  azure-iot
vscode-azure-iot-edge
Azure IoT Edge for Visual Studio Code
Stars: ✭ 53 (+165%)
Mutual labels:  azure-iot
micropython-ssd1327
MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
Stars: ✭ 21 (+5%)
Mutual labels:  grove
MCW-Azure-Blockchain
MCW Azure Blockchain
Stars: ✭ 35 (+75%)
Mutual labels:  stream-analytics
armkit
Define infrastructure resources using programming constructs and provision them using Azure ARM templates
Stars: ✭ 50 (+150%)
Mutual labels:  azure-services
MT3620 Grove Shield
C library, Azure Sphere, MT3620 Grove Shield, I2C, Analog, SC18IM700, AD7992, Visual Studio 2017
Stars: ✭ 21 (+5%)
Mutual labels:  grove
Awesome Iot
Awesome IoT. A collaborative list of great resources about IoT Framework, Library, OS, Platform
Stars: ✭ 3,460 (+17200%)
Mutual labels:  azure-iot
iot-curriculum
Hands on labs and content for students and educators to learn and teach the Internet of Things at schools, universities, coding clubs, community colleges and bootcamps
Stars: ✭ 110 (+450%)
Mutual labels:  azure-iot
AzureServicesForUnity
Accessing Azure services (App Service, Table Storage, CosmosDB with Table API, Event Hubs) from a Unity game
Stars: ✭ 52 (+160%)
Mutual labels:  azure-services
awesome-iotcentral
A curated list of awesome Azure IoT Central libraries, open source repos, guides, blogs, and other resources.
Stars: ✭ 26 (+30%)
Mutual labels:  iot-central

Agrotech Hackathon

This workshop is a hands on lab for building an AgroTech solution using Azure IoT.

Learn more, get certified

If you want to learn more about Azure IoT Services, then check out the following:

Once you have upskilled as an IoT developer, why not get certified with our upcoming AZ-220 Azure IoT Developer certification. Check out the details on our certification page

The final project that will be created is an internet connected device with environment sensors, that connects to a set of services that will store the telemetry data and predict the weather using Azure Maps. This weather prediction will be combined with soil moisture data, and used to send a signal back to the device to indicate if the plants need watering, and this will be indicated by an LED, lit if the plant needs watering.

Most of this implementation will use a no-code IoT platform called Azure IoT Central, an IoT Software-as-a-service (SaaS) platform. There will be some coding required for the connected device, and this will all be in Python.

Getting started

Hardware requirements

Like all good IoT labs, you will need hardware to make this work. You will also need a plant to monitor.

The environment sensor

Software

You will need to install some software to be able to program the Raspberry Pi and create the various parts of this app

  • Visual Studio Code

  • Azure Functions Core Tools

  • Python

    • Windows:

      You can install Python from the Windows Store. This configures Python correctly on your PATH, and there are no further steps.

      If you don't want to use the store, you can install from the Python Downloads page. If you do this, ensure you check the Add Python to PATH option.

      The python installer dialog highlighting the Add Python 3.8 to PATH option

    • macOS

      You can install Python from the Python Downloads page.

      When Python is installed it will open a Finder window. Run the following scripts from inside that Finder window to set up certificates and add Python to your PATH:

      1. Update Shell Profile.command

      2. Install Certificates.command

Azure subscription

To use Azure services you will need an Azure subscription. If you don't have a subscription you can sign up for free.

  • If you are a student aged 18 and up and have an email address from an academic institution, you can sign up for the free Azure for Students offer at azure.microsoft.com/free/students without a credit card. At the time of writing this gives you $100 of credit to use over 12 months, as well as free tiers of a number of services for that 12 months. At the end of the 12 months, if you are still a student you can renew and get another $100 in credit and 12 months of free services.

  • If you are not a student, you can sign up at azure.microsoft.com/free. You will need a credit card for verification purposes only, you will not be billed unless you decide to upgrade your account to a paid offering. At the time of writing the free account will give you US$200 of free credit to spend on what you like in the first 30 days, 12 months of free services, plus a load of services that have tiers that are always free.

The workshop

Steps

  1. Set up the environment monitor

  2. Create the application in Azure IoT Central

  3. Write the code to capture telemetry from the Raspberry Pi

  4. Export IoT telemetry to Azure Event Hubs

  5. Create a storage account to store telemetry data

  6. Use Azure Stream Analytics to stream data into the storage account

  7. Create an Azure Function triggered by Azure Stream Analytics to check soil moisture

  8. Trigger an Azure IoT Central command if the soil moisture is too low

  9. Call Azure Maps to check the weather forecast before sending the needs watering command

  10. Summary

  11. Clean up

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].