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,…
shedboy71
-
-
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-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…
-
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.…