Giter Club home page Giter Club logo

kit-iot-wearable-node's Introduction

Kit IoT Wearable Telefonica VIVO

NPM

Módulo de Node.js para conectar via bluetooth com o Kit de Desenvolvimento IoT Wearable.

O kit possui os seguintes sensores:

  • Módulo Bluetooth - (HM-13)
  • Luminosidade
  • Temperatura
  • Acelerômetro
    • eixo x
    • eixo y
    • eixo z
  • LED RGB
  • Buzzer

Mantenha o Sketch Arduino do seu Kit IoT Wearable atualizado

Link - faça o download do sketch e suba no seu Kit Wearable utilizadno a IDE do Arduino.

Como utilizar

Para utilizar o módulo primeiro instale ussndo o npm

$ npm install kit-iot-wearable

Dependências dos sistemas operacionais

Mac
Linux (Ubuntu)
  • Versão do Kernel > 3.6
  • sudo apt-get install bluetooth bluez-utils libbluetooth-dev
  • Rodar como sudo

Exemplo de utilização

var Wearable = require('kit-iot-wearable-bluetooth2'),
    kit = new Wearable({
      name: 'name-of-your-wearable'
    });

kit.findWearable();

//after connect the 'connected' event will be emitted
kit.on('connected', function () {
  kit.ledON('RED');
  kit.playMusic();
});

Para mais exemplos veja a documentação

Documentação para utilização

Veja a documentação do módulo node - link

###Documentação do Módulo bluetooth HM-13 Veja a documentação do módulo bluetooth HM-13 - link

Lista de comandos do Wearable

Veja a lista de comandos aqui

Autor

twitter/vitorleal
Vitor Leal

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.