The fans and pumps run on startup until the Arduino code is initialized we need two relays on for 5V and one for 12V supplies to keep them off until the code is initialized.
readCount is a counter that counts the number of reads performed and in the loop() function we use
if (readCount > INITIAL_READER_COUNTER )
{...}
To prevent readings until things settle down.
The sensors run all the time power is applied to the Arduino, but we just do not read them until this counter reaches the INITIAL_READER_COUNTER.
The fans and pumps run on startup until the Arduino code is initialized we need two relays on for 5V and one for 12V supplies to keep them off until the code is initialized.
readCount is a counter that counts the number of reads performed and in the loop() function we use
if (readCount > INITIAL_READER_COUNTER ) {...}To prevent readings until things settle down.
The sensors run all the time power is applied to the Arduino, but we just do not read them until this counter reaches the INITIAL_READER_COUNTER.