Projeto de automação, navegação autónoma e telemetria para boias robóticas de regata (Rovers) e estação de comando com ecrã (Base Station), baseado na Placa Carrier Universal Dual ESP32-C6 (Master Lafvin LCD 1.47" IPS +…
Dual ESP Carrier is an open-source printed circuit board by tiagojanz, from the tiagojanz/winddragons_rover repository on GitHub. It is a 2-layer board of 100 × 100 mm with 40 parts on 41 nets, routed with 226 tracks and 1 via.
It is built around the WS2812B. Its parts include 4 connectors and 4 switches. It belongs with the ESP32 boards of this library.
WindDragons — Sistema de Telemetria e Controlo Náutico (Rover & Base Station)
Projeto de automação, navegação autónoma e telemetria para boias robóticas de regata (Rovers) e estação de comando com ecrã (Base Station), baseado na Placa Carrier Universal Dual ESP32-C6 (Master Lafvin LCD 1.47" IPS + Coprocessador ESP32-C6 DevKitC-1).
🛰️ 1. Arquitetura Global do Sistema
mermaid
flowchart LR
subgraph CLOUD["☁️ WindDragons Cloud"]
API["HTTPS REST API<br/>/api/circuits/station/telemetry"]
end
subgraph BASE["🎮 BASE STATION - Dual ESP32-C6"]
BM["Master: Lafvin ESP32-C6<br/>• LCD 1.47 pol. ST7789 320x172<br/>• MicroSD /www/base/<br/>• Web Server WiFi STA e AP<br/>• Joystick Analógico + Botões<br/>• Coordenador OTA Dual"]
BC["Slave: ESP32-C6 DevKitC-1<br/>• Rádio LoRa SX1278 433 MHz<br/>• Polling e Escuta Contínua<br/>• Telemetria da Frota 1..8"]
BM <-->|"UART Inter-ESP 115200 bps<br/>TX:IO2 / RX:IO1"| BC
end
subgraph ROVER["🚤 ROVER / BOIA AUTÓNOMA - Dual ESP32-C6"]
RM["Master: Lafvin ESP32-C6<br/>• LCD 1.47 pol. ST7789 + MicroSD<br/>• GPS Quectel LC29H UART1<br/>• Dashboard Web e OTA Dual<br/>• Joystick Local Opcional"]
RC["Slave: ESP32-C6 DevKitC-1<br/>• Rádio LoRa SX1278 433 MHz<br/>• IMU 9-DOF GY-BNO055 em J_EXP<br/>• PWM: ESC, Leme, Guincho, Trinco<br/>• Sensores: Bateria 6S, Hall, Fim-Curso<br/>• Fita LEDs WS2812B Strobe"]
RM <-->|"UART Inter-ESP 115200 bps<br/>TX:IO2 / RX:IO1"| RC
end
BM <-->|"WiFi HTTPS JSON"| API
BC <-->|"LoRa 433 MHz<br/>BW 250kHz • SF7"| RC
🧭 2. Esquema de Ligação — Bússola & IMU 9-DOF (GY-BNO055 em J_EXP)
O módulo GY-BNO055 liga-se diretamente à ilha de expansão J_EXP (2x03 pinos, passo 2.54 mm) da PCB Carrier (ligada ao Coprocessador ESP32-C6 DevKitC-1).
[!IMPORTANT]
Pontes PS0 e PS1 no módulo GY-BNO055: Certifique-se de que as duas pontes de solda PS0 e PS1 na placa azul do GY-BNO055 estão abertas (LOW / 0) para operar em modo Standard I2C.
🔌 3. Esquema Completo de Ligações — ROVER (Boia Autónoma)
INPUT_PULLUP — fecha ao GND quando a âncora toca no topo
Sensor Hall Tambor (HALL)
GND (1), +3V3_C6 (2), OUT (3)
GPIO 20
Sensor TI DRV5032 (INPUT_PULLUP, interrupção FALLING)
Power Module 6S (J_BATT)
GND (1), CURR (2), VOLT (3)
GPIO 2 (V) / GPIO 3 (I)
Leitura ADC LiPo 6S (divisor 10.803, 27.32 A/V)
C. Periféricos Ligados ao Master Lafvin ESP32-C6 (Rover)
Periférico / Conector PCB
Pino do Módulo
GPIO Lafvin
Notas Técnicas
GPS Quectel LC29H (J6)
VCC (3V3), GND, R1 (RX), T1 (TX)
GPIO 16 (TX) / GPIO 17 (RX)
UART1 a 115200 bps (R1 liga a IO16, T1 liga a IO17)
Ecrã LCD 1.47" ST7789
Integrado na placa Lafvin
IO6, IO7, IO14, IO15, IO21, IO22
Resolução 320x172 Landscape
Leitor MicroSD (TF Card)
Integrado na placa Lafvin
CS=IO4, MISO=IO5, MOSI=IO6, SCK=IO7
Armazena /www/rover/, /config.json e /telemetry.csv
Joystick Físico (JOY1)
3V3, GND, VRx, VRy
GPIO 3 (X) / GPIO 0 (Y)
Ativável/desativável na página /config
🎮 4. Esquema Completo de Ligações — BASE STATION (Comando de Frota)
mermaid
flowchart LR
subgraph BASE_M["🖥️ BASE MASTER: Lafvin ESP32-C6"]
B_LCD["Ecrã LCD 1.47 pol. ST7789<br/>Dashboard Frota, Regata e Rede"]
B_SD["MicroSD Onboard CS:IO4<br/>/www/base/ + Registo de Missões"]
B_JOY["Joystick Analógico PS5 J1<br/>Eixo X Leme: GPIO 3<br/>Eixo Y Motor: GPIO 0"]
B_BTN["Botões Físicos<br/>BOOT Página: GPIO 9<br/>SW1/SW2/SW3: IO18 / IO19 / IO20"]
B_UART["UART Inter-ESP<br/>TX: GPIO 2 • RX: GPIO 1"]
end
subgraph BASE_C["📡 BASE SLAVE: ESP32-C6 DevKitC-1"]
BC_UART["UART Inter-ESP<br/>RX: GPIO 22 • TX: GPIO 13"]
BC_LORA["Rádio LoRa SX1278 433 MHz<br/>NSS:IO6 • SCK:IO5 • MOSI:IO7<br/>MISO:IO4 • DIO0:IO0"]
end
B_UART <-->|"115200 bps<br/>Comandos e Telemetria Frota"| BC_UART
BC_LORA <-->|"Antena 433 MHz"| AIR(("🌊 Rovers 1..8"))
🚀 5. Compilação e Pacotes de Atualização OTA Dual
Com o PlatformIO e Python 3 instalados:
bash
# 1. Gerar apenas os ficheiros Web comprimidos (.gz) para Rover e Base:
python3 scripts/build_web_assets.py
# 2. Compilar e empacotar o Firmware Completo do ROVER (C6 + Lafvin + Web):
python3 scripts/bundle_firmware.py
# -> Gera: dist/rover_firmware.zip# 3. Compilar e empacotar o Firmware Completo da BASE STATION (C6 + Lafvin + Web):
python3 scripts/bundle_base_firmware.py
# -> Gera: dist/base_firmware.zip
[!TIP]
Para documentação detalhada de validação elétrica de bancada, separação dos domínios +3V3 / +3V3_C6 e especificações da régua destacável do sensor Hall DRV5032, consulte o ficheiro HARDWARE_PINOUT_MEMORY.md.
Projeto de automação, navegação autónoma e telemetria para boias robóticas de regata (Rovers) e estação de comando com ecrã (Base Station), baseado na Placa Carrier Universal Dual ESP32-C6 (Master Lafvin LCD 1.47" IPS +…
Projeto de automação, navegação autónoma e telemetria para boias robóticas de regata (Rovers) e estação de comando com ecrã (Base Station), baseado na Placa Carrier Universal Dual ESP32-C6 (Master Lafvin LCD 1.47" IPS +…
If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)
It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Dual ESP Carrier use?
40 parts, built around the WS2812B. 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 Dual ESP Carrier KiCad files?
From the tiagojanz/winddragons_rover repository on GitHub, at the commit this page was made from: the board is hardware/dual_esp_carrier/Dual_ESP_Carrier.kicad_pcb and its schematic hardware/dual_esp_carrier/Dual_ESP_Carrier.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Dual ESP Carrier design in my own project?
Its repository states no licence, so its author keeps all rights: ask tiagojanz before reusing the design.