GithubHelp home page GithubHelp logo

carterwilliamson / particle-cellular-locator Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 15 KB

Particle Electron Cellular Locator

License: MIT License

Shell 67.54% Arduino 32.46%
particle-electron google-maps cellular-network

particle-cellular-locator's Introduction

Particle Sandbox

Introduction

This example contains two pieces. One is the particle firmware that will gather cell tower data and emit events. The second piece is the webhook that ingests these events, transforms them into a Google Geolocate API call, and creates a POST request.

Setup

For this project you'll need to have the Particle CLI installed along with dfu-util. Setup steps for this can be found here -> https://docs.particle.io/guide/tools-and-features/cli/electron/

Webhook

For your first time setup, you'll need to create the webhook. You can pass your Google API key as an argument $ ./create-webhook.sh <YOUR_KEY>, or set $ export API_KEY=<YOUR_KEY>; ./create-webhook.sh. It is recommended to use the env. variable approach as we will need that key set later anyway.

Particle Device

Plug in your device via USB and set it to dfu mode. Then run $ ./build.sh and the project will build and flash to your device. If you watch the Particle console, you should see events start popping up.

Map

Now you're ready to set up the map, head over to -> https://github.com/carterwilliamson/particle-device-locator

The webook-test.json file is used to send test webhook requests to a requestbin url instead of the Google API.

particle-cellular-locator's People

Contributors

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