I am trying to read the current value of my linear actuator. I am using 12V relays to make the actuator go back and forth. I have the ACS712 attached in series with the actuator and the relay.
Here is a link to how I have it setup:
Problem is, the current reading show no increase when the actuator is in motion(I have attached a 5kg weight to it so some force is exerted on the motor). Not only this, the reading should range from +ve to -ve , depending on the direction. There is never a -ve value shown and the current remains constant no matter what I do.
This was not an issue when I was running the actuators usings the L298D motor driver and had attached the ACS712 to it in a similar manner. With the L298, it was showing proper values.
I am not sure whats going on. The actuator goes back and forth using the relay. Shouldn’t the current sensor give +ve and -ve values for it as well?
Any pointers would greatly help!