In this article, we connect an KY-031 Knock Sensor to a Raspberry Pi 4 When the KY-031 sensor is subjected to a knock or vibration, the two output pins are short-circuited. We will use Python for the example The sensor looks like this Parts Required…
Code
-
-
In this article, we connect an KY-034 7 color flashing LED to a Raspberry Pi 4 The KY-034 7 color flashing LED module can emit a color sequence from the LED when power is supplied to it. The LED has 7 different colors and thus…
-
In this example we take a look at the TLV493D magnetic sensor to a Raspberry Pi 4 Description The 3D magnetic sensor TLV493D offers accurate three-dimensional sensing with extremely low power consumption in a small 6-pin package. With its magnetic field detection in x,…
-
In this example we take a look at the SHT40 Digital Humidity Sensor to a Raspberry Pi 4 This is the next generation of the SHT sensors series, we have had articles for other SHTXX sensors and now we move on to the 4th generation…
-
In this example we take a look at the DPS310 barometric pressure sensor from Infineon to a Raspberry Pi 4 Description The pressure sensor element is based on a capacitive sensing principle which guarantees high precision during temperature changes. The small package makes the DPS310…
-
In this article we will display a digital clock using a Pico Scroll Pack Getting started The labels on the underside of Pico Scroll Pack will show you which way round to plug it into your Pico – just match up the USB port…