Rhiot Kura Device IO GPIO and I2C

Recently, a colleague of mine asked me to implement a small demonstration project. I decided to develop a new component for the Rhiot project. This component is the DeviceIO I2C Camel component, which builds upon my previous work on Camel-pi4j that I had already developed for the Rhiot project. In this article, we’ll explore how to use this component within the Kura Platform via the Camel Framework. For this demonstration, we’ll need some hardware devices, specifically a RaspberryPi and an ActiveMQ broker. ...

February 29, 2016

Rhiot over Kura over Docker over RaspberryPi ;-)

During this cool Christmas day, Santa Claus brings us lot of presents (I hope for you too), I received 2 RaspberryPi Zero, Thx you brother ;-). I will show you a cool stuff after this special day. We gonna test how to use Rhiot project into Kura Eclipse Platform running inside Docker container deployed into a real RaspberryPi Zero device (in this order). If you don’t have yet a RaspberryPi (B+, 2 or zero) device you can use my previous post. ...

December 28, 2015

Rhiot Kura Gateway Sample (Emulator & RaspberryPi)

For a while, I have been developing during my free time for the Rhiot project with my Red Hat colleague Henryk. We started by developing several Camel components such as kura, pi4j, and bluetooth with other volunteers. Now we are focusing on developing and integrating these components for the Kura Platform. Kura is an OSGi Platform designed specifically for IoT, capable of running on RaspberryPi, BeagleBone, or Intel Edison devices. The Kura Platform comes with many embedded services tailored for IoT contexts, including GPIO, USB, I2C, Cloud Service, and more. In this post, we will explore: ...

December 3, 2015

RHIoT RaspberryPi Sense-Hat display

Recently, I bought the new official Sense-HAT from RaspberryPi foundation. This HAT (Hardware Attached on Top) add-on for the RaspberryPi device includes lots of cool features and sensors. The Sense-HAT comes with an 8x8 RGB565 pixel display, a Joystick, a Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity sensors. All sensors are i2c compliant, making them easily accessible with the rhiot camel-pi4j component. This makes it very straightforward to retrieve data from all sensors and transmit them to external systems. The Rhiot team has also developed the first implementation of the rhiot camel-framebuffer component, which now enables pushing images directly to the 8x8 pixel screen. Note that the matrix consists of 8x8 RGB565 LEDs (2 bytes per pixel), providing a colorful display despite its small size. ...

November 24, 2015

RHIoT Webcam and websocket components on MacbookPro in Groovy

Yesterday, we’ve played with our MacBook Pro’s webcam. Today, we gonna see how to send images through a websocket directly in this page !!! or via a JavaFx program. We gonna re-use the previous post and integrate camel Websocket component. Let’s play with Groovy language to create a real-time webcam streaming solution. Webcam image to Websocket w/ Rhiot & Camel projects on MacbookPro Let’s start to broadcast yourself. This tutorial will guide you through setting up a webcam stream that can be viewed through a web browser or a JavaFX application. ...

October 23, 2015

RHIoT 0.1.2 Webcam component on MacOS X in Groovy

My tech leader on RHIoT project (ex-camellabs) Henryk had just release the last version of RHIoT project : 0.1.2. Lot of new stuffs are included in this new release, more details available here. I found in list a cool stuff to test. We gonna check if our new commiter @levackt from ZA worked well ;-) Webcam camel component on Mac OSX with Groovy language Let’s start to broadcast yourself. Requisites Have a mac tested MacBook Pro Retina, 13-inch, Mid 2014 Groovy Mac port installed Groovy Version: 2.4.4 JVM: 1.8.0_45 Vendor: Oracle Corporation OS: Mac OS X Program We gonna use Groovy language for this simple example. Groovy provides a concise and expressive syntax that makes it perfect for quickly testing new components like this webcam integration. ...

October 22, 2015