Category: Embedded Development

Multiple ST-Links

SW4STM32 allows you to maintain multiple projects and have multiple ST-Links active at once. This is a welcome feature as I now need to program several at once to get backbone SPI working. I finally got the 10x USB cables, so everything is set up and working. This also means that I start using SW4STM32…

Read the full article

CHM-T48VB

Reading up on these machines I find a lot of praises about this series. I really like this machine with 58 feeders, but it will cost me close to 6000.- USD before I have it in Norway. The reviews are all good. The main comment is on camera lighting. It can detect 0603 components, but…

Read the full article

Changing the blog

I don’t have the answer to this riddle yet, but I am searching for a more structured way of doing this blog that don’t involve myself digging into web development. I simply don’t have the time (or skills), so I am depending on either someone else assisting or finding a plug & play solution. At…

Read the full article

Programmable DC/DC

One of the ideas I am playing around with is to make my own programmable DC/DC PSU based on a MCU. The technique is very similar to a driver channel on a motor by generating a PWM signal. To get a DC out you add filter(s). If you have 48V and 50% PWM duty the…

Read the full article

Motor Controllers

These are the 4 different motor drivers I have made so far. The smallest (at left) is capable of 24V @2A. It uses DRV10983 and one of the smallest STM32’s. I got it working, but I had some trouble controlling the logic to behave. The second one uses a DRV8313 that basically is 3 x…

Read the full article

Unipolar Stepper Logic

This is the diagram of an Unipolar Stepper Motor with the 5-wire connector at right. The most used Unipolar stepper is the 28BYJ-48-5V pictured below and this is the target of my 7x5WStepper Hat. This is a high quality/low cost stepper available for < 2.-USD. I purchased one for test and was quite take by…

Read the full article

HAL

All MCU vendors will deliver some C code they call “HAL”, while I call that Low Level Drivers (or BSP – Board Support Package) and implement my own HAL (Hardware Abstraction Layer). A proper HAL need to abstract from hardware and secure portability of code. But, most important is that I want to write source…

Read the full article

Auto Generated Doc

I use CubeMX to verify the wiring of my Boards and one of the features I like is that it auto-generate a report like the one below. Just click on the link and you can see the full report of the 7xStepper Hat. 7x5WStepper This is basically information that is very handy to have available…

Read the full article

MCU Tester

My STM32 Tester finally arrived, and 12 rejected MCU’s which is ca 40% of all STM32F405’s I had is the result. The sent me a different tester than I ordered, but it did the trick. One MCU broke under testing as well. 10 x STM32F405RG cost va 45.- USD from China and ca 90.- USD…

Read the full article