CH201-00ABR

By rdonfackstegode , 8 September 2021

Hello Together,

I use the CH201-00ABR sensor to develop a distance sensor with IO-Link communication.
We want to use the distance sensor in the area of level measurement and distance measurement.
To adjust the sensor's field of view, we use Acoustic Interface AH-20166-045045.

To get the measured value I use this function:
uint32_t chbsp_stm32_get_range(void) {
ch_dev_t *dev_ptr = &(chirp_devices[0]);
return ch_get_range(dev_ptr, CH_RANGE_ECHO_ONE_WAY);
}

I then call this function in the main. I divided by 32 to get the measured value in mm.
distance = chbsp_stm32_get_range()/32;

According to the datasheet the CH201-00ABR has a measuring range from 20cm to 5m.
Unfortunately, I don't get 20cm out when I measure an object at a distance of 20cm from the sensor.
I also noticed that the readings do not remain stable. (see Attachment)

Can you help me please?

I will be very happy to receive an answer.
Thanks
Best

phpbb Topic ID
39195