Panasonic HGC-1030 on Arduino R$

HI
I am using Panasonic HG-C1030 sensor with an Arduino R4 and ads1115.
On HG-C1030 i will mensure objects less then 1 milimeter.
The sensor has an analog output option 0-5V or 4-40ma.
On sensor im using 0-5volts
On arduino with ads1115 i can read voltage (ads.computeVolts function) to read a voltage on sensor´s Analog output.
My question its, how to convert votage to milimeters?

sensor data sheet link: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/2325/HG-C_Series.pdf

I looked at the datasheet but did not see any formula to do the conversion of voltage to mm. Keep in mind I am an autistic 82 yo so maybe you or someone younger should read over the specs again just in case I missed something.
Have you tried contacting the manufacturer?

Page 191 seems to indicate you set a minimum and maximum distance, my interpretation is the distance is mapped to 0 to 5vdc (your ADC). It also seems to need 30vdc to work.

An option you always can do is experiment

For distance is A to B in small steps:
- Measure A  mm  ==>  Av volts  10 times
- take the average of the volts
- write the distance and average in a table (Spreadsheet is useful)

Let the spreadsheet try to find a matching formula
If that does not work have a look at

for non-linear approximation of the formula.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.