About the Grove O₂ gas sensor

For less than 50€, you can get your hands on this tiny and easy to use sensor to monitor O₂ concentration up to 25%. https://www.seeedstudio.com/Grove-Oxygen-Sensor-ME2-O2-2-p-1541.html The problem is, the documentation is really crappy. After hours of searching and testing to find the actual working example…

A service file and a tip for ReSTUNd

I've recently worked on a quite important WebRTC project including live streams, recording, multiroom chat and broadcasting (more on that maybe in following articles), and in the process, I needed a proper STUN server (Session Traversal Utilities for NAT) to be able to ... well, traverse a NAT. A few options…

Isolating I2C slaves

While developing for the IoT2040 from Siemens (see the product page), I was having difficulties with the I2C bus; specifically, some peripherals were slow to respond or somehow buggy and the bus was becoming unresponsive. On this device, the I2C bus is behind an extender, and it seems not very…

Starting with Yocto

I recently got to dive into the embedded Linux build systems world while working on a project where I needed to create a distribution for an embedded device with limited resources. Amongst the different options, I had identified two major tools : Buildroot and Yocto (See this fantastic talk by Alexandre…

HTTPS and no www with Nginx

I have tried to find the most efficient way to redirect all trafic for a specific domain to its https counterpart, and also to redirect to the domain without the www subdomain. I'm using Nginx in production and after combining various different solutions I found, I settled on this simple…