GithubHelp home page GithubHelp logo

antoninus96 / detector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from memento-iot-final-project-2018-2019/detector

0.0 0.0 0.0 18 KB

License: MIT License

C++ 63.80% C 27.06% Python 9.14%

detector's Introduction

detector

This component allows DISCO-L475VG-IOT01A board running mbedOS to enstablish an MQTT connection to your AWS IoT Core and to publish data every time a simple magnetic sensor detects high impedence case on the circuit.
The goal is reached by checking the integer value returned by the sensor connected to a digital pin (in our case the D1 pin, we could obviously use any of the board's digital pins to do that). Also a led is turned on, it could be replaced by a sound alert, every time the door is open.

//COMPLETE WITH RFID/NFC INTRO

Usage instructions

Our supported build platform is mbedOS online compiler.

For detailed instructions on how to setup the board for AWS IoT Core follow this link. That also includes instructions for the board Wi-Fi module setup.

The custom message that will be pushed to AWS endpoint has to be specified here between the two double apices in main.cpp file.

char payload[] = "{ \"payload\": TWITTER-ID-GOES-HERE }";

In our case, it's a JSON message containing a field named payload with a Twitter ID valued associated.

detector's People

Contributors

polyc avatar jotaro-sama 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.