George, I'm taking my readings from the back of an analog amp meter. The amps are already shown and the motor load is manually controlled. Being that most operators don't care if maintenance workers have to change out parts. I want to build something to factor out "stupid"
int loadSensor = analogRead (A0);
float readLoad = loadSensor * (5.0 / 1023); //converts input signal to voltage reading
int llrPin = 1; //Load Limiting Relay
void setup() {
// put your setup code here, to run once:
pinMode(llrPin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
if (readLoad >= 5 && millis(480000))digitalWrite(llrPin, HIGH);
if (readLoad >= 4 && millis(1500000))digitalWrite(llrPin, HIGH);
if (readLoad >= 3.33 && millis(3000000))digitalWrite(llrPin, HIGH);
}