Reading out 30+ sensors at 12bit is a bit slow
Opened this issue · 0 comments
dirkx commented
Illustrate/make it possible how to read out a lot of sensors in parallel. So that each does not take about a second; but mere milliseconds. (i.e. from Nx0.7 second to 0.7 + N x 0.05 seconds).
Example of such a readout -- for 16 sensors; 11 seconds versus < 1 second.
Devices: 16
Sequential: 20.87 24.25 20.44 20.87 21.31 20.87 23.75 20.87 20.81 21.06 20.81 20.69 21.06 20.81 20.75 21.12 [˚C]
Parallel: 20.87 23.19 20.44 20.87 21.31 20.87 23.25 20.94 20.81 21.12 20.87 20.69 21.00 20.81 20.75 21.12 [˚C]
Time taken for a sequential run: 11.22[sec] or 16 x 0.70[sec]/#
Time taken for a parallel run: 0.95[sec] or 16 x 0.06[sec]/# (average, first one may be slow, the rest are fast)
This is the output of the example.