nRF51 Beacon support available !
main code already on github, more description to be provided soon. I used the nRF SDK with the proprietary_rf examples esb_low_power_ptx. The modified code makes the beacon behave as a dash button acting like all other mesh RF nodes.
STM32 IoT Board
This board comes with multiple functions (Gesture and proximity, RGB status, long range repeater and RF to serial)
Cell Coin Sensor Tag
- BME280 : Temperature Pressure Humidity
- MX44009 : Light
- MRMS211H : Magnet sensors
- Usage of modules very simple to solder, can reduce the cost vs on the shelf tags by soldering only the required module
- cost-less debugger and IDE
- power measures : to be provided during next week (beginning December)
Fully open source available on github
- STM32 Gateway and repeaters, Raspberry pi server MQTT to DB, and react webapp on github
- The latest STM8L Coin Cell SW on github
Sensor Tag Development Environment
- STM8L + PCB (x10 / 10) + nRF24L01+ : ~ $4 if you're unlucky
- STLink-v2 debugger : ~ $2 you being generous with the seller
- Professional IDE with breakpoints stepping without restrictions (for the full flash size which is already 8 KB covered completely by the demo) => FREE !
IoT Software: All of this on your Raspberry pi
- C++ RF Gateway: RF Mesh network to MQTT
- Mosquitto: MQTT Broquer
- Mongodb: Document Database for complex structures data
- InfluxDB: Timeseries Database for simple values over time
- Grafana: Generic exploration of time series data
- React+D3js: Highly customized frontend webapp
- OpenHAB2: forwards connected devices to MQTT (Smart sockets,...)
- NodeRed: Easy High level IoT rules
Grafana Interactive dashboard snapshot
- Follow this Interactive snapshot link
- There you can experience an interactive dashboard showing one day of measures similar to the screenshot below
- Notice the logarithmic display of the light values that show similar curves for different light sensors on different rooms, the passing clouds patterns can be seen in the signal, as well as differentiation between natural and artificial light (sudden change). This is just the beginning as further sensors already deployed bring even the color of the ambient light.
- Installing your own InfluxDB and grafana server would get you the same for your daily real time measures, all of this owned by you, locally on your raspberry pi.
MQTT as a sensors interface for time-series databases
MQTT as a Multi-level interface for Actions
Custom RF : Simplicity Vs Complexity
- With Bluetooth, you need a bigger SW stack (hundreds of kilobytes, while it is few kilobytes here 2~ 3 KB)
- With Bluetooth, you need a more expensive uC or SoC
- With Bluetooth, you cannot customize the protocol to your needs
- With a custom protocol you can have a simple mesh starting from few functions, easy to understand and optimize by yourself
- With a custom protocol you can have a huge amount of sensors, using a specific configuration.
- For simple sensors that do not control anything, no door opening, no light switching, security is not relevant as these sensors are beacon like and do not provide more information than what a neighbor could see out of your window.
- The internet security is handled by the raspberry pi that is beyond the custom RF gateway, so you can access your data safely from all over the world, for example I am using a vpn router, so the security is even beyond the rapsberry pi server's hacking.
rest to be updated soon to the 2.0 Framework