Hi, I wanted to know, if there´s some experience and maybe examples of evaluating the possible speed to get out of the MCP3208 with python.
I´m totally aware about pythons overhead but it´s required for my project. As I saw for the ADC DAC board it states that with python 12ksps would be possible. Those boards are comparable, or am I misstaking?
I did some basic testing of sampling one channel with 512 samples and timed it. If I break it down to one sample it results in ~21ksps.
Just wanted to double check if some experienced simimlar performance or can give me some guidance.
Thanks & greetings
test = np.zeros(N)
adc = ExpanderPi.ADC()
T_start = datetime.datetime.now()
for n in np.arange(0, N):
test[n] = adc.read_adc_voltage(1, 0)
T_end = datetime.datetime.now()
T_sample_all = (T_end - T_start).total_seconds()
T_sample_one = T_sample_all/N