I’m curious what the best way is to add Mikroe click boards to a zephyr project. The connector has a standard layout, so for instance I want to send the water level sense to Golioth with the water detect click. Is there a way to use the Nexus Node or Mikroe-bus compatible to do this instead of doing an overlay for one gpio pin? The next thing I would want to do is a pH click.
I’ve moved this post to the Community topic, as it’s more appropriate than the Golioth Device Help section since it is not directly related to Golioth.
There are a few things we need to consider in order to fully address your question. The first aspect to look into is whether the drivers for the sensor board you want to use are included in the Zephyr tree. If they are, that will make your task much easier. If not, you’ll need to either write your own drivers or import existing ones while utilizing Zephyr’s Sensor subsystem.
Assuming the drivers are available in the Zephyr tree, you will need to enable the sensor board with Kconfig symbols in the application configuration file, and map the sensor board pins to your MCU pins in the overlay file. The next step is to utilize the existing code in the Zephyr tree within your application to retrieve the sensor readings.
You might find this blog post helpful; there are more resources available on the Golioth blog. Additionally, it would be a good idea to ask for assistance directly from the Zephyr community on Discord.