Coder Social home page Coder Social logo

vatsalyagoel / asset-tracker-gcp-mongoose-os Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alvarowolfx/asset-tracker-gcp-mongoose-os

0.0 3.0 0.0 1.08 MB

🚧 An Asset Tracker made with an ESP32 running MongooseOS + GPS and GPRS Module, sending data through Google Cloud IoT Core

Home Page: https://medium.com/google-cloud/gps-cellular-asset-tracking-using-google-cloud-iot-core-firestore-and-mongooseos-4dd74921f582

HTML 5.36% JavaScript 94.33% C 0.32%

asset-tracker-gcp-mongoose-os's Introduction

Asset Tracker using MongooseOS and Google Cloud

Overview

IoT Project using MongooseOS with it's awesome GPRS with PPPoS. Data will be sent to Google Cloud to be analysed and visualized.

WebApp: https://asset-tracker-iot.firebaseapp.com

Upload firmware with Mongoose OS Tools

To use it we need to download and install it from the official website. Follow the installation instructions on https://mongoose-os.com/docs/quickstart/setup.html.

  • mos build --arch esp32
  • mos flash

Provision and config

  • mos wifi your_ssid your_pass
  • mos gcp-iot-setup --gcp-project your_project --gcp-region us-central1 --gcp-registry your_registry

BOM

  • Any ESP32 Board (I used a Lolin32).
  • NEO 6M uBlox GPS module.
  • Sim800L GSM module.
  • 220 Ohm resistor for the LED.
  • Blue and Green LED for status of the device.
  • 1k Ohm resistor for the MOSFET trigger.
  • IRF540N MOSFET (don’t try to use a cheap MOSFET, like the TIP120, because it cannot handle the GSM Module current needs)
  • Jumpers
  • Perfboard for prototype (Optional)

Schematic

schematic

Setup Firebase, deploy functions and webapp

  • Install firebase tools: npm install -g firebase-tools or yarn global add firebase-tools
  • Install webapp dependencies: npm install or yarn install
  • Build React Application: yarn run build or yarn run build
  • Install functions dependencies: cd functions && npm install or cd functions && yarn install
  • Associate project with Firebase: firebase init
  • Deploy all the things: firebase deploy

References

asset-tracker-gcp-mongoose-os's People

Contributors

alvarowolfx avatar

Watchers

 avatar  avatar  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.