In this article, we connect an KY-012 active piezo buzzer to a Raspberry Pi 4 We will use Python for the example The KY-012 active piezo buzzer is a 3-pin module that creates an audible sound at 2.5 kHz without the need for pulse width modulation.…
-
-
In this article, we connect an KY-020 Tilt switch to a Raspberry Pi 4 When the KY-020 Tilt switch depending on the inclination, a switch closes the input pins briefly. This happens due to the fact that a ball inside the switch short-circuits the contacts,…
-
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…
-
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 article, we connect an KY-029 Dual Color LED to a Raspberry Pi 4 The KY-029 Dual Color LED module can emit red and green light. You can adjust the intensity of each color using a Python pwm pin or simply switch the LED…
-
Uptime is a command that returns information about how long your system has been running together with the current time, number of users with running sessions, and the system load averages for the past 1, 5, and 15 minutes. It can also filter the information…
-
hwinfo is a command line tool that can be used to get details about various hardware components on a system. It provides information about CPU, RAM, disks, network interfaces, USB controllers, etc. hwinfo was developed for openSUSE but lately was adapted for other Linux distributions…
-
cpufetch is a command line tool which shows a variety of CPU information such as processor name, microarchitecture, number of cores, etc. This tutorial explains how to install cpufetch on Raspberry Pi. Install cpufetch Use SSH to connect to Raspberry Pi. Download cpufetch binary from…
-
lshw is a command line tool that displays detailed information about hardware components on a system. This tool can display details about CPU, RAM, network interfaces, USB controllers, and much more. This tutorial explains how to install lshw on Raspberry Pi and run some commands.…
-
You can get Raspberry Pi OS in either a 32-bit and 64-bit architecture. When you install applications, it can be important to know whether the operating system is 32-bit or 64-bit. This quick guide shows how to check whether Raspberry Pi OS is 32-bit or…