Author: Jan

PLC – G491RE Template

I will be using a few MCU’s to create PLC Modules, so it makes sence to create a template – starting project for each MCU. The most obvious is STM32G491RE. This template contains MCU, CAN, RS485, Crystal, SWD, Leds, FRAM and PSU condenced as tight as possible towards one side. The template might change, but…

Read the full article

PLC – PWM/Motor Module

DRV8313 is an excellent driver circuit containing 3 separate half h-bridges that can be used as separate PWM drivers, a DC Motor driver or 3-phase motor driver. Delivering 3.5A max in peak and supporting upt to 60V it is excellent for 12V, 24V or 48V systems. I have made a small motor driver on this…

Read the full article

PLC – Motherboard

The next module I want to make is the motherboard(s). I want to start with a 2, 4 and 8 module Motherboard. An early demo of a 4-module board is shown above. In this case I have mounted 4 x Ethernet modules – an advanced system will usually have two Ethernets for redundancy, but you…

Read the full article

PLC – Ethernet Front

This prototype have a Wiznet breakout on top and a USB-C on bottom in front. The Wiznet breakout cover the M2 screw holes, so mouting these will be a little tricky, but doable. I will consider pushing the breakout a bit in-I need to alig  RJ45  and  USB-C infront  anyway and that will help.

PLC – Ethernet Module

I have finished schematics, footprints, 3D models and placed the components and this starts to look good. The pictures below are exported directly from KiCAD. The Top layer contains the Ethernet module, MCU, crystals, leds and SWD. Only the 16Mhz crystal and some caps are under the Ethernet module. The bottom contains a USB-C connector,…

Read the full article

KiCAD 6.0.8

KiCAD 6.0.8 is great. Many new improvements. But, also some issues as links to footprints and 3D images are broken. I opened XPortHub2 because I neeeded reference to a coil and found that the RJ45 is missing on the 3D View – easy to fix, but I have seen a few of these. You also…

Read the full article