Skip to the content
2 layers78.3 × 60.8 mmPCBalim, the printed circuit board in 3D

A Mecanum-wheeled robot for civil protection, powered by a Raspberry Pi orchestrating two custom ESP32 PCBs, sensors, a robotic arm, and a drone companion over MQTT. It navigates autonomously, maps its environment, avoids obstacles, and is controlled via voice AI, a MAUI app, or browser dashboard.

Size
78.3 × 60.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
18
Pads
61
Tracks, vias
7, 0
Pours
6
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
29 May 2026
Updated
24 Oct 2026

Overview

PCBalim is an open-source printed circuit board by Dragonyx118, from the Dragonyx118/LagmaBills repository on GitHub. It is a 2-layer board of 78.3 × 60.8 mm with 21 parts on 18 nets, routed with 7 tracks and 0 vias.

It is built around the IRF4905 and XT60PW-M. Its parts include 11 connectors, 2 capacitors, 2 resistors, 1 diode and 1 transistor. It belongs with the home automation and IoT and robots and motor control boards and the ESP32 boards of this library.

Main components

2

README

README.md

L.A.G.M.A. B.I.L.L.S.

Land And Ground-to-Midair Agent — Built for Intelligent Linked Local Support

Platform Firmware Python MQTT App KiCad AI License

A Mecanum-wheeled robot for civil protection, powered by a Raspberry Pi orchestrating two custom ESP32 PCBs, sensors, a robotic arm, and a drone companion over MQTT. It navigates autonomously, maps its environment, avoids obstacles, and is controlled via voice AI, a MAUI app, or browser dashboard.

Presentato ad Arduino Day 2025.

Team

  • Daniele Cerioli (Dragonyx) — firmware, software, PCB, integrazione di sistema
  • Simone Panelli (Tabella_Brodosa) — componenti AI
  • Andrei Corduneanu — modellazione 3D, falegnameria

Repositories

RepoContenuto
lagmabills (questo)Firmware ESP32, codice Python Raspberry Pi, PCB (KiCad), modelli 3D
lagmabills-appApp companion LagmaIpp (.NET MAUI, Windows + Android)
lagmabills-webSito web del progetto

Struttura del repository

text
lagmabills/
├── firmware/
│   ├── firm_esp32_motori/     # Firmware PCBmotori (PlatformIO)
│   └── firm_esp32_sensori/    # Firmware PCBsensori (PlatformIO)
├── raspberry/
│   ├── odometria.py           # Odometria encoder Mecanum
│   ├── occupancyGrid.py       # Mappatura locale log-odds
│   ├── navigator.py           # Navigazione autonoma Potential Field
│   ├── GPS.py                 # Lettura NEO-6M → MQTT
│   ├── myViewerServer.py      # Dashboard web (HTTP + WebSocket + Leaflet)
│   ├── rasp_cam/              # Streaming camera OV5647
│   ├── odo_module/            # Moduli navigazione/mappatura aggiuntivi
│   └── Bamberg/
│       ├── ESP-IDF/           # Firmware ESP-Drone (ESP-IDF)
│       └── firm_drone/        # Bridge MQTT ↔ CRTP/UDP drone + test
├── AI_Bepo/                   # Server AI vocale (wakeword, STT, LLM, TTS)
├── AmazingArm/                # Modelli e risorse braccio robotico
├── PCB/
│   ├── PCBmotori/             # KiCad — ESP32 motori (4-layer)
│   ├── PCBsensori/            # KiCad — ESP32 sensori
│   └── PCBalim/               # KiCad — distribuzione alimentazione
├── Hardware/                  # Datasheet, pinout, power budget, BOM
├── models_3d/                 # Modelli 3D stampabili
└── docs/
    ├── img/                   # Foto e video dimostrativi
    └── LAGMABILLS.pptx        # Presentazione progetto

Hardware

ComponenteDescrizione
Raspberry Pi 4B (4GB)Cervello centrale, broker MQTT, Tailscale VPN
PCBmotori (ESP32, 4-layer)4× JGA25-370 Mecanum + encoder, 2× TB6612FNG, I2C slave 0x08
PCBsensori (ESP32)6× HC-SR04, MPU-6050, 3× TCRT5000, PCA9685 → braccio 6DOF, I2C slave 0x09
PCBalimDistribuzione alimentazione custom, 2× LiPo 3S 5500mAh
ESP-Drone (ESP32-S2)Ricognizione aerea, CRTP/UDP
OV5647 CSICamera RPi, stream MJPEG
ReSpeaker 2-Mic HATWM8960, wakeword ONNX, DOA GCC-PHAT
NEO-6M GPSTracciamento posizione world frame
Display 7" HDMIFaccia animata responsiva (RPi)
Speaker BluetoothAudio stereo, musica / sirene / TTS

Dettagli completi in Hardware/BOM.xlsx e Hardware/pinoutEsp32.xlsx.

Architettura software

Tutto comunica via MQTT (Mosquitto su RPi, localhost:1883, accessibile anche via Tailscale).

text
              ┌─────────────────────────┐
              │  Mosquitto Broker (RPi) │
              └────────────┬────────────┘
     ┌──────────┬──────────┼──────────┬──────────┐
     │          │          │          │          │
odometria   occupancy   navigator  drone_bridge  GPS
     │        grid.py      .py        .py       .py
     │          │
  robot/     robot/
 motori/     mappa/
 stato       grid
TopicDirezioneDescrizione
robot/motori/cmdPi → ESP32Comandi movimento
robot/motori/statoESP32 → PiEncoder + PWM
robot/sensori/distanzeESP32 → PiDistanze HC-SR04 (cm)
robot/sensori/imuESP32 → PiAccelerometro + giroscopio
robot/odometriaPi → tuttiPosa X, Y, θ
robot/mappa/gridPi → viewerOccupancy grid JSON
robot/cliff/statoPi → tuttiStato sensori cliff
robot/nav/cmdapp → Pistart / stop / reset_goal
robot/nav/goalapp → PiGoal {x, y} in world frame
drone/cmd/rpytapp → PiRoll, pitch, yaw, thrust

Installazione (Raspberry Pi)

bash
# Dipendenze Python
pip install paho-mqtt numpy sounddevice onnxruntime websockets \
            flask flask-socketio pyserial pynmea2 faster-whisper psutil

# Mosquitto broker
sudo apt install mosquitto mosquitto-clients
sudo systemctl enable mosquitto

# Driver ReSpeaker 2-Mic HAT
# Seguire istruzioni in Hardware/ o repo seeed-voicecard

# Avviare i moduli (esempio)
python3 raspberry/odometria.py &
python3 raspberry/occupancyGrid.py &
python3 raspberry/navigator.py &
python3 raspberry/GPS.py &
python3 raspberry/myViewerServer.py &

Dashboard web: http://<ip-pi>:8080

Firmware ESP32 (PlatformIO)

Le cartelle in firmware/ sono progetti PlatformIO completi e pronti da compilare (pio run).

Librerie richieste (platformio.ini):

  • PubSubClient
  • ArduinoJson
  • MPU6050_light
  • Adafruit PWM Servo Driver
  • Preferences

Le credenziali WiFi e broker MQTT vengono salvate in NVS e possono essere aggiornate via I2C dal Pi senza reflashare.

📦 Non vuoi compilare tu stesso? Scarica le cartelle sorgente aggiornate automaticamente ad ogni modifica dalla sezione Releases.

Pipeline AI vocale

text
ReSpeaker mic → wakeword ("hey nova") → DOA GCC-PHAT (stima direzione)
    → WebSocket stream PCM16 raw
    → Whisper STT → LLM (Ollama) → Piper TTS (voce "Miro" italiano)
    → audio risposta → Speaker Bluetooth

Demo

Primi test di movimento

https://github.com/Dragonyx118/LagmaBills/raw/main/docs/img/first_test_move.mp4

Prototipo in movimento

https://github.com/Dragonyx118/LagmaBills/raw/main/docs/img/proto_move.mp4

Test braccio robotico

https://github.com/Dragonyx118/LagmaBills/raw/main/docs/img/test_arm.mp4

Struttura in legno

https://github.com/Dragonyx118/LagmaBills/raw/main/docs/img/wood_body.mp4

GitHub riproduce automaticamente i link diretti .mp4 di un repository quando incollati su una riga propria nel README, mostrando un player inline.

Licenza

Hippocratic License 3.0 (HL3-CL-ECO-LAW-MIL-SV) — © 2025 Dragonyx

Parts

21
QtyValueFootprintReferences
110k OhmResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
112V (OFE)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ4
112Vout(5Vin)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4_1x04_P5.00mm_HorizontalJ6
112Vout(for6V)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4_1x04_P5.00mm_HorizontalJ5
1560 OhmResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
15V (OFE)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ3
15V (OFE)2TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ7
16V (OFE)2TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ8
1AlimTestTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ2
1Ceramico 100nF (50V)Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1
1ConnBreakOutUSBCConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ10
1Elettronico 100µF (35V)Capacitor_THT:CP_Radial_D8.0mm_P3.50mmC2
1FUSE HOLDER (IN-OUT)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ9
1IRF4905Package_TO_SOT_THT:TO-220-3_VerticalQ2
1LEDLED_THT:LED_D5.0mmD2
1USB_A (ToESPDRONE/DISPLAY)Connector_USB:USB_A_Wuerth_61400826021_Horizontal_StackedJ11
1XT60PW-MConnector_AMASS:AMASS_XT60PW-M_1x02_P7.20mm_HorizontalJ1

The 17 most common of 21 parts.

More from Dragonyx118/LagmaBills

2
  • 2 layers90.1 × 85.5 mmPCBsens, the printed circuit board in 3D

    PCBsens

    Dragonyx118/LagmaBills

    A Mecanum-wheeled robot for civil protection, powered by a Raspberry Pi orchestrating two custom ESP32 PCBs, sensors, a robotic arm, and a drone companion over MQTT.

    41 parts1
  • 4 layers92.3 × 100 mmPcbMotori, the printed circuit board in 3D

    PcbMotori

    Dragonyx118/LagmaBills

    A Mecanum-wheeled robot for civil protection, powered by a Raspberry Pi orchestrating two custom ESP32 PCBs, sensors, a robotic arm, and a drone companion over MQTT.

    24 parts1

Similar boards

  • 4 layers106.5 × 91 mmRobodev power, the printed circuit board in 3D

    Robodev power

    juleswwebb/portfolio

    A static engineering portfolio for https://juleswwebb.github.io/portfolio/.

    49 parts
  • 2 layers316 × 119 mmTeensy Grovebox, the printed circuit board in 3D

    Teensy Grovebox

    jerry20091103/Teensy_Grovebox

    A portable synth and music multi-tool made with Teensy 4.1

    142 parts150MIT
  • 2 layers50.5 × 52 mmWellerRT Station projekt, the printed circuit board in 3D

    WellerRT Station projekt

    MarcelMG/DIY-Soldering-Station-Controller

    A soldering station controller compatible with Weller RT tips

    45 parts44MIT
  • 2 layers213.6 × 127.5 mmZuendbox v3 32, the printed circuit board in 3D

    Zuendbox v3 32

    fixxl/el-fueradoro

    Open source ignition-system for audio-fireworks

    205 parts10
  • 2 layers108 × 55 mmPower control pcb, the printed circuit board in 3D

    Power control pcb

    HacklabJKL/sergei_cnc2

    Second version of Hacklab's custom built CNC machine

    89 parts6
  • 2 layers120 × 100 mmMowercarrier, the printed circuit board in 3D

    Mowercarrier

    zohebzma2-cmyk/autonomous-mower

    Self-driving zero-turn mower retrofit — RTK GPS, LiDAR, cameras, on-device AI. Hardware + firmware + control software + parametric CAD.

    50 parts5
  • 2 layers77.2 × 50.3 mmDischarger, the printed circuit board in 3D

    Discharger

    Alan-JH/Batt-Discharger

    High current battery storage discharger for TJ UAV

    30 parts2
  • 2 layers80 × 53.6 mmPCB Pump, the printed circuit board in 3D

    PCB Pump

    im-alexis/Capstone-Project

    Team Members: Javier Padilla, Alexis Torres, Ian Skillman, Kiet Le, Evan LeBel, Jesus Hernandez, Jaime Sanchez, Rodrigo Romero

    35 parts2

Questions

How big is the PCBalim PCB?

It measures 78.3 × 60.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PCBalim use?

21 parts, built around the IRF4905 and XT60PW-M. 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 PCBalim KiCad files?

From the Dragonyx118/LagmaBills repository on GitHub, at the commit this page was made from: the board is PCB/PCBalim/PCBalim.kicad_pcb and its schematic PCB/PCBalim/PCBalim.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCBalim design in my own project?

Its repository states no licence, so its author keeps all rights: ask Dragonyx118 before reusing the design.