This project highlights the ON Semiconductor RSL10 Multisensor integration with the OmnIoT SoftHub Platform. The SoftHub is an IoT edge platform which allows users to build out many typical IoT edge applications in very little time and with no programming required. In our demo video, the SoftHub is running on a Raspberry Pi Zero/W and has been configured to execute the following example scenario -
- Connect to the first RSL10 detected
- Once connected create a counter with a modulo of four
- Once connected start a one second continuous timer, after each interval
- - increment our counter
- - if the counter is 0 issue a ble read of the environmental sensors
- - if the counter is not 0 issue a ble read of the light sensor
- When a new packet arrives
- -- forward the packet in JSON format to a cloud based Thingsboard dashboard via MQTT
- -- if the light sensor is below 50 lux turn on a lamp connected via GPIO (unless already on)
- -- if the light sensor is above 50 lux turn off a lamp connected via GPIO (unless already off)
- On system exit, turn off the connected lamp
The example scenario took roughly 20 minutes to configure from scratch. It is obviously simplistic and contrived, but the point is to show a bit of the functionality available. That said, there is far, far much more that can be configured if desired. For more information, see the OmnIoT website for lots of documentation and additional videos. An excellent place to start is the OmnIoT FAQ page.
At the time of this project submission we are planning to update the release candidate version of our installation package in the next few days to add RSL10 support. A full/free working installation package for the SoftHub can be downloaded from our website. Initially only the release candidate will be updated and should be downloaded from HERE. Eventually support will be moved to our generally available version which can be downloaded directly from our main support page (also free).
Caveats - Our support for the RSL10 is currently somewhat limited due to the BLE implementation of the stock firmware. The current integration only supports the environmental and light sensors as they seem to be the only hardware available via the current RSL10 firmware (at least on the device we received). Our implementation was based off of the BLE interface as documented in the On Semiconductor document titled "IDK Custom Service Node specification".
Note to On Semiconductor: Over the last few months we've had discussions with ON Semiconductor support but were unable to get a clear indication of what the future plans are regarding the RSL10's BLE interface. If a more robust firmware implementation is available (or is planned in the future) we would love to provide full support for the many additional hardware components found on the RSL10. Feel free to contact us if you would be interested.
Comments