as part of our training as a state-certified electrical engineer, my team and I develop a drone based on a Raspberry Pi 4 B and a Navio2. Currently we have some difficulties integrating the ultrasonic sensors (SRF08).
We have already tried it unsuccessfully via an Arduino (Arduino to US sensors via i2c bus and via USB to RPi / Navio2) and are currently trying to implement them directly via the i2c bus (without Arduino).
Sensors work fine with the arduino (provide readings via python-script (USB-connection to RPi)) and if we connect one sensor to the RPi/Navio via i2c it is acknowledged (i2cdetect -y 1). If we run some testing scripts though we always get Errno 121.
Which connection we use doesn’t matter, but we´re losing time we don’t have…
Since we can find little up-to-date documentation, we wanted to ask if someone could give us useful advice.