We are developing a custom board using nrf52811 we have CH201 sonsor on board but can't find a way to program it.
have anyone had an experience with it or is there Nrf sdk for such thing?
We are developing a custom board using nrf52811 we have CH201 sonsor on board but can't find a way to program it.
have anyone had an experience with it or is there Nrf sdk for such thing?
Hello,
You can find an overview of supported sensors in zephyr (nRF Connect SDK) here:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/sensor.html
My suggestion is to either use one of those supported already, alternatively modify an existing sensor driver to fit with the read and write configuration of the CH201, or alternatively you need to use the i2c api to write your own driver to interface with the CH201:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/i2c.html
In all the above cases I recommend a logic analyzer to be able to view the data going between the nRF52 and CH201 for debugging. This will make it much easier to compare with the datasheet of the CH201 when you experience issues with init or interpret data.
Best regards,
Kenneth
Hello,
You can find an overview of supported sensors in zephyr (nRF Connect SDK) here:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/sensor/sensor.html
My suggestion is to either use one of those supported already, alternatively modify an existing sensor driver to fit with the read and write configuration of the CH201, or alternatively you need to use the i2c api to write your own driver to interface with the CH201:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/i2c.html
In all the above cases I recommend a logic analyzer to be able to view the data going between the nRF52 and CH201 for debugging. This will make it much easier to compare with the datasheet of the CH201 when you experience issues with init or interpret data.
Best regards,
Kenneth
Hi
Currently, i am working on the ch101 ultrasonic sensor. But it doesn't have any sources. Could please give me any or source
Warm Regards,
Rajendra