Search

Azure Iot Farming

About the project

Azure Sphere Kit controls the water supply and lights in farming field via cloud central IoT application.

Project info

Difficulty: Moderate

Platforms: AvnetMicrosoft

Estimated time: 3 weeks

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Avnet Azure Sphere MT3620 Starter Kit Avnet Azure Sphere MT3620 Starter Kit x 1
DC Motor Pump DC Motor Pump x 1
12V LED Lights 12V LED Lights x 1
Analog Switch, CMOS Analog Switch, CMOS x 2
Linear Regulator (7805) Linear Regulator (7805) x 1

Software apps and online services

Microsoft Azure Microsoft Azure

Story

Azure IoT Farming, its build with Microsoft Azure Sphere MT3620 IoT Kit. The Idea of this project is to control the water flow and lights via cloud.

At the 1st step ordered the Azure Sphere MT3620 board from element14 website. After receiving the kit I started with basic intro and examples provided on the element14 community blogs.

I followed the tutorials from element14 blogs

able to finish the out of box demo with IoT Hub and IoT Central Application. Moving forward I decided to implement android app for Farming. I referred many docs but couldn't get what I want to implement with android. Anyway the other side I have interfaced CMOS Switches board to Azure Sphere kit to control 12V load. OLED I have connected to the board and modified some of the screens as per my requirements.

OLED Pin Connections:

Relay Pins:

Initial setup for the board is setup with Azure Sphere Developer Command-Line tool. (Microsoft Azure Sphere SDK)

Cloud side I was running IoT Central application :

I was not sure but mostly last two months my board is connected to azure cloud, in between the account free services expired, I came to know after 15days only then again activated the service and running now.

With the help of Dashboard Settings switches I could control the load from cloud. It was very fast. Also I tried to create another client application with node js to read the switch status and monitor the sensors values

The working demo is here

Schematics and circuit diagrams

Schematic Blocks

Code

Main

Credits

Photo of ashokr

ashokr

Hello! I’m Ashok. I’m currently working as software engineer. passionate about doing Hobbies Projects and Animations works.

   

Leave your feedback...