So I did a bit more reading, and tried a few more things to read the response from the WattNode, but not luck. I'm checking with Serial.available(), but still am not seeing anything.
int EN = 2;
int incomingByte = 0; // for incoming serial data
void setup() {
pinMode(EN, OUTPUT);
Serial.begin(9600);
digitalWrite(EN,HIGH);
}
void loop() {
for (int i=0; i<5; i++) {
digitalWrite(EN,HIGH);
Serial.write((byte)0x01);
Serial.write((byte)0x03);
Serial.write((byte)0x05);
Serial.write((byte)0x14);
Serial.write((byte)0x00);
Serial.write((byte)0x16);
Serial.write((byte)0x84);
Serial.write((byte)0xCC);
delay(100);
digitalWrite(EN,LOW);
}
delay(2000);
digitalWrite(EN,LOW);
// send data only when you receive data:
if (Serial.available() > 0) {
// read the incoming byte:
incomingByte = Serial.read();
// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, DEC);
}
digitalWrite(EN,HIGH);
delay(1000);
}