I’m using ARC on Windows with an EZInMoov Robot Head (EZB v4 over WiFi). I added a Sharp GP2Y0A21YK (10-80 cm) under the chin on a micro servo so the head can do a little "who’s there?" sweep. The sensor is powered from a 5V buck (set to ~5.05V), its analog out goes to ADC0, and grounds are tied to the EZB ground. The sweep servo is on D5. In the Sharp IR Radar robot skill I’m scanning roughly 50-130 with small steps.
What I’m seeing: when the scan servo moves, the Sharp IR Radar display’s red dot will occasionally jump to near +5V or drop to 0V for a frame or two, which falsely triggers my proximity logic; when the servo is still, the readings are rock solid. Confirmed with a separate script sampling ADC0 that the spikes coincide with servo motion.
What I’ve tried so far:
- Separate BEC for the scan servo (grounds common to EZB) - improved but not eliminated
- Added 100 F bulk + 0.1 F decoupling at the sensor
- Twisted pairs and moving the analog lead away from servo wires, plus a small ferrite
- Reduced servo speed and increased step delay in the Sharp IR Radar skill
- Left Movement Panel integration disabled (this is just a head, no drive)
A few questions: does the Sharp IR Radar skill apply any averaging or a postmove settle delay before sampling, or expose a filtered variable I can read instead of raw ADC? Is there a recommended way in ARC to synchronize sampling to occur only after each servo step settles? And on the wiring side, is it safe/wise to add a small RC filter (e.g., 1 k series + 0.1 F to GND) on the analog output given the EZB ADC input impedance, or is there a better grounding/star topology you recommend for this setup?
What’s the best ARCside approach (settings or scripting) and wiring practice to eliminate the Sharp IR Radar spikes on my EZInMoov head when the scan servo moves?
