Hello!
I have one question regarding analog input reading time. We are using analog proximity sensor and it seems that reading time is somewhat delayed (seems more than 100ms).
I am testing this on a simple c program with just printing the result of reading the variable. But the readings seem a bit slow or unresponsive when value changes.
There is no noticable delay with digital inputs.
Do you have any idea why this may be?
Our connection of sensor to aio module.
P.s.
sensor has also option of reading voltage but we do not use it in this application.
Thanks,
Luka
Analog Proximity Sensor Readings
Re: Analog Proximity Sensor Readings
Hi Luca,
we are using such sensors for our exhibts and they work fine and responsive. But please note that there are models out on the market which do have low pass filter functions built in (which sometimes can be configured) controlling their responsiveness in time which behaves reciprocal to the precision of the measurement.
we are using such sensors for our exhibts and they work fine and responsive. But please note that there are models out on the market which do have low pass filter functions built in (which sometimes can be configured) controlling their responsiveness in time which behaves reciprocal to the precision of the measurement.
Unser RevPi Motto: Don't just claim it - make it!
Re: Analog Proximity Sensor Readings
Thanks.
I found out there is a ADC_Data rate settings. Set it to higher value. Works as expected now.
I found out there is a ADC_Data rate settings. Set it to higher value. Works as expected now.
Re: Analog Proximity Sensor Readings
Okay, great!
Yes we do have the same in our AIO module: slower = higher precision...
Yes we do have the same in our AIO module: slower = higher precision...
Unser RevPi Motto: Don't just claim it - make it!