Hello everyone, and sorry for having posted such a random topic.
I'd be glad if someone would recommend me a more appropriate title, as I can't figure out any better than the above.
To be honest I haven't investigated much on the forum, as I don't even have a clue what to search for :~ so, please, be easy on me as I'm quite lost...
Trying to explain myself.
In my current setup (but have met the problem countless times on several circuits) I have an Arduino UNO connected to four push buttons, four relays (with specific drivers), and an accelerometer MMA7361.
I'm using Firmata on Arduino and keep monitoring data using Firmata test.
Apparently everything works but whenever I push a button or trigger the relay, the accelerometers starts giving me random data.
(Quite) of course, when original conditions get restored (button no longer pressed or relay released) data return regular as expected.
My belief is that some transient current might interfere with the sensor or some quantumDimensionalBeing living in a distant galaxy connected thru a wormhole to my lab want to disrupt my plans.
Regardless on my considerations, is there any solution?
I'm quite new on electronics and I see often capacitors in the weirdest position OR resistance to ground just for pull-up/pull-down fun, possibly to overcome some of these issues.
Any chance I might get help here?
Thank you in advance.