ESP32 Ghost Laps: Solving WiFi EMI Interference on a Slot Car Track

Added:

Build Challenge
Wi-Fi Conflict
Noise Solution
Reliable Finish

Build Challenge

0:00
Playing Section
  • 1

    Identified need for lap counter on slot car track.

  • 2

    Selected ESP32, IR sensors, and seven-segment displays.

  • 3

    Initial setup functioned but lacked reliability.

Basic understanding of microcontrollers, specifically the ESP32, and how GPIO (General Purpose Input/Output) pins detect digital state changes.
The concept of Electromagnetic Interference (EMI) and how high-frequency RF signals (like 2.4GHz WiFi) can induce transient voltages in nearby copper wires.
How hardware interrupts function in embedded systems, including Interrupt Service Routines (ISRs) used for time-sensitive event detection.
The fundamentals of switch bouncing and basic software debouncing methods.
Advanced hardware EMI mitigation techniques, such as differential signaling, opto-isolation, low-pass filtering, and physical shielding.
PCB layout design principles for high-frequency circuits, focusing on ground plane integrity and decoupling capacitor placement.
Implementing software-defined latching mechanisms and finite state machines to filter out complex anomalous transient triggers.
Studying Electromagnetic Compatibility (EMC) testing procedures and compliance standards (such as FCC and CE regulations) for electronic consumer products.
532 views12likes6:45@iotmonkcomOriginal Release: 2026-03-08

When building sensor-based systems with ESP32 microcontrollers, electromagnetic interference from Wi-Fi transmission can create ghost readings that appear as legitimate sensor triggers; the solution involves using a latch-and-reset pattern where the system arms a latch when the sensor goes low, kills it on any rising edge, and only counts the signal if the latch survives an uninterrupted low state for a specific duration (such as 20 milliseconds), distinguishing true continuous signals from the oscillating bursts caused by Wi-Fi noise.