{
  "id": 20225242,
  "title": "Design notes for a touch UI that controls a motor next to TIG high-frequency start",
  "url": "https://urgent.news/2026/11/15/design-notes-for-a-touch-ui-that-controls-a-motor-next-to-tig-high",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-15T20:03:37.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/cato_rendal_ce185d1604cd5/design-notes-for-a-touch-ui-that-controls-a-motor-next-to-tig-high-frequency-start-ld8"
  },
  "original_language": "en",
  "account": "1. The welding positioner controller incorporates an ESP32-P4 touchscreen board, LVGL 9.6 library, NEMA 23 stepper motor, and PUL/DIR driver.\n2. High-frequency (HF) welding noise from the TIG welder introduces RF interference, potentially disrupting touch input on the motorized rotor.\n3. The firmware incorporates six design decisions to mitigate the impact of HF noise on touch input control.\n4. Stop commands act on touch-down instead of click to prevent release events from being lost due to HF noise interference.\n5. Touch read errors caused by HF noise are handled by keeping a press active for a short duration (150 ms) before canceling it, ensuring accurate button press detection.\n6. Fault reset functionality is implemented with a safety check to prevent unintended rotation when a fault is latched.\n7. Heartbeat monitoring and clock synchronization are utilized to detect and handle task stalls or failures, ensuring proper machine behavior during operation.\n8. Flash writes to storage only occur when the system is idle or in E-STOP mode to prevent delays in the E-STOP interrupt.\n9. The same UI runs on a PC using a Windows SDL program, allowing for review, self-testing, and screenshot generation before flashing the firmware to the actual machine.\n10. The firmware includes extensive testing, with 480 native tests and CI running simulator self-tests and layout audits.",
  "summary": "I built a welding positioner (a motorized rotator for pipe and round work) and wrote its controller: an ESP32-P4 touchscreen board, LVGL 9.6, a NEMA 23 stepper and a PUL/DIR driver. A TIG welder with high-frequency (HF) start throws a lot of RF noise. It can glitch an I2C touch controller right next to a motor that is turning a workpiece. These are six decisions in the firmware that came from…",
  "key_points": [
    "ESP32-P4 touchscreen board controls motorized rotor in welding positioner controller",
    "High-frequency TIG welder noise interferes with touch input, mitigated by firmware design",
    "Touch read errors due to HF noise handled with 150 ms active press duration"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}