10V AC on Pi 5V rail is not plausible.
Just measured with a multimeter in AC mode around 3mV AC on a PI4 5VDC rail. Original raspberry power supply.
The results you see could depend on the quality of your multimeter or how you measure these voltages. Perhaps use another multimeter or look to the signals using a scope (did you already receive your scope?).
Spikes on GPIO inputs can have many reasons, especially if there are power motors involved.
General advice is
- separate power rails from gpio input GND, Use optocoupler eventually.
- keep power cables away from sensor cables.
- use twisted pair and shielding for sensor cables.
- look into protecting inputs https://www.digikey.de/en/articles/prot ... lectronics
A schema of your setup would allow for more specific advice.
Just measured with a multimeter in AC mode around 3mV AC on a PI4 5VDC rail. Original raspberry power supply.
The results you see could depend on the quality of your multimeter or how you measure these voltages. Perhaps use another multimeter or look to the signals using a scope (did you already receive your scope?).
Spikes on GPIO inputs can have many reasons, especially if there are power motors involved.
General advice is
- separate power rails from gpio input GND, Use optocoupler eventually.
- keep power cables away from sensor cables.
- use twisted pair and shielding for sensor cables.
- look into protecting inputs https://www.digikey.de/en/articles/prot ... lectronics
A schema of your setup would allow for more specific advice.
Statistics: Posted by ghp — Thu Jan 16, 2025 6:07 am