Skip to the content
PCBKitNew board
2 layers124.5 × 77.5 mmAutopatzer, the printed circuit board in 3D

Automatic chess board

Size
124.5 × 77.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
40
Nets
117
Pads
314
Tracks, vias
800, 52
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
23 Mar 2020
Updated
3 Oct 2023

Overview

Autopatzer is an open-source printed circuit board by jes, from the jes/autopatzer repository on GitHub. It is a 2-layer board of 124.5 × 77.5 mm with 40 parts on 117 nets, routed with 800 tracks and 52 vias.

It is built around the CD4051BE and IRF540N. Its parts include 16 connectors, 9 ICs, 7 resistors, 1 diode and 1 transistor. It belongs with the NXP (LPC, Kinetis, i.MX RT) boards of this library.

Main components

2

README

README.md

autopatzer

An automatic chess board, supporting online play with people all over the world via the Lichess Boards API.

This repo contains FreeCAD files for the mechanical design, KiCad files for PCB design, Arduino code to run on the microcontroller, Perl code for the library/program that interfaces with the controller, and JavaScript code for the user interface and Lichess interface.

You can watch a video of the board if you want.

Build one yourself

I thoroughly encourage you to build an Autopatzer board. You'll need:

  • 3d printer
  • soldering skills
  • general DIY skills
  • and it would probably help to have prior experience with Arduino and Raspberry Pi

There aren't currently a decent set of instructions, so if you want to build one let's try and write some instructions as you go so that it might be easier for whoever comes next!

There are some notes about how you might want to change the design in my blog post: https://incoherency.co.uk/blog/stories/autopatzer.html

Architecture

There is a NEMA17 stepper motor for each of the X and Y axis, from an old 3d printer. The stepper motors are controlled by A4988 stepper motor drivers, which are controlled using the step/direction pins, driven by the AccelStepper Arduino library. The electromagnet is switched on and off with a MOSFET. The pieces are detected with an analogue hall effect sensor under each square. These 64 analogue signals are reduced to 8 signals with 8x CD4051 8-to-1 analogue multiplexers. All of the code for this runs on a Teensy 3.2 microcontroller, and the rest is adequately explained by this diagram:

Contact

The Electron app providing the user interface is by Miles Armstrong: miles@milesarmstrong.co.uk

The rest is by James Stanley: james@incoherency.co.uk

Parts

40
QtyValueFootprintReferences
8CD4051BPackage_DIP:DIP-16_W7.62mmU2, U3, U4, U5, U6, U7, U8, U9
8Conn_01x08_MaleConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1, J2, J3, J4, J5, J6, J7, J8
7RResistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P12.70mm_HorizontalR1, R2, R3, R4, R5, R6, R7
4Conn_01x02_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ10, J14, J15, J16
2Conn_01x04_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ9, J13
2Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ11, J12
2Pololu_Breakout_A4988Module:Pololu_Breakout-16_15.2x20.3mmA1, A2
1DDiode_THT:D_5W_P12.70mm_HorizontalD1
1IRF540NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1Teensy3.2autopatzer:Teensy30_31_32_LCU1

The 36 most common of 40 parts.

Questions

How big is the Autopatzer PCB?

It measures 124.5 × 77.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Autopatzer use?

40 parts, built around the CD4051BE and IRF540N. 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 Autopatzer KiCad files?

From the jes/autopatzer repository on GitHub, at the commit this page was made from: the board is kicad/autopatzer/autopatzer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Autopatzer design in my own project?

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

Similar boards

  • 2 layers200 × 100 mmPolykit x voice card, the printed circuit board in 3D

    Polykit x voice card

    polykit/polykit-x-voice-card

    Schematics and PCB layout for a voice card with multimode filter for a polyphonic synthesizer

    207 parts58
  • 2 layers285 × 222.5 mmPolykit x mainboard, the printed circuit board in 3D

    Polykit x mainboard

    polykit/polykit-x-mainboard

    Schematics and PCB layout for a mainboard for an 8 voice polyphonic synthesizer

    220 parts22
  • 2 layers66 × 114.3 mmSixnavPrototype, the printed circuit board in 3D

    SixnavPrototype

    GreenCappuccino/SixnavPrototype

    testbed for 6DOF input device development

    38 parts13
  • 4 layers26.4 × 41.7 mmDspod cv1800b, the printed circuit board in 3D

    Dspod cv1800b

    emeb/dspod

    A family of boards for Eurorack DSP audio

    96 parts10MIT
  • 2 layers144.1 × 181.4 mmQuadulator, the printed circuit board in 3D

    Quadulator

    GlobalSequence/quadulator

    Quadulator - A quad LFO/ADSR envelope generator for Eurorack synthesizers

    128 parts6
  • 2 layers27.5 × 28.4 mmTiny power meter, the printed circuit board in 3D

    Tiny power meter

    ezcGman/tiny-power-meter

    A very tiny 3-phase power meter to measure your homes power consumption and report to Home Assistant!

    19 parts5
  • 2 layers213 × 128.5 mmIosefka motherboard, the printed circuit board in 3D

    Iosefka motherboard

    GlobalSequence/iosefka

    hybrid digital analog synthesizer

    124 parts5
  • 2 layers235 × 110 mmOblique Palette 0.5 PCB Main, the printed circuit board in 3D

    Oblique Palette 0.5 PCB Main

    Oblique-Industry/Oblique-Easel

    Code, Electronics, and Industrial Design for the Oblique Easel Artmaschine Cyberdeck

    350 parts5