Home automation with rpi-rf_send and rpi-rf_receive for 433MHz rc switches

So far, i’ve used the Python module pi-switch for controlling rc switches, but it is no longer maintained. rpi-rf is a very viable alternative. In this tutorial, you’ll use a 433MHz receiver with rpi-rf_receive for decoding the switching code for a common rc switch, then trigger that switch with a 433MHz sender and rpi-rf_send. Continue Reading


Reading an analog potentiometer with the A/D converter MCP3008 and SPI


An analog potentiometer is a manually adjustable resistor and part of many electronic circuits, e.g. speakers for volume control. For the Raspberry Pi, potentiometers are great to change a device behaviour with no screen attached. For example, the speed of a robot could be modified by the user with a potentiometer. Sadly, the Raspberry Pi does not have an analog input; that’s why an Analog-Digital-Converter (ADC) like the MCP3008 used herein is necessary. Continue Reading