how to shield arduino uno from external mag fields?

no diodes nor condenser.

Then you need to fit some.