Closed Knaster closed 4 months ago
Changed the sampling rate of ADC1 by changing ads.setDataRate(RATE_ADS1115_128SPS); to ads.setDataRate(RATE_ADS1115_860SPS); in controlReader::controlReader and changed the polling interval of controlReader::controlReader in main.cpp by changing controlReadIntervalTime = 500 to controlReadIntervalTime = 50
So far no noise issues has been detected by changing the sample rate, performance seems to be much better overall but all of this needs to be verified.
got some noise readings on pressure / adc[3] and set averages[3].dataAverageLength = 3; to compensate - seems to work
Partial culprint is I2C speed, changed it too 400kHz, 1MHz does not seem stable
Averager did a wrongful check, averageLength = 1 still added two values. Changed so that the Value is only updated when pDataChanged is true
Works probably as well as can do using the ADS1115's speed. Latency of the fundamental CV input is 4-8 ms on average
Using the Arp Axxe to control the Ekdahl FAR makes for a giant lag when using the V/OCT input and possibly the tune input too?