Open jwilleke opened 4 months ago
Appears if we power the Pin Rail from an external power supply and then turn it on from an Arduino controlled relay it should do we we need.
Need to find out how that can be done on the Arduino UNO R4 WiFi (ABX00087) or the IO Expansion Shield for Arduino
Installed switch to allow manual intervention to stop pumps from running. This could work as a workaround to a missing feature.
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
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.