Author: Jan

AL – Abstraction Layer

The main objective with an Abstraction Layer is to protect user modules from changes between platforms. Code on user level should be portable and plug & play after you done a 10 minute task of soft-wiring. I decided on the name “Abtraction Layer” because HAL (Hardware Abstraction Layer) is missued to much and was not…

Read the full article

Raster Graphics Integer Errors

A common problem with plotting lines in raster graphics is visualization errors as we display the graphics. Most times we can just ignore these, but as I am drawing scrolling real-time plots I also receive the side effect of an integer error. This show a line that due to integer rounding is a straight line…

Read the full article

C# HMI @ 64 FPS

I did a lot of work in C#/Forms a few years back and found it to be a bit to slow for actual usage. It was easy to get fancy UI graphics done, but you instantly started struggling with performance on the screen. I remember using ca 1 month to get the functionality done and…

Read the full article

3KW 3-Phase Outrunner

This pic is of a 6368-190KV while I just received a 6368-280KV – a 3KW Outrunner BLDC w/Hall Sensors that costed me 60.- USD all in all. This will be my 3-phase test motor on the 3KW Motor controllers thought while my controller is max 60V @ 50A these motors have a spec 36V @…

Read the full article

Programmable DDS – Part 2

  This illustrate the main functionality I want to achieve. The DDS can generate waveforms as well as more classic squares, triangles, sinus etc. I would like a signal that can be amplified to +/-20V and given a base offset anywhere within that range. The blue line illustrate a more classic square signal starting at…

Read the full article