OMG!! Guys, I don't know how to thank you enough. Both the ON and OFF signals work perfectly. I have just tested them with the valves and it does as it should.
One thing I don't understand is, why they bumped the signal up to 12v. I just tried it directly from the Arduino at 5v and it still worked.
You guys are amazing.
Mike.
One thing I don't understand is, why they bumped the signal up to 12v. I just tried it directly from the Arduino at 5v and it still worked.
You guys are amazing.
Mike.
C:
void setup() {
// put your setup code here, to run once:
pinMode (1, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.write(0x56);
Serial.write(0x31);
Serial.write(0x0A);
delay(2000);
Serial.write(0x56);
Serial.write(0x30);
Serial.write(0x0A);
delay(2000);
}
Last edited by a moderator: