Tag: Raspberry Pi
-
How to resize Linux MD RAID array?
Linux MD, also known as the Multiple Device , is a software RAID (Redundant Array of Independent Disks) system used in Linux. It allows you to create virtual devices by combining multiple physical devices, such as hard drives or partitions, into a single array. This array can provide redundancy, improve performance, or both, depending on…
-
How to put drives to sleep in OpenMediaVault?
By default, OpenMediaVault NAS software will prioritize performance over power consumption and noise levels of disk drives. It makes sense when running heavily loaded NAS, but for home usage it’s an overkill. If my NAS is used only a few times a day, it makes no sense to keep HDDs spinning all the time. Luckily,…
-
How to update the Raspberry Pi bootloader firmware
Raspberry Pi needs a special software to work. Yes, operating system in important, but bootloader firmware is even more important. Without it, RPi would not be able to boot or support external devices. From time to time, it’s worth to update the bootloader firmware to get new functions and fix bugs. This article is a…
-
How to run Home Assistant in Kubernetes
There is almost nothing better than running your smart home on your own server! And it’s hard to find better smart home system than Home Assistant itself. I used to run my instance of Home Assistan on a QEMU virtual machine inside old rack server (Dell R620 with intel Xenon E5-E2630L, 64GB RAM and 10TB…
-
How to add and remove host from a Microceph cluster
What is Microceph and Ceph Ceph is a highly scalable, open-source distributed storage platform. It supports object, block, and file storage, and is designed for large-scale, enterprise-level environments. Ceph provides robust features for redundancy, fault tolerance, and scalability, making it suitable for complex and demanding storage needs. MicroCeph is a lightweight deployment and management tool…
-
How to add swap to Raspberry Pi
By default, Raspberry Pi Linux images come without swap enabled. And it makes sense! SD Cards used as a default are not suited to be used with swap! They would wear out too fast and in general, would not improve performance that much. However, with new generations of Raspberry Pi, where you can install operating…
-
VirtualWire support for Raspberry Pi
FS1000A and XY-MK-5V 433MHz RF modules are very often first choice for cheap and dirty Do It Yourself wireless communication. Pair of those , allowing one way radio communication, const less than 3 dollars or euros. So they are really cheap. Limited range and transmission speed limits their real life usage, but simple assembly and…
-
Raspberry Pi: reset external I2C devices (not only I2C)
Electronic, and specially computerized, devices likes to hang from time to time. There are many reasons: software bug, hardware error, voltage drop, interference, too long wire, random incident. I’ve learned this hard way during work on my Raspberry Pi based weather station. From time to time external DTH22 temperature/humidity sensor refused to work. Only solution…
-
Raspberry Pi + MOSFET = High power switch
With all the possibilities, Raspberry Pi requires additional hardware to turn on and off any additional hardware. GPIOs built in power limit is low: 3.3V, 16mA per GPIO, but not more that 50mA total). And while it might be enough to light a small LED, it is not enough for anything else. Forget about motors,…