Welcome back! I want to write about a specific challenge that popped up while upgrading my Raspberry Pi setup. Specifically, running the Picamera2 module inside a Docker container on Debian Trixie with Python 3.13. While the library works great natively, combining it with containerization introduces some versioning headaches. The stock Debian repositories often ship older versions of libcamera that lack the necessary Raspberry Pi camera pipeline support. Additionally, there are missing dependencies like the KMS module for Python that aren’t available in standard repos. In this post, I will explain how to configure a custom Docker image to bridge these gaps using system-wide packages and specific environment variables. We’ll cover setting up apt sources, handling library versions, and ensuring the container can actually detect your camera hardware without errors. This setup allows for separation of code while still accessing hardware related stuff.
Continue readingLaser Cut LED Teddy Bear with Raspberry Pi Pico

Today I am sharing a new build project that bridges the gap between woodworking and electronics. While this creation is not directly related to drones or flight controllers, it does utilize microcontrollers in an interesting way. The centerpiece of this project is a laser cut LED Teddy Bear. This piece features LEDs mounted at the back to emit light through a cutout shape made from plywood. It includes additional engraving and finishing touches to enhance the surface appearance. Since this project combines woodworking techniques with electronic design, I will divide the discussion into two main sections.
Continue readingWhy Cable Colors in Electronics Can Be Misleading

Welcome to my next blog post, today a very short piece about cable colors. In electronics, it is crucial to always check the polarization of cables, especially when dealing with power connections. The color coding can often be misleading, leading to potential issues if not verified correctly. I want to write about why standard assumptions do not always hold true in practical applications. This post covers a specific case involving drone camera power supplies where battery depletion during long flights necessitates external power sources. Through micro USB connections on flight controllers, we supply five volts and ground. However, relying solely on color labels can be dangerous. I will demonstrate how unusual configurations exist compared to standard red and black pairings. Always verifying polarity is essential to prevent equipment damage.
Continue readingPower IR LED Module: A Stealthy Solution for Nighttime Observation

In the world of electronics and DIY projects, there’s always a need for innovative solutions that balance functionality with subtlety. One such solution is the Power IR LED Module, a versatile tool designed for applications requiring infrared illumination without disrupting the environment. Whether you’re working on night vision systems, wildlife monitoring, or security applications, this module offers a discreet way to observe without being noticed.
In this blog post, I want to write about the Power IR LED Module–a Kicad-based project that leverages the power of infrared LEDs for stealthy observation. We’ll explore its design, testing, and practical applications, including how it can be chained in parallel for larger projects. Additionally, we’ll discuss the second revision of this module, which introduces improvements like a status LED and photoresistor for adaptive operation.
Continue readingIs HTTPS Really Safe? Unveiling the Risks Behind Secure Connections

The internet has become an integral part of our lives, and with that comes a growing concern about online security. You’ve likely noticed the padlock icon in your browser’s address bar when visiting websites – this signifies an HTTPS connection. But how safe is it really? This blog post delves into what HTTPS is, why it exists, and explores some surprising vulnerabilities that can arise even with seemingly secure connections.
Continue readingAn Unusual STM32 Nucleo Board Short Circuit Mystery

Working with embedded systems often involves troubleshooting unexpected behavior. Recently, I encountered a peculiar situation while using an STM32 Nucleo board that I want to write about. These boards are fantastic for prototyping and experimenting with different ideas, but sometimes things don’t go as planned. In this case, it wasn’t a typical malfunction; the way the short circuit manifested was quite unusual.
Continue readingImplementing Frame Buffer for OSD
Over a year ago, I was describing a project about an On-Screen Display (OSD) based on the RP2040. It was a simple yet effective application that allowed me to display flight telemetry on a screen in real-time. The solution was somewhat limited because it was created out of necessity. I have several RC planes with FPV capabilities. During flights, I wanted information about current position, battery voltage, etc., displayed on the video feedback. All this information was displayed using four lines of text, two at the top and two at the bottom of the screen. Since then, project requirements have evolved, and I needed to add more functionality to keep up with my needs. In the newest update, I’ve focused on enhancing I2C transmission and adding a frame buffer.

Three different frames
Last year, I purchased a carbon fibre drone frame Mark4 for a 7-inch drone. It turned out to be of good quality, so I recently purchased another three frames from different vendors. In the end, I was quite surprised with what I got. Below, some retrospective of these purchases.

Is Raspberry Pi launching an official LoRa module

I have come across something interesting. As you might already know, Raspberry Pi subcontract Raspberry Pi Pico modules to be manufactured by JLC PCB. However, recently they launched the possibility to order assembly of RP2350 chips. These are nowhere to be found. But this is not the “big” thing. I have searched through the JLC PCB catalogue and found that there is a LoRa module produced by Raspberry Pi! Does this mean that in near feature they are going to release this wireless module?
Continue readingSTM32 project remote debugging with VS Code

During my classes at WRUST (Wrocław University of Science and Technology), I teach about Robot Controllers where most of the course related to embedded systems is centred around STM32 ecosystem. For quite some time, STM32CubeIDE software was used there. However, the version that is being used there is quite old (1.4.0). The newer versions of the software offer a lot of new features that are useful during debugging. On the other hand, any newer version than 1.4.0 has issues with remote debugging, which is a core part of RemoteLab. Fortunately enough, there is a good substitution that connects both words: new features and operational robustness. The solution is based on VS Code and uses cmake as a project build tool.
Continue readingRaspberry Pi Pico remote debugging with VS Code

Since I started working with Raspberry Pi Pico, I mostly had it connected to my PC next to me. However, it is possible to configure an environment for remote debugging. There are a couple of things that you need, and of course some configuration of your IDE is needed as well. I will walk you through the main steps that are required to setup everything correctly and start a remote debugging session.
Continue readingRemoteLab can now plot data in real-time

It has been a while since I wrote about RemoteLab. A new semester is approaching at the Wrocław University of Science and Technology and I thought that a long awaited feature should be released. I hope this will improve the user experience while working with RemoteLab. This is a second major update since moving to Django, unifying the status server with the camera server, and of course open sourcing it. Besides real-time plotting, there are some additional updates as well.
Continue readingMini Batch of QuadroCopter controller PCBs

Just wanted to show off my recent production of a mini batch for the QuadroCopter Controller.
Continue readingStreaming images and video using the Raspberry Pi Camera module

Sometimes streaming video might not be as straightforward as it might seem to be. In this blog, I will walk you through some ideas on how to stream video using Raspberry Pi Camera module and some Python libraries. Different techniques focussing around picamera module will be investigated along with some front-end code to facilitate reception via a web browser.
Continue readingRaspberry Pi throughout winter and how to make it warm

During the summertime, I have created and assembled a monitoring station based on Raspberry Pi and Raspberry Pi Camera module. The main purpose of this monitoring station was a video survivable system with some digital outputs to control the lights. The overall device is based on the Raspberry Pi 4 that sits inside a tight casing with the power supply module and the relay module. I do not want to write much about how it was built, but a bit more about how it is being maintained plus how it works during winter when temperatures are starting to go below zero.
Continue reading