Rich's Wordpress

又一个WordPress站点

Raspberry Pi

Camera (Taking Photo)

The purpose of this is to realize the basic function of taking photos by programming and applying the camera module. Basic information about this camera: Number of Pixels Five million Resolution 2592×1944  Size 25 x 24 x 9 mm  How to install the camera on the the Raspberry Pi? The installation of the Raspberry PI […]

Ultrasonic Sensor (HC-SR04)

An ultrasonic sensor is a sensor that measures distance. The idea is to utilize the property of sound waves of reflection to receive the reflected signal upon striking obstructions, and then use the speed at which the waves travel through the air to calculate distance. There are four pins on the sensor they are for 5V Supply, […]

PIR (Passive Infra-Red Sensor)

It is very common to use human body detecting sensors – the infrared sensors in indoor security applications. The principle is that the detection element will detect the infrared radiation of the human body, and convert it into a weak voltage signal, which is amplified and output. In order to improve the detection sensitivity of […]

Humidity Sensor

Temperature and humidity are also very common indicators in our daily lives, and I used the DHT11 digital temperature and humidity sensors on my Raspberry Pi. This is the wiring diagram of the DHT11 on the PiHAT, and we can see that the DHT11 is connected to pin 19 of the Raspberry PI, which can […]

Temperature Sensor

DS18B20 is a commonly used digital temperature sensor, its output is a digital signal, small size, strong anti-interference ability, and high precision. It can measures temperatures from -55°C to +125°C (-67°F to +257°F) with an accuracy of ±0.5°C GND: Ground DQ: Data input and output VDD: Digital power supply The Raspberry PI is connected to […]

System information display

Raspberry PI has many models, memory and their own SD card capacity is not the same, so we can create a Raspberry PI system display system, the Raspberry PI CPU temperature, CPU usage, memory, hard disk (SD card) capacity and IP address information through OLED display, especially IP address, In this way, we can know […]

Digital Timer

This time I decided to make a timer that does the same job as the one we use on our phone or a stopwatch. As we all know, we can press two buttons: one controls the start and stop of the count, and the other resets the timer. I’ve split it into two parts, firstly […]

Digital Clock

Now that I can use OLED to display text, I have an idea for an electronic clock. I can get real-time time data by calling the time library, and then print the hours, minutes and seconds on the OLED. The DateTime library is needed, it allows me to get information about dates and times. Here […]

Applying OLED

In my previous two blogs, I learned about using ADC to detect the voltage across a variable resistor and using OLED to display some messages. So, I came up with the idea of displaying the detected voltage using the OLED. Flow Chart: The process is very similar to the previous one, the only difference is […]

OLED

OLED short for Organic Light-Emitting Diode – a technology that uses LEDs in which the light is produced by organic molecules. It is a solid-state device consisting of a thin, carbon-based semiconductor layer that emits light when electricity is applied by adjacent electrodes. The characteristic of OLED is that it can emit light by itself, so […]

Scroll to top