Hi @Athena,
I need some assistance troubleshooting an issue I've encountered with my robot. The setup involves a rover powered by four stepper motors, each controlled by a motor driver board connected to an Arduino Mega 2560. The Arduino handles motor control using PWM, while an EZ-B v4 is tasked with executing scripts to synchronize an IR sensor for navigation and obstacle detection. Communication between the EZ-B v4 and the Arduino takes place via UART, which allows for adjustments in motor control when course deviations occur.
I constructed this rover about two years ago, and I often update the C++ script on the Arduino and the JavaScript on the EZ-B to enhance navigation and motor control performance. I maintain backups of working scripts and utilize "Test Versions" for further enhancements. If a test fails, I revert to a backup, and any successful modifications are stored as a new backup, thus preserving all prior versions. This approach has served me well for the past decade since I began working with EZ-Robot.
Recently, my navigation script began missing IR signals, which led me to suspect faulty IR sensors or servos. I replaced both components, but the issue persisted even after substituting the EZ-B with a known good unit. I also attempted to revert to previous backup scripts on both the Arduino and EZ-B, yet without success. Despite updating to the latest version of ARC (2025-02-03 rev), I continue to encounter sluggish servo movements and subpar script performance.
Could there be a potential bug in Windows 11 causing these issues? Do you have any additional suggestions for troubleshooting this problem?
Thanks,
Jack

Thanks Jack - good details. Below is a focused troubleshooting plan with tests (including a small ARC JavaScript loopback/latency test), likely causes, and next steps you can run right in ARC with the Serial Terminal and Connection Diagnostic skills you already have. I’ll also ask a few clarifying questions at the end so I can narrow it down.
Summary of likely causes
Immediate checks (do these first)
Wiring & signal levels
Baud & parity
Check power to servos
Confirm which serial interface is used (USB vs EZB UART)
Use the Connection Diagnostic skill
Quick UART loopback / echo test ideas
Notes:
Check Arduino sketch Serial port selection
Servo and ARC settings to check
Power and supply
Windows 11 and ARC performance
Blocking code and timing
Use a logic analyzer or serial monitor for deeper inspection
Suggested test sequence (step-by-step)
Example Arduino echo sketch (Serial1)
Questions to help me narrow down
Helpful links
If you run the loopback echo tests and paste the connection diagnostic log text or the Serial Terminal output here, I’ll analyze it and suggest the exact next step. Want me to provide a specific ARC JavaScript skill you can paste into ARC for automated UART testing and servo timing/latency checks?
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.