Category: Projects

BSA Progressing

This first picture show a UML State Diagram. I promissed to focus on HMI, but I fancied adding the symbols before I hide these diagrams in the first version. This second picture show a Plain Logic Diagram. I will walk through the interaction between the diagrams and their usage later. As you can see it…

Read the full article

BSA – HMI Designer

Qt/QML lack an image designer, but I found that using good, old MSPaint worked out well. I have added tools to support various modeling techniques, but will focus on HMI design and automation in this first version. It is a graphical GUI designer included in Qt, but good luck getting something out of that. This…

Read the full article

HMI Design – Backend

This figure show a key principle in modern HMI design. I have only illustrated 2 input signals, but the principle is the same regardless of what signal or what hardware you use. Using a analogue signal as an example you collect that from a sensor or ADC channel. The signal will then be normalized and…

Read the full article

HMI Designer

My previous entry talked about coding in QML. I am still on the learning path here, but I am slowly finding my way into QML. It is a steep learning curve, but once you start master the technology it also get easier and the graphical result is the best I have seen so far. It…

Read the full article

QtCreator 4.12

This is Qt Creator 4.12. I have worked with Visual Studio for many years, so every IDE get compared to VS. QtCreator does the job as an editor, but it suck as a debugger. Even STM32CubeIDE that uses the same GDB is far better that Qt Debugger. And working with QML you might want to…

Read the full article

Qt/C#/QML Dark Theme

This demo is made in Qt using 2D raster graphics and works very well, but performance drops as I start adding animation effects into the screen.  Performance was the reason I wanted to try out C#/.NET 4.6.2 and newer which also is much easier to work with than Qt. Performance is different in the later…

Read the full article

Qt/QML as HMI

I did an attempt of using the 2D raster engine in Qt and while the graphical result was stunning I had to face the fact that performance was not. I moved back to C#/.NET because performance there was better after .NET 4.6.2. With C# I can do 10 x line plots at 40ich frames per…

Read the full article

Automotive Control System

The wheels above are cool, specially since they can carry a lot of weight. But, the motors are 2 x 2.5KW and the belt driven design is very open making it easy to be contaminated. The powerfully motors are more designed for speed than for driving slowly, but I will optimize that later. Position system…

Read the full article

XPortHub – Galvanic Isolated CAN Ports

The plan is to use two separate CAN Networks on my Lawn Mover – one network for motors, and one network for everything else – both using CAN HS at 1Mbps. To do this I consider upgrading XportHub. This picture show XPortHub2 w/2 CAN Ports. ISO1042 is an isolated CAN tranceiver in a SOIC8 a…

Read the full article