Hello. Let me apologize first off at my complete lack of knowledge.
Here's a little background on what I want to do. I am using a 20A ACS712 current sensing board to sense current (obviously)... the way the circuit is setup, when there is no current being sensed, it outputs roughly 410 on the serial monitor (roughly 2V). When it senses current, the output goes up. I am running the output of the ACS712 to the A0 analog input on my arduino uno. I am then running Pin 9 to a continous rotation servo and using the servo library.
So, my goal is to plug in the arduino and have it sit idle, not rotating the servo, and once it senses the voltage input go above 420, i want the servo to rotate for a set amount of time and then stop. I would like it to then sit idle at the higher voltage state, and rotate the opposite direction once the voltage input goes back below 420.
I'm sure this is not that difficult but I have no experience with this stuff until yesterday.
Thanks in advance