📹 CCTV
Camera grid, video feeds, heatmaps, PiP signal overlay, model selection, mock traffic.
🔧 Engineering
Timing parameters, Min/Max Green, PHF, saturation flow, heavy vehicle %, pedestrian settings.
📊 Analytics
Real-time KPIs, Chart.js live charts, LOS gauge, queue clearance rate, V/C trend.
📡 V2X
Connected vehicles (BSM/SPAT), sensor fusion, GLOSA, intersection collision prediction.
🎛 Controller
Ring-barrier diagram, NTCIP 1202 export, signal head SVG, phasing configuration.
📈 Reports
PDF/XLSX/CSV export, evaluation engine, corridor time-space diagram, print reports.
🌉 Corridor
3-signal green wave, offset optimization, time-space diagram, TOD coordination plans.
📚 References
HCM 7th, Webster, MUTCD Warrants, NTCIP 1202, SAE J2735 — all engineering references.
•Adaptive AI: The system learns from queue clearance patterns. Green times adjust automatically via EMA learning (α=0.05) targeting 85% queue clearance.
•Signal Head Detection: Click 🚦 Signal on any CCTV cell to detect the traffic light color from the camera feed using HSV classification.
•PiP Overlay: Click ◉ PiP to show a circular signal head camera overlay on top of the road camera feed.
•Calibration Wizard: In the Engineering tab, use the wizard to auto-calibrate saturation flow via 15-sec count, 5-min volume, or density+speed methods.
•Timing Presets: Quick-switch between Off-Peak, Peak, School AM/PM, Event, and Emergency presets.
•MQTT Deploy: Connect to an MQTT broker and deploy timing plans directly to Raspberry Pi / ESP32 hardware.
•WebRTC Cameras: Use your phone as a live camera node — scan the QR code to connect up to 4 phones.
•MUTCD Warrants: The system evaluates all 7 MUTCD warrants (W1–W7) to determine if signal installation is justified.
•Evaluator Mode: Switch to Evaluator mode to score an existing signal's performance and get recommended retiming.
•Features Document: Click 📋 Features in the FAB menu (bottom-right) to export a comprehensive academic PDF.
Deploy signal timing plans directly to ESP32/NodeMCU hardware via MQTT. The ESP32 controls physical traffic lights through relay modules with full fail-safe protection.
-
1
Open Deploy Modal: Click the 📡 Deploy button in the header bar (top-right). The Deploy modal opens with all source options.
-
2
Select MQTT Source: Click the 📡 MQTT card in the Input Source section. The MQTT Connection Configuration panel appears with Broker URL and Topic fields.
-
3
Connect to Broker: Enter the MQTT broker URL (default: wss://broker.emqx.io:8083/mqtt) and topic (default: atsc/signal/timing). Click 🔌 اتصال بالهاردوير (Connect to Hardware).
-
4
Verify Connection: The ESP32 Online badge appears in green. The Hardware Control Panel activates with timing and emergency buttons.
-
5
Deploy Signal Timing: Click 📡 تحديث توقيت الإشارة (Deploy Signal Timing). The system sends the calculated green/yellow/red times as {"green":30,"yellow":4,"red":20} to the ESP32.
-
6
Emergency Override: For ambulances or emergency vehicles, click 🚨 اختراق اضطراري للطوارئ (Emergency Override). Select direction (N/S/E/W or ALL) and duration. The ESP32 immediately opens green for that direction.
-
7
Fail-Safe Protection: If WiFi or MQTT connection drops, the ESP32 automatically reverts to standard timing (Green 30s / Yellow 4s / Red 30s) and continues operating autonomously until connectivity returns.
Hardware Wiring: ESP32 GPIO 12 → Red, GPIO 13 → Yellow, GPIO 14 → Green (via relay module). See server/esp32-arduino/WIRING.md for complete wiring diagram.
●EVP: Emergency Vehicle Preemption — auto-detects emergency vehicles and preempts signal.
●TSP: Transit Signal Priority — extends green or early-green for approaching buses.
●Rail: Railroad preemption with track clearance sequence (MUTCD 8D.07).
●Dilemma Zone: Extends green to protect vehicles in the dilemma zone.
●Conflict Matrix: NTCIP 1202 geometry-aware conflict detection between phases.
●Fail-Safe: Forces flashing Red/Yellow on any safety violation.