Category Archives: Anything

Unsorted stuff. Regular blog posts.

ARM:0018 STM32CubeMX hack – printer class device

This article is about printer class device for STM32F103 and STM32CubeMX. Somehow there is NO printer device class example in whole internet. There ar CDC or HID examples copied from same STM32CubeMX example with minimal explanation, few of mass storage … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment

Cutting PCB panels for new universal STM board

I’ve noticed, that Chinese made “Blue Pill” PCB has fake chips. Some chips are with smaller ROM and RAM size, some chips behaves a bit strange. Also, several mine projects are getting bigger and bigger. Recently, I acquired several bigger … Continue reading

Posted in Anything | Tagged , | 1 Comment

Crazy ’80s – computer design with style

When I hear somebody talking that Apple is the pioneer in the computer design, I always want to show photo of Atari XL series: These ones are not the all, they are only ones from my personal collection. Remember, it … Continue reading

Posted in Anything | Tagged , | Leave a comment

Capacitive soil moisture sensor – designed by retarded

There is a cheap, made in China product called “capacitive soil moisture sensor”. Some black PCB with few components and no coating: There are lots of “duino” projects for this sensor. But there are lots of comments about this sensor … Continue reading

Posted in Anything, Vandalising | Tagged , | 1 Comment

ARM:0017 – go to sleep clock

This is a “gamers” clock. It sits near the monitor and shows the real time and time computer is on. This is achieved using USB as power supply. Also, the same USB port is used to set the clock. Battery … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment

ARM:0016 STM32CubeMX – problems with RTC

This is a very short message about proper initialization of RTC (real time clock). There is one trick designed in HAL and in several internet resources it is wrongly described. Proper RTC init: Find “MX_RTC_Init(void)“, scroll to “USER CODE BEGIN … Continue reading

Posted in Anything, MCU | Tagged , , | Leave a comment

ARM:0015 STM32CubeMX screen libraries, part 2

Continued from Part 1. There are lots of different LCD or OLED screens in the market. Typically, it is possible to define 3 types of screens according to interface type: I2C, SPI and parallel data bus. There are also analog … Continue reading

Posted in Anything, MCU | Tagged , , | Leave a comment

ARM:0014 STM32CubeMX libraries for sensors and screens

In fact, any new program written for MCU is only copy-paste from older projects. Not real copy paste, but using the same libraries and subroutines. For some upcoming bigger project, I decided to use STM32 microcontroller, this means, I need … Continue reading

Posted in Advert, Anything, MCU | Tagged , , | Leave a comment

ARM:0013 STM32CubeMX – USB HID keyboard

Now we will build a USB keyboard. This project is based on STM32CubeMX canned example, HID mouse (see previous article). But we will change mouse to keyboard. Both devices are from the same HID class. First we need to change … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment

ARM:0012 STM32CubeMX – USB HID mouse

Next canned project for STM32F103 MCU using the cube- USB HID mouse. HID (human interface device) means it is the standard device compatible with all computers with USB ports. STM32CubeMX has all device descriptors and init procedures already built in. … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment