Indio DG21 I/O data mA collect
I use industrino DG21 to collect data from an illuminance sensor that works with a 4-20mA signal (0-2000lx).
Using 14-bit reading (16383 raw_step) and adequate speed (59 rate/s) with a resolution of about 0.13; I would need a higher resolution between 0 - 200lx (4-5.6mA) type 0.02 (10000 raw_step) and less between 200 - 2000 lx (5.6-20mA) type 0.30 (6000 raw_step). Is it possible? and How?
Thanks.
I think the only way is updating the resolution to 18 bit (262 144) to get a res about 0.007629. Lower sampling but higher res.
After that with functions and code you can handle the data.
I use in the past, a PID controller with analog retransmition to get an specific value in the range of 4-20mA.
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
| Asked: 3/17/25, 4:50 PM | 
| Seen: 851 times | 
| Last updated: 4/24/25, 5:49 AM | 
As carlos said, I would write some code defining the resolution before every input reading (or every 5 reading to streamlin the exec a bit), according to last scan's input value.