Skip to the content
2 layers40 × 45 mmVfd rat king, the printed circuit board in 3D

A VFD control board for RatRig's Rodent Board

Size
40 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
25
Pads
58
Tracks, vias
91, 2
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Jan 2025
Updated
8 Jan 2025

Overview

Vfd rat king is an open-source printed circuit board by jrlomas, from the jrlomas/vfd-rat-king repository on GitHub. It is a 2-layer board of 40 × 45 mm with 13 parts on 25 nets, routed with 91 tracks and 2 vias.

It is built around the CD74HC4050EG4 and ILQ615-3. Its parts include 4 resistors, 2 ICs, 2 connectors and 1 capacitor. It belongs with the lEDs and displays boards of this library.

Main components

2

README

README.md

VFDRatKing

vfd-rat-king

Introduction

Welcome to the VFDRatKing project! This custom-designed board is your solution for safely controlling your CNC spindle via a VFD using the Rodent Board by RatRig. Why, you ask? Because the RS485 implementation in FluidNC is as dependable as a wet napkin in a rainstorm. Seriously, when the Rodent loses connection, the spindle doesn't stop. That's a bit "iffy," wouldn't you say?

But that's not all! If you were trying to use the built-in relay in your VFD to control air, mist, or a water pump while hardwiring DCOM to FOR (Forward), you're probably having a bad time. This board is here to save the day by properly isolating signals and giving you precise control without these headaches. Designed by knight_rad.iant on Discord, this project brings a practical solution to your CNC workflow.


How It Works

The board operates as an intermediary between the Rodent MCU (3.3V logic) and your spindle's VFD. Here's how the magic happens:

  1. Logic Signal Conditioning:

    • The 3.3V logic signals from the Rodent are fed into a CD74HC4050E buffer IC.
    • This IC ensures the signals are conditioned and capable of driving higher current.
  2. Optocoupler Isolation:

    • The conditioned signals pass through ILQ615-3 optocouplers to isolate the logic signals from the VFD control side.
    • This provides electrical isolation, keeping the Rodent and VFD grounds separate for safety and signal integrity.
  3. Signal Translation:

    • The board outputs the control signals via a terminal block connector with the following pins:
      • DCOM: Isolated ground reference for the VFD.
      • OUT1, OUT2, OUT3, OUT4: Control signals that short to DCOM when corresponding inputs (INPUT1, INPUT2, INPUT3, INPUT4) are high.
    • The optocouplers ensure that these outputs are cleanly isolated from the Rodent Board's ground.
  4. Connector Interface:

    • A JST-XH 6-pin connector provides easy integration with the Rodent MCU.

Features

  • Isolated Control Signals: Prevents electrical noise and interference between the Rodent MCU and the VFD.
  • High-Current Drive Capability: The CD74HC4050E ensures the Rodent's 3.3V signals can reliably drive the optocouplers.
  • User-Friendly Connections: JST-XH 6-pin input and terminal block output for straightforward wiring.
  • All Through-Hole Components: Easy to solder, making it beginner-friendly.

Schematic

schematic


Bill of Materials (BOM)

  • 1x ILQ615-3 Optocoupler DIP IC (x4)
  • 1x CD74HC4050E IC
  • 4x 470R Resistor (1/4 watt, 10% tolerance, through-hole)
  • 1x 1uF Ceramic Capacitor (disc ceramic, 5.0mm pitch)
  • 1x JST-XH 6-pin Connector
  • 1x 5-terminal Block Connector (DCOM, OUT1, OUT2, OUT3, OUT4)
  • 1x PCB (orderable via JLCPCB)

PCB Ordering

The board can be ordered from JLCPCB using the provided Gerber files. Simply upload the files, select your options, and you'll have your custom PCB in no time.


License

This project is shared under the Creative Commons License (CC BY-NC-ND): Non-Commercial, No Remix, Attribution Required. Contributions and modifications are welcome within these guidelines.


Credits

Designed by knight_rad.iant on Discord. For questions or discussions, feel free to join the CNC community and share your thoughts!

Parts

13
QtyValueFootprintReferences
4470RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R6
4MountingHoleMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4
11uFCapacitor_THT:C_Disc_D5.1mm_W3.2mm_P5.00mmC1
1CD74HC4050EMouser:DIP794W53P254L1930H508Q16NIC2
1ILQ615-3Mouser:DIP762W56P254L1992H470Q16NIC1
1JST XHConnector_JST:JST_XH_B6B-XH-AM_1x06_P2.50mm_VerticalJ1
1Screw TerminalTerminalBlock:TerminalBlock_bornier-5_P5.08mmJ2

Similar boards

  • 2 layers78.5 × 100 mmDAQ Rev 2, the printed circuit board in 3D

    DAQ Rev 2

    ikmitche/OSHE-RecycleBot

    The Home of the Open Source Hardware Enterprise's RecycleBot Project

    43 parts
  • 2 layers181.1 × 139.9 mmCampervan management, the printed circuit board in 3D

    Campervan management

    akladnig/CamperVan

    - CamperVan Design and Arduino Circuit Design - Campervan Design Overview - Dashboard App - Electrical System - Sensors - Circuit Design - Battery and voltage monitoring - Voltage Divider Design - Low Pass Filter - TODO

    116 parts
  • 2 layers40 × 20 mmUsb uart, the printed circuit board in 3D

    Usb uart

    earthtojake/text-to-cad

    Design physical products with AI

    13 parts26kMIT
  • 2 layers35 × 29 mmMagSpoofTC, the printed circuit board in 3D

    MagSpoofTC

    samyk/magspoof

    A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.

    13 parts4.2k
  • 2 layers20.6 × 23.6 mmAO-03 signal amplifier, the printed circuit board in 3D

    AO-03 signal amplifier

    fossasia/pslab-scripts

    Pocket Science Lab - Scripts for Sensor Experiments

    13 parts1.6kApache-2.0
  • 2 layers47 × 35.6 mmMX7-C-35PL C11, the printed circuit board in 3D

    MX7-C-35PL C11

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    13 parts1.2k
  • 2 layers95 × 95 mmCube batteryboard, the printed circuit board in 3D

    Cube batteryboard

    willem-pennings/balancing-cube

    A cube that balances itself in a corner or edge using reaction wheels

    13 parts1.1kGPL-3.0

Questions

How big is the Vfd rat king PCB?

It measures 40 × 45 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Vfd rat king use?

13 parts, built around the CD74HC4050EG4 and ILQ615-3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Vfd rat king KiCad files?

From the jrlomas/vfd-rat-king repository on GitHub, at the commit this page was made from: the board is kicad/vfd-rat-king.kicad_pcb and its schematic kicad/vfd-rat-king.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Vfd rat king design in my own project?

Its repository states no licence, so its author keeps all rights: ask jrlomas before reusing the design.