Reactive Blocks IoT Training at FFI

anne Events

IoT provides new opportunities in the defence sector and last week we spend two days training employees from the Norwegian Defence Research Establishment (FFI). Our IoT training is a hands-on course where participants use Raspberry Pi, Z-Wave sensors, cameras, CoAP and MQTT, and learn the power of Reactive Blocks programming.

Screen Shot 2016-07-05 at 12.26.39
We chose Z-Wave sensors to provide a hardware framework for the course which just ‘works out of the box’ without additional manual wiring needed. Using a USB Z-Wave controller enabled us to freely move between the participants computers and the provided Raspberry Pi 3. The sensors used during the course include a door sensor and a motion detector with temperature sensor. Each group of USB controller and the two sensors were pre-paired for a team.
The exercises during the first day were run on the participants computer which was used for the development. Using the Z-Wave USB controller required installing the drivers as well as extracting the OpenZWave/zwave4j device database into the user folder (c:\Users\USER\ozw_config).
The second day focused on the development of a more complex application, based on the blocks created during the first day. This time, each team used a pre-configured Raspberry Pi 3 to which the applications were deployed. The Pi was configured with a Raspbian Jessie lite with Oracle Java 8 installed. In order to make the wireless network more robust against dropped connections, we installed the cron script ‘WiFi_Check‘. This script is run periodically and tries to re-establish a network connection as soon as it detects a problem. Because the USB-Controller was recognised as a serial port (/dev/ttyACM?) right away, there was no need to install drivers. We just needed to copy over the device database to the user folder (/home/pi/.ozw_config) using WinSCP.
After transferring an exported application runnable-jar-file to the pi as well, it was a simple matter of executing it via a remote putty shell: ‘java -jar app.jar‘.

IMG_1207 IMG_1214 IMG_1216

High engagement factor and lots of time to test and experiment speed up the learning curve. Participants walk away with skills required to build complex IoT applications. This is a course for software architects, developers and system integrators that want a quick way to get up to speed on data collection, local processing and IoT programming.  We offer on-site and classroom courses. For questions and booking contact anne@bitreactive.com.