Opublikowano przez Mateusz Salamon, temu

Interrupt-driven handling of the VL53L0X laser sensor

In the last article I described the adventures related to the original API provided for the laser distance sensor VL53L0X. I got to the point where I managed to run a single measurement. However, I’d like to relieve the microcontroller a bit so it doesn’t have to wait so long for the measurement to finish. The sensor has an interrupt output pin, so why not use it?

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

STM32CubeIDE, the official IDE for STM32

It’s been a while since I put together the list of eight best IDEs for STM32. At the time of writing that article, no one publicly knew what was about to happen. ST acquired Atollic, taking over their STM32 IDE, TrueStudio. As a result of these events we finally have something “made” by ST, namely STM32CubeIDE. So let’s see what they have to offer.

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

ADC on STM32 in Several Ways – Joystick

Microcontroller projects often need to measure analog signals. Unfortunately, they themselves only understand digital sequences that can take only two states. Most often, these are the ground and supply levels. To measure an analog value, you need to use an analog-to-digital converter — ADC for short. Practically every modern microcontroller is equipped with such a converter. STM32, of course, too.

(more…)
Opublikowano przez Mateusz Salamon, temu

GPS positioning using the NEO-6M V2 on an STM32

Can you imagine life without navigation? I, for one, can’t. Location devices are, for me, one of the best inventions. All the more so because we have them in our pockets. We can also add a GPS receiver to our electronic projects. See how simple it is!

(more…)
Opublikowano przez Mateusz Salamon, temu

Further struggles with RTC – DS1307 and PCF8563 on STM32

Recently I focused my attention on the insanely accurate RTC DS3231. It does not require an external crystal and additionally has built-in temperature compensation. However, there are plenty of other real-time clocks on the market. They don’t necessarily boast about being accurate. Let’s take a closer look at what they offer and how to deal with them.

(more…)