Opublikowano przez Mateusz Salamon, temu

Inexpensive HC-SR04 Ultrasonic Rangefinder

Distance measurement is used in everyday life, for example in parking sensors in cars. For robots, distance sensors help them survive a thicket of obstacles, e.g., so that a drone doesn’t smash its propellers against a pole or a wall. Let’s take a look at a very cheap HC-SR04 ultrasonic rangefinder – how it works and how to use it optimally.

(more…)
Opublikowano przez Mateusz Salamon, temu

Measuring Air Quality with the SDS011

Winter is approaching, so the media will once again be loud about the smog prevailing over Poland. Moreover, the authorities probably have no intention of moving away from coal, so we have to cope with pollution somehow. As a result, air quality sensors have become popular in recent years, and today I’ll be looking at one of them.

(more…)
Opublikowano przez Mateusz Salamon, temu

Addressable WS2812B LEDs on STM32, Part 1

Inevitably, the time is coming when a red truck will roll out of the TV, and at every turn we’ll hear a beautiful song about a broken heart that the community considers the creation of a holiday mood. Yes, Christmas is coming soon and, of course, there are no holidays without

(more…)
Opublikowano przez Mateusz Salamon, temu

The Immortal DS18B20

Ask anywhere which temperature sensor to use and the answer you’ll most often get is DS18B20. Dallas’s chip is extremely popular. You can also buy a waterproof version in stores, which further strengthens its popularity. Obviously, I couldn’t miss this sensor.

(more…)
Opublikowano przez Mateusz Salamon, temu

BMP180, BMP280, BME280 on STM32, Part 2

In the previous post I dealt with the popular pressure and temperature sensor BMP180, which is already going out of production. Today I’ll check its younger brothers – the BMP280, which measures temperature and pressure as well, and the BME280, which can additionally check how humid the…

(more…)
Opublikowano przez Mateusz Salamon, temu

BMP180, BMP280, BME280 on STM32 – Part 1

Environmental parameters such as temperature, atmospheric pressure, and air humidity are undoubtedly the most frequently measured quantities. Every year, a mass of home weather stations is created around the world, decorating the areas around the windows of our houses and

(more…)
Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

16×2 LCD Display with STM32 + HAL, Part 1

A 16×2 character display is probably the most popular form of communication between the microcontroller world and the human world. I decided to make a mini series of three posts that will explain the differences between ways of controlling a 16×2 LCD on STM32. You usually encounter just one method online, which is often sufficient. So why the others? Read on

(more…)
Opublikowano przez Mateusz Salamon, temu

Why STM32?

When choosing to work with ARM microcontrollers, we face the choice of a chip manufacturer. That’s because ARM is a company that “only” designs microprocessor cores and sells licenses for them. Quite an interesting setup, isn’t it? Today, their cores can be found in all the devices we use every day, such as smartphones we can’t live without. Many families

(more…)