Opublikowano przez Mateusz Salamon, temu

IDE or Not IDE – The 8 Best IDEs for STM32

Many beginners puzzle over what the best IDE for STM32 is. On the Internet, as is always the case, opinions are divided. Some will recommend an all-in-one tool costing thousands of dollars “because it’s the best and the others are junk.” Others will say that an IDE is an unnecessary tool and will send you to Notepad or something only slightly more advanced. There’s also a split between supporters of free and paid IDEs. So which is the best IDE for STM32? The answer isn’t simple… but

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

Examining the book “STM32 Microcontrollers for Beginners”

Some time ago, an interesting book “STM32 Microcontrollers for Beginners” from BTC Publishing appeared on the market. To my knowledge, this is the first widely released book that fully relies on the HAL libraries and is aimed at those who want to start their adventure with our favorite microcontrollers. For that reason, I was very curious to see what the author had to say.

(more…)
Opublikowano przez Mateusz Salamon, temu

6 Degrees of Freedom with the MPU6050 on STM32

I remember when the Nokia N95 hit the market, which was a huge technological leap. It had a built-in accelerometer thanks to which, among other things, the interface would change orientation by itself. Today this probably doesn’t impress anyone anymore, but in 2007 an app with lightsaber sounds triggered by

(more…)
Opublikowano przez Mateusz Salamon, temu

SSD1306 OLED Displays: I2C or SPI?

Many people rave about the beauty of OLED displays because there’s something amazing about them. Infinite contrast and high refresh rate are incredible advantages of this technology. On the market you can find plenty of tiny monochrome OLEDs in sizes from about 0.49″ up to roughly 4″. Their price has dropped significantly in recent years, making them wildly popular. Let’s see how to tame an SSD1306 OLED using an STM32!

(more…)
Opublikowano przez Mateusz Salamon, temu

Measuring Light Intensity Using STM32

Measuring light intensity is common in our everyday life. Probably everyone has an auto dimming/brightening screen feature in their smartphone. It is based precisely on measuring the light intensity around the device. The measurement is performed continuously while the phone is unlocked. Today I will focus on how we can Read more

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 3

We have reached the end of the series on WS2812B addressable LEDs. At least for now. In this part, I will discuss splitting an LED strip into fully configurable and independent segments. This means that each segment can operate in a different mode, at a different speed, and have a different length. This gives huge possibilities to tailor it to your needs. Let’s go!

(more…)
Opublikowano przez Mateusz Salamon, temu