• STM32F042 option bytes under Linux

    These are instructions that worked for me when faced with a problem of modifying option bytes in stm32f042. The thing I was trying to do was to turn off BOOT0 pin support (PB8 in my chip) which then would eliminate the need to pull it. Then I could use this pin for something else, for example as a CANbus canRx input.

    Read on →

  • STM32 on Ubuntu Linux step by step

    This is a step by step tutorial on using STM32 (stm32f407vg to be precise) under Linux (Ubuntu 18.10) and other tools (QtCreator and CMake) that I use in my everyday work. In this article we will compile simple LED blinking program and run it on the STM32F4-DISCOVERY. There may be easier ways of accomplishing this though. Paragraph titles ending with an asterisk are optional.

    Read on →

  • BlueNRG-2-Android. Source code troubleshooting, bonding, and privacy

    The objective of the firmware presented in this article is to provide an example which would implement the following functionality:

    Read on →

  • Self balancing robot improvements

    I was dissatisfied with robot’s performance, so I experimented a lot with various aspects to improve it. But along the way, the robot, however simple in concept, proved to be a pretty complex system which depends on many factors that I didn’t anticipate. This variety of factors which altogether influence its movements make it very difficult to troubleshoot problems. So, now I’ll try to recall my adventures with it in order. Oh, and my objective (best case scenario) is to make it stable to the point it stands completely still. This is what I found the most difficult.

    Read on →

  • Self balancing robot first tests

    I have built a self-balancing robot, and here I want to post some notes regarding problems that I encountered. It was (as usual) more difficult than I anticipated, but I guess every hacker know this feeling.

    Read on →