Category: Embedded Development

3xCAN – First Prototype Box

I finally assembled my first prototype box using a 3D printed panel. The first change is that the front had to be reduced to 5 x DSUB9 connectors because I needed extra space between them for the connectors in front – even 5 might be ambigious, but we will see then the canles w/connectors arrive.…

Read the full article

C++ CAN Interface

I am waiting on parts for the USB, SD-Card, Ethernet and Modules so the next task I can work on is the CAN interface. The actual barebone CAN interface is autogenerated by STM32CubeIDE in C, so all we need to do is to create a proper IO queue, deal with timing and error handling. Most…

Read the full article

Data Logger

I recently made a Data Logger using a Nucleo-144 board and 16 bit ADC’s – the project works well and I am a bit surpriced over how easy it was to create both electronics, firmware and PC software, so I will attempt an even more advanced Data Logger illustrated below: A functional block diagram over…

Read the full article

BSA – Fork & Join

Fork and Join are part of UML State diagram heritage that I imported into PLD. The example below show a potential usage to take a signal, duplicate it to three threads and wait until they all are finished before you continue. Fork and Join are drawn as bars that can be horisontal or vertical –…

Read the full article

PLC – ADC Readings

One of my concerns on 600V design is how to make ADC readings in the 600V area. I need 3 x Current sensors, 1 x DC Voltage Sensor and 1(2) x Temperature sensors in addition to support for up to 3 resolver sensors as well as an external motor temperature sensor. That sums up to…

Read the full article

STM32H503RB

This MCU started to interest me because it is a low price alternative with a lot of contents. ST’s price is 1.7 USD, but that is 3++ USD through Digikey in low volume. It is a 128Kb Flash version, but it has a promissing build-in Bootloader that I want to experiment with. If you build…

Read the full article

BSA-Bugs, bugs, bugs

Testing and fixing bugs are part of a normal development cycle. I created a diagram of BSA itself for testing and as it re-loaded it looked good. I then moved BSASymbol and got a shock as several of the lines was linked to an invisible ghost symbol. The original lines was from the save, but…

Read the full article

PLC Main Module

The “Main” or Central Computer if you like is basically a large MCU with 3 x CAN ports and 10 x Modul links. It only need a 5V PSU and can be used stand-alone or combined with other modules to form a larger entity. The central computer controls the entire system of both internal and…

Read the full article