Electromagnetic Interference while using Arduino and Sensors

Hi guys I am designing a viscosity sensor for which i need motor's current and rpm. For rpm i am using hall sensor a3144 which gives high in the presence of magnetic field. I have attached a small magnet with shaft of motor to find rpm. For current measuring i am using ina219 current sensor. The problem is when i am supplying voltage to the motor directly it gives correct rpm but when i am giving it through ina219 current sensor it drastically increases the rpm. anyone have any solution?

*connected small magnet with shaft of motor
*hall sensor a3144

Please show your code, your schematic, and some good, clear pictures of your setup.

Study the post 'How to get the best out of this forum' for details of how to do that.

1 Like

Wiring is critical, show a picture of that along with the annotated schematic.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.