When my Pi4 is powered by the genuine Pi4 PSU, the electrical interference is outrageous. Initially I thought it was noise from all the other equipment but one by one I eliminated everything possible to the point i was sitting in the dark. I came across others discussing their systems being powered by a battery and that gave me the idea of testing and eliminating the PSU. I hooked up a portable battery, just a normal phone charger type, and to my delight after many hours of research, testing and purchasing, I had finally found the culprit, that damn Pi4 PSU.
I purchased a Pi5 thinking that a new model would be better but to my surprise, not even close.
I have now gone down a rabbit hole of isolators, buck converters, “clean” power, GND star, separating “dirty” & “clean” devices like relays & sensors etc with seperate power sources to busses including a separate Pi power source, twisted shielded high end cable, non-twisted non-shielded (and other possible combinations) and many other scenarios.
After consulting others that are smarter than me, the general consensus was to use a 24v PSU, LM2596 24-5v Buck, ISO1540, star GND, separate power sources to a clean rail (I2C sensors) and a dirty rail and a XC5015 for the Pi power through the USB-C. The contentious part is how each of those boards are wired in the circuit.
24v PSU, GND star, Buck 24-5v, ISO1540 (Pi’s 3.3v, GND, SDA, SCL on the other side).
One idea presented was to place the buck further downstream where a 5v bus went to the sensor bus and ISO1540 and after a GND bus near the sensors (that was fed to the star), a GND wire went into the buck’s -IN then the -OUT went straight back to that GND bus then to the star. How this would work didn’t make sense to me but while most others disagreed, they understood the concept. Other scenarios were tested (wire gauge, boards positioning, swapping XC and buck, ferrite beads etc).
How would you wire these boards in?
Would you prefer a totally different way/boards?
I do have Qwiicbus End points to try and Pi Pico but surely the original Pi4/5 PSU can’t be that bad and there’s a more obvious answer.
pH sensor is the most affected so it’s the only one i’m referencing going forward.
Screenshot shows the difference between operating on the battery then after it went flat i swapped to the original PSU.
Details:
Pi4
i2c
Atlas sensors
240v mains



