Makers Army
Articles

Electronics & Circuits

A Hidden CNC Machine Makes This Ouija Board Write by Itself

OuijaCNC hides a CoreXY machine and magnet carriage beneath a hand-painted board. Here is how the mechanism, friction fixes and coordinate-mapped software create the illusion.

By Sam 5 November 2026
Official photograph of Kat Shann's finished OuijaCNC board with its wooden planchette.
Official OuijaCNC project photograph via Raspberry Pi, used for editorial identification.

The planchette moves to a letter, pauses, then slides to the next one with nobody touching it. The trick is not supernatural. It is a compact CoreXY machine, magnets, software and a very patient round of friction fixes hidden under a beautifully painted wooden board.

Kat Shann published OuijaCNC on the Raspberry Pi site on 30 October 2026. It is exactly the sort of build I want more of: a mechanism, an enclosure and a piece of visual theatre designed as one object. The electronics are not left sitting beside the prop. They create the effect from underneath.

Kat Shann's finished OuijaCNC board, photographed for the official Raspberry Pi project article

Official project photograph by the OuijaCNC maker, via Raspberry Pi. Used for editorial identification; see the source record.

The hidden machine is a lightweight CoreXY

The build began with a compact CoreXY mechanism made from 3D-printed parts, fishing line, motors and an ESP32. In a CoreXY layout, two fixed motors share the work of moving one carriage in X and Y. The belt or line routing combines their motion, so both motors participate in a straight move.

That gives the project a flat moving area below the board. The visible pointer does not need its own motor, battery or cable. A magnet carriage below the surface pulls magnets inside the planchette above it.

Official photograph of the lightweight CoreXY mechanism built beneath OuijaCNC

Official project photograph via Raspberry Pi.

The enclosure matters because it hides the axes and electronics while supporting the decorated top. Shann used plywood and moulding, then stained and painted it to evoke the golden age of Spiritualism. The lettering only occupies the area the mechanism can reach; painted flowers and skull motifs fill the parts of the top that sit above motors and other unusable space.

That is a quietly good piece of design. Instead of pretending the full rectangle is available, the artwork accepts the machine’s actual working envelope.

Official photograph showing the decorated board and its usable letter area

Official project photograph via Raspberry Pi.

The difficult part was not the spooky part

The published build notes identify friction as the big problem. The wooden planchette was relatively heavy and had a broad contact area. More magnets improved grip, springs kept the lower magnets pressed close to the underside of the board, and free-spinning ball bearings in the bottom of the planchette finally reduced drag enough for reliable movement.

Cutaway diagram showing the planchette, ball bearings, board, spring-loaded magnets and CoreXY carriage

Original explanatory cutaway based on the maker’s published description. It is not a measured construction drawing.

This sequence is the most useful bit for another maker. If a magnetic follower slips, adding a stronger motor is not automatically the answer. The gap, magnet alignment, surface friction and load can matter more. Change one source of resistance at a time and keep fingers clear of pinch points between strong magnets.

The article does not publish a complete build package, and neither does this piece. Do not copy dimensions from the diagrams. Magnets can pinch, damage devices and create hazards around medical implants; motors and mechanisms need guards and current limits appropriate to the hardware. Treat this as a project analysis, not a beginner construction plan.

How typed words become motion

The visible effect starts in a web interface. The maker’s software is a Python Flask project. A typed word is broken into letters, each letter is matched to a stored coordinate, and those locations become G-code instructions. The instructions travel by USB serial to the ESP32, which drives the motors.

Mapping the board was the slow job. Every letter and word position had to be measured as a machine coordinate and saved in JSON. That is the unglamorous bridge between the artwork on top and the mechanism underneath. If the painted A and the saved A do not agree, the ghost develops terrible spelling.

Software flow diagram from typed word through coordinates and G-code to the motor-driven magnet carriage

Original explanatory diagram based on the published workflow.

A Raspberry Pi 3 Model B+ runs the interface. Shann installed Raspberry Pi OS Trixie with Raspberry Pi Imager and configured Raspberry Pi Connect. That remote-access choice is practical for an object that moves between networks: Connect lets the owner reach the Pi and its desktop or shell through a browser once the device is linked.

Three ideas worth stealing without copying the prop

1. Hide the mechanism to strengthen the story

A magnetic follower does not have to live under a Ouija board. It could move a paper boat under a map, a moon across a shop window, a marker around a museum timeline or a character through a tabletop game. The useful idea is the separation between visible object and hidden carriage.

2. Let the artwork reveal the working envelope

The letters are placed where the machine can reach. Areas above the motors become decoration. That is better than designing a full surface first and discovering later that the corners are impossible.

3. Save physical calibration as data

The coordinate file turns a hand-painted layout into something the machine can revisit. The same approach works for drawers, storage grids, camera positions and interactive maps. Give each physical target a stable name and measured coordinate, then test them one by one.

A safe paper prototype before any motors

You can test the interaction without building the machine. Draw a simple 4-by-4 grid on paper. Assign each cell a letter or icon and write the coordinates in a small JSON-like list. Ask a second person to name a short word while you move a coin beneath the paper and a paperclip above it.

You will quickly discover the real design questions: how long should the pointer pause, what route feels intentional, what happens when two targets are close, and how much decoration can sit between readable positions?

That prototype will not solve belt tension or G-code. It will tell you whether the effect is worth engineering.

What the build does—and does not—do

The current version still relies on a human hearing the question and typing a response into the web interface. The Raspberry Pi article discusses possible future voice and AI additions, but the published machine is not secretly listening and inventing answers by itself.

That limitation makes the project better, not worse. The cleverness is already in the choreography: typed language becomes coordinates, coordinates become motor motion, and motor motion becomes a piece of theatre on the surface. No fake haunting required.

Sources

  1. 1.Raspberry Pi — OuijaCNC project article
  2. 2.Raspberry Pi Documentation — Raspberry Pi Connect
  3. 3.Raspberry Pi — Raspberry Pi Imager and software
  4. 4.Marlin Firmware — CoreXY printers
  5. 5.Marlin Firmware — Kinematics

Share this article

Know someone who would enjoy this? Pass it along.