Intro Recently I bought Raspberry Pi Zero 2 W for my electric car project: It is very neat board with a good pricing. As I am lazy I didn’t even wanted to connect keyboard and HDMI (or UART) – I just wanted to be able …
Read Morebinding/unbinding usb drivers a.k.a. who stole my hidraw1 device file
Hi! Recently I was playing with using my HID device differently then usual: I used the libusb library. Instead opening a raw file /dev/hidraw1, I used libusb_open_device_with_vid_pid(). Everything was working properly, then it was a time to go back using the hidraw file… but wait: …
Read MoreRaspberry Pi’s serial console
Hi! As I sometimes have odd behavior with my Raspberry Pi (the USB/LAN is stopping working, while the whole raspberry does still work), I had to find out the method to debug this specific problem. Connecting HDMI display and a keyboard in place where I …
Read Morebcm2835_i2c is the new i2c module on RPi kernels
Hello. Yesterday I’ve updated the kernel on my RPi from 4.4.11+ to 4.14.31+. Unfortunately the i2c stopped working despite the module bcm2708_i2c loaded. Trying to add the ds2482 with command: echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device gives ‘no such file or directory’ error. I reported this …
Read MoreRPi: creating a RAM-disk running Linux environment from NFS booted Raspbian
Sometimes you need a very specific use case for your Raspberry Pi. The durability (and speed) of the SD card used in RPi may vary. Because of this I always tend to move Raspbian to an NFS share, and boot via NFS (root over NFS). …
Read MoreMonitoring Voltronic Power Axpert MEX inverter under Linux
I am using the SKYMAX Expert MEX 3K-24 inverter. In fact it is identical with Voltronic Power Axpert MEX 3K-24, it was just rebranded by a Polish company. It is a 24 volts model, so I am using a two 12V 100Ah batteries connected in …
Read MoreDS2438-based 1-Wire humidity sensor
In this post I want to share with you how I did the humidity measurement in my bathroom. Because I already have 1-Wire buses all over my house measuring temperatures (DS18B20), sensing my switches (DS2413) and controlling relays (DS2408), so logical step was to measure …
Read MoreControlling relay board with DS2408 over 1-Wire
I wanted to make my home automation to be cheap. Commercial solutions, like KNX was a way too expensive for me; besides creating own system gives great benefits like better knowledge about how it works, possibility to customize it to my needs (including software) and of …
Read MoreMonitoring DeDietrich from Linux
When my boiler was properly detected and connected and I was sure that I can ‘talk’ to it using the Recom protocol, I had to make the connection permanent and constantly query it from my Raspberry Pi. The boiler has 5V TTL signal level and …
Read MoreRaspberry Pi 1-Wire tests, DS2482-800
Bit bangling When I bought my brand new Raspberry Pi in 2012 (model B, version 2.0 with 512MB of RAM), then I needed a stable 1-wire bus for my home automation. Firstly I was testing it with w1-gpio kernel module which is emulating a 1-wire bus master …
Read More