Skip to the content
2 layers105.3 × 105.3 mmMT Blade, the printed circuit board in 3D

Los parámetros principales se pueden ajustar en:

Size
105.3 × 105.3 mm
Copper layers
2
Thickness
1.29 mm
Parts
57
Nets
46
Pads
336
Tracks, vias
840, 91
Pours
111
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Oct 2025
Updated
28 Oct 2025

Overview

MT Blade is an open-source printed circuit board by MictlanTeam, from the MictlanTeam/Ehecatl repository on GitHub, published under the MIT licence. It is a 2-layer board of 105.3 × 105.3 mm with 57 parts on 46 nets, routed with 840 tracks and 91 vias.

It is built around the CD4051BE. Its parts include 24 resistors, 16 switches, 4 capacitors and 2 connectors.

Main components

1

README

README.md

EHECATL - Line Follower Racing Robot

License Platform Language

EHECATL (pronunciado "Ehécatl") es un robot seguidor de línea diseñado para competencias de racing. Su nombre proviene del dios azteca del viento, representando su característica principal: un sistema de succión mediante turbina para generar efecto ground y aumentar la tracción en curvas a alta velocidad.

🏆 Características Principales

Hardware

  • Microcontrolador: ESP32-S3-Zero
  • Sensores: Array de 16 sensores IR con multiplexadores duales
  • Motores: 2 motores DC con drivers RZ7886
  • Turbina: Sistema de succión con ESC brushless (efecto ground)
  • Control: Botón físico, señal externa de start, y comandos serial

Software

  • Control PID: Controlador proporcional-derivativo ajustable
  • Pre-inicio Inteligente: Estabilización y activación de turbina antes del arranque
  • Aceleración Adaptativa: Velocidad mínima de 20% para arranques rápidos
  • Protocolo ESC: Control de turbina a 50Hz (protocolo servo estándar)
  • Lectura Simétrica: Sensores leídos desde el centro hacia extremos
  • Calibración Automática: Auto-calibración con umbral adaptativo

🛠️ Especificaciones Técnicas

Mapa de Pines

ComponentePinTipoDescripción
Motores
Motor Izq A1PWMControl motor izquierdo
Motor Izq B4PWMControl motor izquierdo
Motor Der A9PWMControl motor derecho
Motor Der B2PWMControl motor derecho
Sensores
MUX_A3Digital OutControl multiplexador (LSB)
MUX_B11Digital OutControl multiplexador
MUX_C10Digital OutControl multiplexador (MSB)
Sensores 1-88Analog InLectura multiplexador 1
Sensores 9-167Analog InLectura multiplexador 2
Utilidades
LED5Digital OutLED de estado
Botón13Digital InBotón con pull-up
Start Signal6Digital InSeñal de inicio externa
Turbina12PWM (ESC)Control turbina/succión

Configuraciones PWM

Motores
  • Frecuencia: 5 kHz
  • Resolución: 10 bits (0-1023)
  • Canales: 0-3
Turbina (ESC)
  • Frecuencia: 50 Hz (protocolo servo)
  • Resolución: 11 bits
  • Rango: 102-204 (1000μs-2000μs)
  • Canal: 4

Parámetros PID

cpp
KP = 0.2    // Ganancia proporcional
KD = 0.80   // Ganancia derivativa

Tiempos de Control

  • Loop de control: 1000 μs (1 kHz)
  • Timeout pérdida de línea: 250 ms
  • Calibración sensores: 3000 ms
  • Tiempo máximo de prueba: 30000 ms

⚙️ Configuración

Configuración de Flash (platformio.ini)

ini
[env:esp32-s3-zero]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
board_build.flash_mode = qio
board_upload.flash_size = 4MB
board_build.arduino.memory_type = qio_opi
board_build.psram_type = opi
board_build.partitions = default.csv
monitor_speed = 115200
upload_speed = 921600

Ajuste de Parámetros

Los parámetros principales se pueden ajustar en:

  • control.h: Constantes PID, tiempos de control
  • motors.h: Configuración PWM de motores y turbina
  • sensors.h: Configuración de sensores

📱 Uso Básico

Inicio del Robot

  1. Encendido: Conectar alimentación
  2. Inicialización: Esperar 2 segundos (ESC de turbina)
  3. Calibración: Presionar botón → Mover robot sobre línea 3 segundos
  4. Listo: LED indica que está listo para iniciar

Modos de Inicio

El robot puede iniciarse de 3 formas:

  1. Botón Largo (>1s):

    • Presionar y mantener botón
    • Cuenta regresiva de 3 segundos
    • Último segundo: pre-inicio con turbina al 85%
    • ¡GO!
  2. Señal Externa (Pin 6):

    • Compatible con sistemas de competencia
    • Inicio inmediato al detectar HIGH en pin 6
  3. Comando Serial (s):

    • Enviar comando s por monitor serial
    • Cuenta regresiva de 3 segundos
    • Inicio automático

Comandos Serial

ComandoFunciónEjemplo
sIniciar carrera-
xDetener carrera-
rMostrar sensores RAW-
cMostrar sensores calibrados-
v[num]Cambiar velocidad base (0-100%)v40
a[num]Cambiar aceleración (0-100%)a70
f[num]Cambiar velocidad turbina (0-100%)f90
calRe-calibrar sensores-

📊 Rendimiento

📝 Licencia

Este proyecto está bajo la Licencia MIT. Ver archivo LICENSE para más detalles.

🔗 Enlaces Útiles


EHECATL - El viento que domina la pista 💨🏎️

Parts

57
QtyValueFootprintReferences
1610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3, R5, R6, R8, R9, R11, R12, R14, R15, R17, R18, R20, R21, R23, R24
16~MictlanTeam-Library:ITR8307_SMDS1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16
845Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R4, R7, R10, R13, R16, R19, R22
20.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C4
210uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C3
2CD4051BMictlanTeam-Library:MUX_CD4051BMUX1, MUX2
2Conn_01x07Connector_FFC-FPC:TE_0-1734839-7_1x07-1MP_P0.5mm_HorizontalAUX_FLEX1, FLEX_MORRO1
1Conn_01x07_SocketConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ8
1Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ9
1LOGOLOGOG***
1LOGOMictlanTeam-Library:MT_Silkscreen 10mmG
1LOGOMictlanTeam-Library:MT_Blade_5mmG***

The 53 most common of 57 parts.

More from MictlanTeam/Ehecatl

1
  • 2 layers50 × 34 mmMT Core, the printed circuit board in 3D

    MT Core

    MictlanTeam/Ehecatl

    Los parámetros principales se pueden ajustar en:

    19 partsMIT

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 layers124.5 × 77.5 mmAutopatzer, the printed circuit board in 3D

    Autopatzer

    jes/autopatzer

    Automatic chess board

    40 parts30
  • 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

Questions

How big is the MT Blade PCB?

It measures 105.3 × 105.3 mm and has 2 copper layers, 1.29 mm thick.

What parts does the MT Blade use?

57 parts, built around the CD4051BE. 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 MT Blade KiCad files?

From the MictlanTeam/Ehecatl repository on GitHub, at the commit this page was made from: the board is pcb/MT Blade/MT Blade.kicad_pcb and its schematic pcb/MT Blade/MT Blade.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MT Blade design in my own project?

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).