Skip to the content
2 layers48 × 26.2 mmServo control module, the printed circuit board in 3D

Learning project to build a simple variable speed stirrer for electroplating.

Size
48 × 26.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
11
Pads
19
Tracks, vias
19, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
6 Nov 2023
Updated
27 Apr 2025

Overview

Servo control module is an open-source printed circuit board by doug-harriman, from the doug-harriman/electroplating-stirrer repository on GitHub. It is a 2-layer board of 48 × 26.2 mm with 4 parts on 11 nets, routed with 19 tracks and 0 vias.

It is built around the ATTINY85-20PU. Its parts include 2 connectors and 1 IC. It belongs with the robots and motor control boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

EE/servo-control-module/readme.md

Workflow

Note: For all operations, keep grbl software running and maintain XY home position.

Note: CADLAB.io view of github repo. Login with google account.

PCB Prep

  1. Clean the PCB with metal polisher to remove oxidation. I use Brasso. PCB should be shiny and clean.
  2. Spray paint the PCB. Ideally would use solder mask, but the epoxy material is hard to fully ablate. Paint ablates nicely, though it is prone to scratching.

Design Prep

  1. Panelize PCB using KiKit. Use to provide frame and tabs with mousebites. The kikit.sh script performs the process.
  2. Load the panelized PCB into KiCAD.
  3. Export a PCB image for laser ablation of the paint to expose the trace isolation areas. Use the KiCAD "plot" function. The image below shows the settings, assuming we're exposing the back side copper. PCB plot settings

PCB Fabrication

  1. Tape down PCB on mill. Rough cut the PCB to size if that makes sense.
  2. Expect to route/drill through the PCB into the supporting material, so use a sacrificial material.
  3. Drill all holes, including tooling holes.
    • It is recommended
  4. Route out panel from larger PCB. Limit size of PCB we're working with to maintain chem etch solution.
  5. Laser ablate spray paint in the PCB trace inverse to expose the copper for etching.
  6. Chem etch the PCB to isolate the traces.
  7. Laser ablate the spray paint on the solder pads.

PCB Milling Operations

  • Milling operations are generated using pcb2gcode. This is a command line program that reads information from configuration files.
  • pcb2gcode is called multiple times with different configuration files to generate the different G-code jobs (with different tools) required to machine out the PCB.

KiCAD

KiCAD Gerber export: disable the "Use extended X2 format" option.

PCB2GCODE

Alternate software: https://sourceforge.net/p/pygerber2gcode/code/ci/master/tree/

  • This tool worked great for generating G-code.
    • Much easier to use than FlatCAM.
    • Man page in file pcb2gcode.pdf.
  • Example config file: millproject
  • Generate code by running pcb2gcode in the same directory with millproject.
  • Use a short list of drill sizes, or it will use exact drill size for each part. That can lead to a lot of tooling changes.
  • You can get some parameter by editing and running pcb_calcs.py.
    • The copper layer is very thin. Got nice isolation with a margin of 0.5, could probably go lower.
    • This calcs the Z depth for drilling and edge cuts to cut into the tape. It can be a bit tricky if you don't apply the height map. Not clear if you can apply the height map to multiple files.
  • Bridges shouldn't be necessary if you don't cut too fast on the edge cuts.
  • Example call: https://gist.github.com/bullestock/87ed51aaadaae8b8d2f085756652eb04

Soldermask & Silkscreen

Intended process is to apply two layers of soldermask/ink to the PCB, then use my UV laser to ablate the areas that I don't want filled in. Overall technique from: https://www.youtube.com/watch?v=NuJlgw7E7vg.

Soldermask & silkscreen cating goes down nicely with silkscreen netting & squeegee.

  • Use a squeegee to spread the ink. I used Silicone squeegee from Amazon.
  • Cure with UV light. I use a resin printer cure station for 3 min with board leaning against lamp.

Parts

4
QtyValueFootprintReferences
1ATtiny85-20PPackage_DIP:DIP-8_W7.62mmU1
1POT 100kLibrary:Potentiometer_Amazon_Single_HorizontalRV1
1SERVOTerminalBlock_TE-Connectivity:TerminalBlock_TE_282834-3_1x03_P2.54mm_HorizontalJ2
1USBLibrary:USB-micro-breakoutJ1

Similar boards

  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0
  • 2 layers76.2 × 50.8 mmJerboa-8, the printed circuit board in 3D

    Jerboa-8

    strickyak/jerboa-attiny85-mod-synth

    Modular Synthesizer using an ATtiny85 chip for each module.

    23 parts31MIT
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers55.9 × 55.9 mmPrintplaat, the printed circuit board in 3D

    Printplaat

    floriaanpost/wonderfoon

    Een nieuwe implementatie van de wonderfoon

    14 parts24
  • 2 layers71.1 × 40.6 mmTiny blinky, the printed circuit board in 3D

    Tiny blinky

    Hack-a-Day/Remoticon_KiCad_Blender

    support files for the 2020 Remoticon KiCad to Blender > PCB renders workshop

    21 parts22
  • 2 layers242 × 60 mmRoothubs, the printed circuit board in 3D

    Roothubs

    gkiefer/home2l

    The Home2Ls - Smart Tools for a Private Home

    178 parts21

Questions

How big is the Servo control module PCB?

It measures 48 × 26.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Servo control module use?

4 parts, built around the ATTINY85-20PU. 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 Servo control module KiCad files?

From the doug-harriman/electroplating-stirrer repository on GitHub, at the commit this page was made from: the board is EE/servo-control-module/servo-control-module.kicad_pcb and its schematic EE/servo-control-module/servo-control-module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Servo control module design in my own project?

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