Skip to content
Projets

Stevee87/Tactical-Radar-System-ESP32-P4-elcrow-Display

Voir sur GitHub

À propos

Tactical LiDAR + 24GHz mmWave radar sensor fusion on ESP32-P4 — 360° room mapping, proximity detection and cyberpunk HUD display.

Autres projets

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+20
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Arduino-ESP32-Radarproject

A tactical sensor fusion display combining 360° LiDAR room scanning and 24GHz mmWave radar tracking, rendered on an ESP32-P4 touchscreen display with a cyberpunk-style interface.

Platform License Status

image1 image0 ---

Hardware

Display Node (Receiver)

Component Details
MCU Elecrow CrowPanel Advance ESP32-P4 5"
Display 800×480 IPS RGB, ST7262
Touch GT911 capacitive
Audio I2S amp via STC8H1KXX

Hardware — Sensor Node

Component Details
MCU Heemol ESP32-S3 N16R8 DevKitC-1
LiDAR FHL-LD19 (360°, up to 12m)
Radar Hi-Link RD-03D (24GHz FMCW mmWave, up to 8m)
IMU LSM6DSOX (Yaw/Pitch/Roll)
OLED SSD1306 (local status)
Power LiPo 3.7V → MT3608 Step-Up → 5V
Charger TP4056 USB-C

⚠️ ESP32-S3, LD19 and RD-03D all run on 5V from the MT3608. The RD-03D will not work reliably at 3.3V.


Wiring

ESP32-S3 Sender

RD-03D Radar (UART1)

ESP32-S3 RD-03D
GPIO4 TX (ESP RX ← Radar TX)
GPIO5 RX (ESP TX → Radar RX)
5V VCC
GND GND

FHL-LD19 LiDAR (UART2)

ESP32-S3 LD19
GPIO15 TX (ESP RX ← LiDAR TX)
GPIO16 RX (ESP TX → LiDAR RX, unused)
5V VCC
GND GND

LSM6DSOX IMU + SSD1306 OLED (I2C, shared bus)

ESP32-S3 Component
GPIO8 SDA
GPIO9 SCL
3.3V VCC
GND GND

Power

Component Connection
LiPo (+) TP4056 BAT+
LiPo (−) TP4056 BAT−
TP4056 OUT+ MT3608 IN+
TP4056 OUT− MT3608 IN−
MT3608 OUT+ ESP32-S3 5V, LD19 VCC, RD-03D VCC
MT3608 OUT− Common GND

Architecture

┌─────────────────────────────┐        WiFi AP         ┌──────────────────────┐
│      ESP32-S3 Sender        │ ══════════════════════> │  ESP32-P4 Display    │
│                             │                         │                      │
│  LD19 LiDAR  → UDP :5005   │  Binary UDP packets     │  radar_display.ino   │
│  RD-03D Radar → UDP :5006   │  LiDAR: angle+dist+int  │  LVGL + Canvas       │
│  LSM6DSOX IMU → UDP :5007   │  Radar: x,y,speed       │  Touch UI            │
│  SSD1306 OLED (local status)│  IMU:   yaw,pitch,roll  │  I2S Audio           │
└─────────────────────────────┘                         └──────────────────────┘

WiFi

  • SSID: RadarSystem
  • Password: radarlidar2026sicher
  • Display IP: 192.168.4.2 (fixed DHCP)

UDP Protocol

LiDAR :5005

[uint8  point_count]
[int16  angle_centideg LE] × N
[uint16 distance_mm    LE] × N
[uint8  intensity      ]  × N

12 LD19 sub-packets are batched per UDP send (BATCH_PACKS=12).

Radar :5006

[uint8  target_count  ]        (0–3)
[int16  x_mm    LE    ] × N
[int16  y_mm    LE    ] × N
[int16  speed_mm_s LE ] × N

IMU :5007

[float  yaw_deg   LE]
[float  pitch_deg LE]
[float  roll_deg  LE]

Display Features

Boot Sequence

  • Cyberpunk boot screen with live status indicators
  • Boot sound synthesized in PSRAM (Neural Link — FM pad + lead sequence)
  • Backlight fades in while sound plays
  • Progress bar: 0% → 50% (WiFi) → 100% (sensor data) → auto-switch

Main UI

  • Full-screen radar scope (green LiDAR point cloud, persistent map)
  • White radar cone (120° FOV) with pulsing ping sweep
  • Red radar targets (solid core, pulsing outer ring)
  • IMU gyro widget in status panel
  • SLAM mode (Hector-SLAM-style scan matching, toggle top-right)

View Toggle

Cycle through display modes via the EYE button:

  • ALL — LiDAR map + radar targets
  • RADAR — radar targets only
  • LIDAR — LiDAR map only

Controls

Control Action
Pinch zoom Zoom in/out (2/4/8/16m)
↑ ↓ buttons Zoom in/out
CW/CCW buttons Rotate map
H button Re-center pan
M button Mute/unmute audio
Volume slider Adjust ping volume
SLAM button Toggle SLAM mode
EYE button Cycle view mode

Audio

  • Boot sound: FM synthesis, ~2s, plays during boot
  • Sonar ping: Submarine-style FM ping, proximity-scaled
    • Frequency: 600Hz (far) → 1600Hz (near), cubic curve
    • Interval: 1200ms (far) → 60ms (near)
    • Volume: scales with proximity

Known Limitations

  • RD-03D is Doppler/FMCW: stationary objects are invisible. Purely tangential motion also produces near-zero signal — targets may drop out even when moving.
  • Intermittent target loss: confirmed to be within the RD-03D's own internal tracking, not firmware or WiFi transmission.
  • SLAM reboots: occasional random reboots under SLAM load are under investigation.

Repository Structure

Arduino-ESP32-Radarproject/
├── firmware/
│   └── lidar_radar.ino        # ESP32-S3 sender firmware
├── display/
│   ├── radar_display.ino      # ESP32-P4 display sketch
│   ├── board_config.h         # Pin definitions
│   ├── esp_panel_board_custom_conf.h
│   ├── bsp_i2c.h
│   └── bsp_stc8h1kxx.h
└── README.md

Libraries Required

ESP32-S3 Sender

  • SparkFun LSM6DSOX (IMU)
  • Adafruit SSD1306 (OLED)

ESP32-P4 Display

  • ESP32_Display_Panel (LCD/Touch)
  • LVGL 8.x
  • lvgl_v8_port (from ESP32_Display_Panel examples)

Credits

Built by @sudo_solder · GitHub: Stevee87

Inspired by prior work on the DFRobot C4001 mmWave radar (SEN0609) with Arduino Giga R1.


Explorer des projets similaires

Chargement…