DS18B20 Temperatuur sensor ========================== https://www.kernel.org/doc/Documentation/w1/w1.generic If you have a w1 bus that never changes (you don't add or remove devices), you can set the module…
This page shows the way to control your lights and other devices in your house by using a simple 433 Mhz transmitter connected to the Raspberry Pi. For more than 10 years I used the WiringPi software from…
To control a relay on Raspberry Pi GPIO use the following Python script. This is using the gpiod library which is supported on all models of the Raspberry Pi! The following script is used to switch a relay for…
If you want to read the status of a GPIO input port use the following Python script. The next Python script is reading the status of the GPIO PIN 22 on a 0/1 value and will print "closed"or "OPEN". I use this…