ESP_NOW_V1.2_OLED
Main handheld transmitter with OLED update optimization, EMA analog filtering, and hysteresis deadzone behavior.
Core architecture
This version keeps the mature portal + menu system and focuses on signal quality and runtime efficiency inside the main loop.
Display optimization
Display rendering uses change detection so the SSD1306 updates only when values change. This minimizes I2C bus load and reduces OLED wear.
ADC filtering strategy
Joystick and potentiometer channels use EMA smoothing with tunable alpha.
filtered = (alpha * raw) + ((1.0f - alpha) * previous);
Deadzone stability
Hysteresis margin prevents rapid in/out transitions around center, making vehicle control more stable under noisy ADC conditions.
Build / Flash
cd firmware/transmitter/esp-now-oled/v1.2
pio run
pio run --target upload