Hello,
I am using CH201 to detect presence in a room. (package-smartsonic-presence-example-v1_8_0.zip)
I’m using "presence_v22.hex" firmware and maximum range set to 4731mm. (DEBUG_LOG: Sensor 0: max_range=4731mm mode=TRIGGERED_TX_RX num_sample=300 )
However, the highest detection range I am getting is 970mm.
But I confiugred for 4731mm range.
I configured the sensor as did in the presence sensor example code. (package-smartsonic-presence-example-v1_8_0.zip)
In presence detection example below API used to configure sensor:
ch_set_mode(dev_ptr, CH_MODE_TRIGGERED_TX_RX); /* Put all connected sensors in hardware trigger mode. */
ch_set_num_samples(dev_ptr, customer_config.range_in_sample); /* Set the max rx range of the sensor */
"ch_set_num_samples" is used to set range as per sample count.
Let me correct if I am wrong.
Do I need to configure the threshold?
Please let me know if I missed something in the configuration.
Thanks
Nirav Patel