
ControlBoard v1
coffee2307/Tessera
Tessera is a personal precision motion platform for compact XYZ positioning, alignment, probing, microscopy, and small-scale automation.

Tessera is a personal precision motion platform for compact XYZ positioning, alignment, probing, microscopy, and small-scale automation.
EncoderBoard is an open-source printed circuit board by coffee2307, from the coffee2307/Tessera repository on GitHub, published under the MIT licence. It is a 2-layer board of 36 × 36 mm with 8 parts on 12 nets, routed with 34 tracks and 3 vias.
Tessera is a personal precision motion platform for compact XYZ positioning, alignment, probing, microscopy, and small-scale automation. It combines a parallel-kinematic mechanical structure with closed-loop stepper control, rotary encoders, motion planning, and a serial command interface.
The design aims to provide a low-cost and reproducible motion platform with practical sub-micron positioning capability for laboratory, research, and prototyping workflows. The software stack is divided between embedded firmware and a Python control layer so the hardware can be configured, calibrated, and operated through a clean API.
The repository is organized into several functional domains:
The mechanical platform uses a parallel geometry to achieve compact motion with high stiffness and repeatability. The structure is designed around a three-axis motion system, with linkage and ball-joint behavior tuned for controlled end-effector motion. Mechanical files are stored in the FreeCAD-based construction package and are intended to be modified and adapted for custom builds.
The electronics layer includes the control board and related hardware configuration. The system relies on stepper drives, encoder interfaces, logic/control circuitry, and power distribution arranged to support the motion controller and its real-time feedback loops. These design files are located under dien_tu/ and provide the hardware reference for the embedded controller.
The firmware is written in C++ and is organized around the real-time device controller. It implements the logic required for motion execution, servo regulation, calibration, and serial communication.
Core firmware responsibilities:
Main firmware components:
The system is intended to be commanded over a serial connection. The firmware accepts motion and control instructions and returns status information to the host. This makes it compatible with higher-level control software, automation workflows, and Python-based experimentation.
Typical capabilities include:
The Python layer wraps the serial connection and exposes a simplified interface for controlling the platform. It is intended to reduce the amount of low-level command handling required when testing motion, calibration, or automated procedures.
Relevant Python files:
The API generally supports:
from phan_mem.api_python.tessera_api import TesseraInterface
api = TesseraInterface(show_communication=True, show_log_messages=True)
api.connect('/dev/ttyACM0')
api.home()
api.move_to(0.0, 0.0, 0.0, f=10)
api.move_to(3.1, 4.1, 5.9, f=26)
api.wait_for_stop()Tessera là một nền tảng chuyển động XYZ kiểu compact, mã nguồn mở, được thiết kế cho các nhiệm vụ căn chỉnh, dò kiểm tra, kính hiển vi và tự động hóa quy mô nhỏ. Hệ thống này kết hợp cơ cấu cơ khí song song, bộ điều khiển động cơ vòng kín, và giao diện điều khiển thân thiện với Python để tạo ra một giải pháp di chuyển chính xác với chi phí thấp và khả năng tái tạo tốt.
Kho mã nguồn được tổ chức theo các tầng chức năng chính:
Cấu trúc cơ khí sử dụng hình học song song để đạt được chuyển động nhỏ gọn, cứng vững và lặp lại tốt. Hệ thống được thiết kế theo mô hình 3 trục với các liên kết và khớp cầu nhằm kiểm soát chuyển động của đầu công cụ. Các file thiết kế cơ khí nằm trong gói CAD FreeCAD và có thể được chỉnh sửa để phù hợp với từng bản dựng cụ thể.
Lớp điện tử bao gồm bo mạch điều khiển và cấu hình phần cứng tương ứng. Hệ thống dùng động cơ bước, giao diện mã hóa, mạch điều khiển logic và phân phối nguồn để hỗ trợ bộ điều khiển chuyển động và vòng phản hồi thời gian thực. Các file này nằm trong dien_tu/ và là tài liệu tham khảo cho phần firmware.
Firmware được viết bằng C++ và tổ chức theo mô hình bộ điều khiển thiết bị thời gian thực. Nó xử lý các nhiệm vụ cần thiết cho việc thực thi chuyển động, điều khiển servo, hiệu chuẩn và giao tiếp serial.
Các trách nhiệm chính của firmware:
Những thành phần quan trọng:
Hệ thống được thiết kế để điều khiển qua kết nối serial. Firmware nhận lệnh di chuyển và điều khiển từ máy tính và gửi thông tin trạng thái trở lại. Điều này giúp hệ thống tương thích với phần mềm điều khiển cấp cao, quy trình tự động hóa và thử nghiệm dựa trên Python.
Các khả năng điển hình gồm:
Lớp Python đóng gói kết nối serial và cung cấp giao diện đơn giản để điều khiển hệ thống. Mục tiêu là giảm khối lượng xử lý lệnh mức thấp khi kiểm tra chuyển động, hiệu chuẩn hoặc quy trình tự động hóa.
Các file Python quan trọng:
API thường hỗ trợ:
from phan_mem.api_python.tessera_api import TesseraInterface
api = TesseraInterface(show_communication=True, show_log_messages=True)
api.connect('/dev/ttyACM0')
api.home()
api.move_to(0.0, 0.0, 0.0, f=10)
api.move_to(3.1, 4.1, 5.9, f=26)
api.wait_for_stop()| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole_Pad | MountingHole:MountingHole_2.7mm_M2.5_Pad_Via | H1, H2, H3, H4 |
| 3 | Conn_01x06_Pin | Connector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical | J1, J2, J3 |
| 1 | Conn_01x08_Pin | Connector_JST:JST_PH_B8B-PH-K_1x08_P2.00mm_Vertical | J4 |
It measures 36 × 36 mm and has 2 copper layers, 1.6 mm thick.
8 parts. 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.
From the coffee2307/Tessera repository on GitHub, at the commit this page was made from: the board is dien_tu/EncoderBoard.kicad_pcb and its schematic dien_tu/EncoderBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

coffee2307/Tessera
Tessera is a personal precision motion platform for compact XYZ positioning, alignment, probing, microscopy, and small-scale automation.


joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch

rusefi/rusefi
rusefi - GPL internal combustion engine control unit

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

dangiu/PicoMemcard
Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico

OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop