This repository contains a series of microservices that can be used to absract behind topics the sensors provided as part of the Grove B+ kit.
The sensor currently supported are listed below:
A microservice controls a specific kind of sensor, display, or digital I/O.
Analog sensors are connected to the edison analog imputs, those on the side of the board -- precisely on the same side of the USB ports and the power port.
The microservices that control analog sensors take two parameters, the first is the number associated to the analog port (A0, A1, ..., A3), depending on yuor set-up it could be 0, 1, 2, or 3. The second parameter is the period with which the sensor will be sampled.
Led are controlled via GIOP digital input/output. The digital I/O are marked on the grove mezanine with D2, D3, ... D8. When starting a microservice controlling a LED or some other enity connected to a digital I/O you simply need to provide the integer representing the I/O port, such as 2,3, ..., or 8.
You can use freeboard Freeboard.io to very easily create dashboards to visualise the data produced by the sensors on the Edison board.
The Topics that you can use are described below:
Topic: com.prismtech.node.edison/Temperature
Topic: com.prismtech.node.edison/Luminosity
Topic: com.prismtech.node.edison/AirQuality
Type: com.prismtech.edison.sensor.types.AnalogSensor
Topic: com.prismtech.node.edison/LED
Type: com.prismtech.edison.led.types.LED