About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

The Blog: ADC Pi read speeds

09 Apr 2015

AB Electronics UK blog post

Today we received a question from a customer who was asking how fast the ADC Pi could sample all of its 8 input channels and log to a file .

We modified one of our Python 3 demo scripts to run a loop of 100 sample of each of the 8 channels so it would scan channels 1 to 8 saving to a text file for each scan and this was repeated 100 times.

The script logged the number of seconds which the script took to run and we then imported this into Excel to calculate the time taken for each set of 8 channels and each individual channel.

The table below shows the results of each test when run at 18 bit mode, 16 bit mode, 14 bit mode and 12 bit mode.

Bit Rate Time in seconds Loops Time per 8 channels Single Channel SPS Hertz
18 197.39 100 1.9739 0.2467375 4.05289
16 50.455 100 0.50455 0.06306875 15.85571
14 13.619 100 0.13619 0.01702375 58.74146
12 4.447 100 0.04447 0.00555875 179.8966

 


Back to the Blog.