Opublikowano przez Mateusz Salamon, temu

You can have a heart attack copying projects in STM32CubeIDE!

Many beginners, when they want to introduce some test changes in their project, don’t always use Git. Sometimes there’s also a real need to clone a project in order to develop it completely separately. First thought? Copy-Paste. It’s not a bad solution, but when using CubeIDE we’ll discover that there’s quite a big problem with it.

(more…)
Opublikowano przez Mateusz Salamon, temu

How to get started with STM32?

Everyone starts with something at some point. Since you’re here you’d probably like to start your adventure with STM32 microcontrollers. I also once wanted to. Nowadays, we look for our first help on the Internet. That’s why this blog post was created. (more…)

Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

How to Prepare an Image for an LCD or TFT Display?

When working with various graphic displays, you will almost certainly reach a moment when you need some graphics to display. After all, that’s why we pick such a display—to show some icons or other bitmaps on it. Alright, but can we just drop a BMP or JPEG file into our microcontroller? Well, no! So how do we deal with such graphics? What should we use? I’ll show you right away 🙂

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

Happy Birthday to you! The second year of msalamon.pl! + CONTEST

Two years of me running this blog have just passed! Sometimes it’s hard for me to believe that I’ve already been working on it for so long, and yet it’s still only the beginning. Around the same time, my store also has its anniversary. True, I officially opened it in June, but I’m going to count it as part of the joint celebration 🙂 Just like a year ago, I invite you to a short summary.

(more…)
Opublikowano przez Mateusz Salamon, temu

Radio communication using nRF24L01+ modules, part 3

So far I’ve shown you how to use nRF24L01 with polling and I’ve already started doing something with interrupts. More precisely, I used the data-receive interrupt so that incoming data is read from the chip instead of constantly polling the chip to see whether something has arrived. It may not seem like much, but it was still some wasted time on communicating with the chip. What if we used the full potential of interrupts?

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

Radio communication using nRF24L01+ modules, part 2

In the previous post I showed you the simplest way to communicate between two Nucleo boards using the nRF24L01+. For sending and receiving data I used the simplest method, i.e. polling. While checking whether something arrived didn’t do much harm because I only read a single register in the chip, when transmitting I waited in vain until the transfer finished. On top of that, fixed-length data packets were being sent and received. This time I’ll show you how to send data of different lengths and how to receive messages in interrupt mode

(more…)