Rich's Wordpress

又一个WordPress站点

Month: February 2024

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 […]

Analogue to Digital Converter (ADC)

The function of the ADC is to convert analogue signals into digital signals. Since computers can ultimately only recognise binary numbers, external analogue signals are often converted by the ADC into digital information that it can recognise. In Raspberry PI, a common application is to convert a changing voltage into a digital signal. Raspberry Pi […]

Buzzer Follow-up

I thought about it for a few days and decided that although I could control the sound of the buzzer, it wasn’t good enough. I remembered that when the alarm is set off in the general movie, there is not only the alarm sounds but also the red light flashes at the same time, so […]

Scroll to top