The blog of a gypsy engineer

Software security, electronics, DIY and traveling.

Sending text commands to STM32 with USART

If you think that your STM32 board feels lonely, you can connect it to your laptop. One of the ways how you can do that is USART. That’s probably the easiest way. For example, let’s say that we want to send text commands from a laptop to STM32 board. One command should turn on an LED, and another one should turn it off. And of course, STM32 should curse us in case of invalid command.

STM32F103, ST-LINK/V2 programmer/debugger and USB-Serial adapter

Read More

A template project for STM32 on Linux

I am a beginner in electronics and programming for microcontrollers, so traditionally I started from driving an LED which is a ‘Hello World!’ project in microcontrollers world. I started with STM32 controller (STM32F103) which is ARM, and I can use C language.
When my LED finally started blinking, I thought it might be useful from me (and hope I can be useful for someone else) if I create a simple re-usable template project. As a result, now there is one more repository on GitHub.
I use Linux, no fancy GUI, sorry.

 

STM32 board, ST-LINK/V2 debugger/programmer

Read More

Spelling error report

The following text will be sent to our editors: