AWS SSM, Ansible et Raspberry Pi via SSH

Dans ce nouveau et premier post de 2024, découvrez comment AWS Systems Manager (SSM) s’intègre de manière utile avec le Raspberry Pi (testé avec 3, zero et 5). Explorez les possibilités de cette combinaison, idéale pour les projets d’informatique personnelle décentralisée. Que vous soyez un passionné du Cloud, un amateur d’IoT ou simplement curieux, cet article vous réserve des surprises ! Ce post sera particulièrement utile pour ceux qui cherchent à accéder facilement à leur Raspberry Pi sans avoir à configurer le port forwarding sur leur box Internet, et ce, pour un coût minime [^pricing]. On utilisera la fonctionnalité Session Manager d’AWS SSM. 🍇 ...

January 15, 2024

Setup a Hotspot Wifi with Ansible into a RaspberryPi 3

This September, RaspberryPi foundation has sold ten (10) Millions of unit. This small computer is amazing, you can setup very quickly several cool IoT projects. Since 2012, I bought all versions (B 256Mo, B 512Mo, B+, 2B, 3B) of RaspberryPi. I am a big fan of this product and you can find into this blog some projects I’ve made on top of this little computer. RaspberryPi version 3 comes with a wifi builtin interface, and this wifi interface can be configured as a Wifi Hotspot. I use it every day at home or at office. Today, I will show you how to configure a Wifi Hotspot with Ansible, which is a powerful automation tool that simplifies configuration management. ...

September 27, 2016

Device IO and i2cdetect implementation

Today, we’re going to implement a quick tool available on the RaspberryPi using Java Device IO API. The i2cdetect utility is a simple I²C device scanner for your RaspberryPi that browses all I²C addresses to find which I²C devices are connected to your board. This tutorial demonstrates how to recompile the Device IO API and implement the i2cdetect functionality in Java, providing a platform-independent way to interact with I²C devices. i2cdetect with the Java Device I/O API implementation - a powerful tool for hardware detection and diagnostics on embedded systems. ...

March 9, 2016

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

Les premiers jours du projet Camel IoT Labs

Aujourd’hui, l’Internet des Objets (IoT) prend une place de plus en plus importante dans l’industrie informatique et au-delà. Des montres connectées Withings, aux Raspberry Pi vendus à plus de 5 millions d’unités, en passant par les cartes Arduino à bas coût et autres modules Tessel, la baisse du coût de production des objets électroniques a permis une large diffusion de ces nouvelles technologies. En 2012, les premiers Raspberry Pi sont lancés sur le marché, et j’en ai immédiatement acquis un. Depuis, j’ai collectionné presque tous les modèles : B rev1, B rev2, B+ et B2 ;-). J’ai également repris mon fer à souder, comme à l’époque du lycée. Mais contrairement à cette époque où l’on disposait de peu de ressources internet, peu de standards et peu de matériel, aujourd’hui nous avons presque tout à notre disposition. Il ne reste plus qu’à assembler des briques physiques avec des briques logicielles plus ou moins évoluées. ...

April 25, 2015