...
- 2G/3G/4G CF3 WP modem
- WiFi /BT IoT IoT Expander card for Client or AP mode and to attach to BLE sensors
- Location sensing is provided by an on board GPS.
- Sierra Wireless Smart SIM
...
The APIs we will provide for building various IoT use cases include (but not limited to):
Legato API
- Communication MangerManager/Modem services : (http://legato.io/legato-docs/latest/legatoServicesModem.html)
- Location Sensing : (http://legato.io/legato-docs/latest/legatoServicesPositioning.html)
- WiFi: (http://legato.io/legato-docs/latest/legatoServicesWiFi.html)
- Data Router: (https://github.com/mangOH/DataRouter/blob/master/dataRouter.api)
- MQTT MQTT: ( https://github.com/mangOH/MqttClient/blob/master/mqtt.api)
- Misc API found at legato.io
...
- Arduino app: Gathering & publishing data provided by the Grove studio sensors
- BT app: Gathering & publishing data using the BLE based Sensor Tag sensors
- WiFi app : Used to provide connectivity either in client or AP mode
- Twitter app: To push data to twitter
- Data Router: Provides a way for the apps to publish and subscribe to data as well as pushes it to the AirVantage cloud using MQTT or LWM2M
- MQTT: Provides mechanism to push data to the cloud
- Smart City app: Subscribes to sensor data from BT and Arduino app. Publishes set of chosen data to Cloud
Sensors used in Hackathon and potential use cases
Sensor | Attached to | Detection | Some Use cases |
Dust | mangOH direct only | Particle detection. Reading is ppm | smart city, health for air quality |
Oxygen sensor | mangOH direct only | Exact value of Oxygen in the air. Reading is percentage | smart city, health for air quality |
Noise | mangOH direct only | Monitor noise pollution from traffic, industry, construction. Reading is analog value | smart city, health for sound pollution |
Light | mangOH direct & via Sensor Tag | Measure light as analog reading (direct attach to mangoh) or Lux (BT sensor) | Smart City (Dimm or turn on lights when no is there, save cost ) |
Accelerometer | Sensor Tag only | 3 axis acceleration detection in g | Smart vehicle (accident, speed, container shipment) for smart city, Smart health for accident |
Gyrocscope | Sensor Tag only | Used for angular measurements. deg/s | Smart vehicle (accident, speed) for smart city, Smart health for accident |
Barometer | Sensor Tag only | For height detection. Value is in hectopascal | Smart vehicle (dead reckong applications etc.), weather Smart health for wearables/ weather etc. |
Humidity | mangOH direct & via Sensor Tag | Humidity measurement in % | Smart city & smart health environmental |
Object temperature | Sensor Tag only | Infra Red Temperature measurement in C | Smart city infra red temperature monitoring |
Water | mangOH direct | Water presence. Reading is boolean | Smart city water management |
Ambient temperature | mangOH direct & via Sensor Tag | Temperature measurement in C | Smart city & smart health environmental |
Digital Microphone -> actuated | Sensor Tag only | Actuation of alert via sound | Smart city , smart health alarm |
LEDs -> actuated | Sensor Tag only | Actuation of alert via light | Smart city , smart health alarm |
Using the Hackathon Platform
There is an incompatibility between NetworkManager in Ubuntu 16.04 and the ECM interface on the mangOH Green. In order to bring up the interface, run the command sudo ifconfig enx1e1e131e3b4a up 192.168.2.3
Sierra will provide 16 completely assembled kits with the following:
...
- User name : IMEI# of your module (you got that from CM info command)
- password: SWI
Some users have reported problems consuming the payload once it is in Node-RED. The javascript below should help to avoid a couple of pitfalls.
var msgStr = '{"payload": "{\\\"arduino.water\\\": true}"}';
var msgObj = JSON.parse(msgStr);
var payloadStr = msgObj["payload"];
var payloadObj = JSON.parse(payloadStr);
alert(payloadObj["arduino.water"]);
For direct response to questions, please register on the forum at mangoh.io ( http://forum.mangoh.io/)