Author: Jan

PLC – CAN Hub

I designed a PLC with 3 x CAN ports earlier using M12 connectors and decided that I wanted a version that could be used on my desk or in a cabinet without the extra M12/Waterproof fuzz. It is the same design with a few tweaks: 3 x CAN ports on the motherboard Two motherboards or…

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

PLC – H503CB Base Module

This mornings catch… Made a new STM32H503CB base module. Swapped in STM32H503CB, a new 10 point 1.25 connector, my old SWD connector and a smaller SPI Flash. I also reversed 0402 trancient capacitors back to 0603 packages for now – I will reconsider moving to 0402 as I get the P&P working. The Molex 10p…

Read the full article

Mobile PLC – New Module Design

This is a PowerPoint mock-up. I just soldered om the PLCDCMotor board and im considering to keep the board as is with a less changes than I planned – the TTL connector at left can be used as is with a short 1:1 cable to a small board that convert the board to a stand-alone…

Read the full article

STM32H503CB

STM32H503CB is fastly turning into my favorite MCU for three reasons – it is fast, it is low cost and it has en extremely good IO routing system. It’s only drawback is 128Kb Flash and 32Kb SRAM, but it exist other MCU’s in the same series with more (that also cost more). That said it…

Read the full article

Desktop PLC

This is a 4 x PWM or 2 x DC or 1 x Stepper motor driver. I have these boards already so I will solder one up for test later, but I will also design a new board with a few differences. MCU used here is a STM32G491Cx – these are good, but expensive so…

Read the full article

ECU

This ECU box is sold on Aliexpress for ca 30.- USD and include the connector. On my M12 design I was stuck with expensive M12 connectors, so this offers a cheaper way to get a waterproof, shielded box.   The motherboard and daughteboards below are designed so it contains PSU, Ethernet, 2 x CAN, main…

Read the full article

Mobile PLC

I received this board earlier and it was straight up with a few notes (See below picture). #1 MCU worked fine. I had issues with too old soldier paste, but got some new paste and it was ok. I did try stensils this time – it kind-of worked, but my main problem is that I…

Read the full article

BSA – Class vs Diagram

The following diagram is an example of a Class and an associated Diagram – see text below picture: In BSA a Class and a Diagram can be the same as they can precent different aspects of the same object. A Class itself is only an overview of an object, but a Class Diagram adds inheritance…

Read the full article