I2c sonar & i2c bus speed - how to

Hi,

I want to connect a Maxbotic sonar to my Navio2. As I understand I need to lower the bus speed to 400 khz which is possible/feasible with Navio2.
I tried to add a file with the content "
options i2c_bcm2708 baudrate=400000" like it is described here:

Enabled camera, SPI, I2C and set its speed to 1MHz (if you’d like to
connect a sensor with lower clock speed, edit the baudrate option in
/etc/modprobe.d/i2c.conf)

But this did not help.

Could you please help me?

Hi! Sorry, outdated info in the docs, I’ll update it. I2C speed can now be set using a device tree parameter.
This tutorial should explain it.

1 Like