Whandall:
To help you design a good system, I have to know the whole picture,
described in words as I layed out in my last post.The data that should be broadcasted needs a description with the same level of detail.
All nodes, all commands, all announcements with ranges for any value.
I understand the Timer structure now
if (millis() - sometime >= 1500){
Timers[1].onTime = 12;
Timers[2].onTime = 12;
Serial.print("Timer 1 on time is ");
Serial.println(Timers[1].onTime);
Serial.print("Timer 2 on time is ");
Serial.println(Timers[2].onTime);
sometime = millis();
}
the dose controller simply broadcasts its counter and for congestion sakes it only needs to broadcast the doseUp and doseDown counter on the multicast pipe about 1 time a second. How ever they need to only receive 3 commands that require ack, doseUpStart command and doseDownStart command, setDoseTime in milliseconds to set how long to turn the pump on for. There will be 4 dose controller total in the whole system i have 2 built and running right now. The ph monitor's is the most simple. The 2 ph module's simply broadcast the 2 float phvalue's on the multicast pipe 1 time every second