f0cal / google-coral

Community gathering point for Google Coral dev board and dongle knowledge.
109 stars 14 forks source link

Dev Board Mini - Environmental Sensor Board not visible in IIO devices #103

Open edosrecki opened 3 years ago

edosrecki commented 3 years ago

What I ran

I ran the commands from the Get Started Guide to install the Enviromental Sensor Board on my Dev Board Mini. After that I tried running the demo.

Issue

The demo run failed with IO errors, so I went on to investigate and checked the devices in /sys/bus/iio/devices/ directory:

> grep "" /sys/bus/iio/devices/iio\:device*/name

11003000.adc

As you can see there are no hdc20x0, bmp280, opt3001, ads1015 IIO devices there. Therefore I cannot run the example, since it relies on existence of those files.

What am I missing here?

thedevleon commented 2 years ago

I'm having the same issue. Did you manage to fix it?

bquinart commented 2 years ago

I am also trying to get the Environmental Sensor Board to work with the Dev Board Mini. The documentation is vague if this is supported. The product page mentions it is compatible with the Dev Board Mini (https://coral.ai/products/environmental/#compatible-with-coral-and-raspberry-pi-boards), but the docs do not detail anything further.

If I compare the specs of the two boards and the environmental sensor board specs, I do not see a reason that it should not be supported on the Dev Board Mini.

Looks like the overlay is not adapted to the Dev Board Mini (excelsior). The overlay spec for the Dev Board is at https://coral.googlesource.com/coral-cloud/+/refs/heads/master/coral-enviro-devicetree/coral-enviro-board.dts

I am discovering what the device-tree is and these dts files. From what I already understand, this would not work for the Dev Board Mini as for example the "compatible" field would be different (not fsl,imx8mq-phanbell, but mediatek,mt8167) and the target-path would also need to be different (I believe /i2c@1100b000 instead of /i2c@30a30000).

However, not of the updates I am making is having any effect. Even basic dts overlay to disable some component has not yet been successful. I am taking inspiration from https://gist.github.com/Namburger/f700eb6b18bd1e3697638088d5995c8b

Can someone help with dts examples for the Dev Board Mini?

Did someone get it to work?

PedroF87 commented 1 year ago

Hello, even if you do not establish connection, do you see something on the display once is connected to the dev board mini?

swaroop929 commented 6 months ago

Hi, Did someone get it working with Dev Board mini? Please help me here. Thanks a lot in advance