Category: Educational

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

GX16 KiCAD 3D and Footprint

I will upload these packages on github (here) because it is 2 days wasted work having to draw them and I depend on others publishing their 3D packages myself. Just be aware that these are Beta – their accuracy is subject for testing.  I will draw the last five as I get them. Have fun.…

Read the full article

GX16 Connectors

I fancied using GX16 connectors in a project since they are low cost, robust and can be made water proof. I found 2,3,4,5,6,7,8,9,10 and 12 pin versions with bend pins so they can be mounted directly on a PCB and fixed to a panel. But, what I did not find was 3D models for KiCAD,…

Read the full article

BSA – Styling Native Controls

It is two controls with an identical border on the picture above. The button display the border correctly, while the ComboBox do not display the border at all. It does have a BorderBrush that I set, but it has no effect. This is quite common with build in native controls – it might be a…

Read the full article

BSA – Code Generator Results

And this is the result of the code generator. In C++ and C# you can use inheritance – simply use a base class for symbols, autogenerate a HMIButton_base and then create the final HMIButton manually – this is a nice way to allow autogenerated code while you still have the full manual control. C# have…

Read the full article

BSA – Assisting Code Generator in place

This example is the property list for Button. This is just an early draft, but as I added more properties to Button yesteday I realized that this would take some time with the number of components involved as every property require a bi of coding. So using a CSV file allow me to use Excel…

Read the full article