

MT Blade
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
1README
README.mdEHECATL - Line Follower Racing Robot
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
| Componente | Pin | Tipo | Descripción |
|---|---|---|---|
| Motores | |||
| Motor Izq A | 1 | PWM | Control motor izquierdo |
| Motor Izq B | 4 | PWM | Control motor izquierdo |
| Motor Der A | 9 | PWM | Control motor derecho |
| Motor Der B | 2 | PWM | Control motor derecho |
| Sensores | |||
| MUX_A | 3 | Digital Out | Control multiplexador (LSB) |
| MUX_B | 11 | Digital Out | Control multiplexador |
| MUX_C | 10 | Digital Out | Control multiplexador (MSB) |
| Sensores 1-8 | 8 | Analog In | Lectura multiplexador 1 |
| Sensores 9-16 | 7 | Analog In | Lectura multiplexador 2 |
| Utilidades | |||
| LED | 5 | Digital Out | LED de estado |
| Botón | 13 | Digital In | Botón con pull-up |
| Start Signal | 6 | Digital In | Señal de inicio externa |
| Turbina | 12 | PWM (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
KP = 0.2 // Ganancia proporcional
KD = 0.80 // Ganancia derivativaTiempos 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)
[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 = 921600Ajuste de Parámetros
Los parámetros principales se pueden ajustar en:
control.h: Constantes PID, tiempos de controlmotors.h: Configuración PWM de motores y turbinasensors.h: Configuración de sensores
📱 Uso Básico
Inicio del Robot
- Encendido: Conectar alimentación
- Inicialización: Esperar 2 segundos (ESC de turbina)
- Calibración: Presionar botón → Mover robot sobre línea 3 segundos
- Listo: LED indica que está listo para iniciar
Modos de Inicio
El robot puede iniciarse de 3 formas:
-
Botón Largo (>1s):
- Presionar y mantener botón
- Cuenta regresiva de 3 segundos
- Último segundo: pre-inicio con turbina al 85%
- ¡GO!
-
Señal Externa (Pin 6):
- Compatible con sistemas de competencia
- Inicio inmediato al detectar HIGH en pin 6
-
Comando Serial (
s):- Enviar comando
spor monitor serial - Cuenta regresiva de 3 segundos
- Inicio automático
- Enviar comando
Comandos Serial
| Comando | Función | Ejemplo |
|---|---|---|
s | Iniciar carrera | - |
x | Detener carrera | - |
r | Mostrar sensores RAW | - |
c | Mostrar 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 |
cal | Re-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| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R3, R5, R6, R8, R9, R11, R12, R14, R15, R17, R18, R20, R21, R23, R24 |
| 16 | ~ | MictlanTeam-Library:ITR8307_SMD | S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16 |
| 8 | 45 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R4, R7, R10, R13, R16, R19, R22 |
| 2 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C2, C4 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C3 |
| 2 | CD4051B | MictlanTeam-Library:MUX_CD4051B | MUX1, MUX2 |
| 2 | Conn_01x07 | Connector_FFC-FPC:TE_0-1734839-7_1x07-1MP_P0.5mm_Horizontal | AUX_FLEX1, FLEX_MORRO1 |
| 1 | Conn_01x07_Socket | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J8 |
| 1 | Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | J9 |
| 1 | LOGO | LOGO | G*** |
| 1 | LOGO | MictlanTeam-Library:MT_Silkscreen 10mm | G |
| 1 | LOGO | MictlanTeam-Library:MT_Blade_5mm | G*** |
The 53 most common of 57 parts.
More from MictlanTeam/Ehecatl
1- 2 layers50 × 34 mm

Similar boards
- 2 layers200 × 100 mm

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 mm

- 2 layers285 × 222.5 mm

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 mm

- 4 layers26.4 × 41.7 mm

- 2 layers144.1 × 181.4 mm

Quadulator
GlobalSequence/quadulator
Quadulator - A quad LFO/ADSR envelope generator for Eurorack synthesizers
128 parts6 - 2 layers27.5 × 28.4 mm

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 mm

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