Category: Embedded Development

New SWD Adapter

First draft of a new SWD adapter designed to be installed/removed while the Hat is inside the stack. SWD on this will work even if you miss a row while connecting because Reset is pushed to 3.3V and all other signals are duplicated on both rows.I will make another using ST-Link V2 connector directly. Currently…

Read the full article

USB on STM32

J7 above is the USB connector on my Hat’s and 44/45 at right is the connection to the MCU. This is all you need to do to have a working USB connected to an STM32. Software is even easier if you just want a serial port. You just install STM32 Virtual Serial port driver for…

Read the full article

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