Coder Social home page Coder Social logo

abhishek-iyer1 / drone-network-iot-nodemcu-azure Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.27 MB

This is the end semester project done for the IOT (Internet of Things) course at BITS Pilani, Pilani Campus. In this project, we develop an end to end drone management and networking system using Node MCU, Ublox-NEO6M GPS Sensor, Flask, PythonAnywhere and Azure.

License: MIT License

C++ 38.65% Python 23.16% HTML 38.19%

drone-network-iot-nodemcu-azure's Introduction

drone-network-iot-nodemcu-azure

This is the end semester project done for the IOT (Internet of Things) course at BITS Pilani, Pilani Campus. In this project, we develop an end to end drone management and networking system using Node MCU, Ublox-NEO6M GPS Sensor, Flask, PythonAnywhere and Azure.

1. Prerequisites

  • To replicate the results, you need to first download and install the necessary libraries in your Arduino Library Manager.
  • Once that is done you need to have an account in Microsoft Azure and PythonAnywhere. In Azure create an IOT Hub and add a device 'NodeMCU'. Remember to always keep your API keys as you will require them in your code.
  • Now replace your Wifi SSID and Password into the POST.ino and GET.ino codes. Also replace your API keys in the correct places.
  • On your account at PythonAnywhere, upload the map.txt and index.txt files. These will be used to generate the look of the map and the graph.

2. Execution

  • First interface your NodeMCU with your GPS Sensor and store your lattitude, longitude and altitude values decoded from the NMEA sentences.
  • Create a JSON payload using POST.ino and send it to your created hosting page on PythonAnywhere.
  • If successful you should be able to see the received string at {home page}/getjson
  • Furthermore, you will also be able to see the position on the map and altitude data on the graph at the following pages - {home page}/map and {home_page}/graph

It should look like this -

The graph can be seen as follows -

  • Finally, you can receive this data from the PythonAnywhere page by running GET.ino which will print out the payload in the serial monitor. It will then connect to your Azure IOT Hub and will send the data to the blob storage you have created.

Your output in Azure will look like the following -

drone-network-iot-nodemcu-azure's People

Contributors

abhishek-iyer1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.