Hello bluerobotics community.
I have a problem in using bar02 pressure sensor , the sensor losses the data unexpectedly and no longer gets readings, i guess the problem is with the wire length due to i2c restrictions (as i extended it to reach my controller )
My length is 40 cm , i don’t know if this is the main reason but i need your help.
Thanks in advance
Hi @Mustafa_Mahgoub -
Welcome to the forums!
Your issues are definitely due to extending the I2C wires. Checkout this guide for potential solutions, and this resource to learn more and potentially correct the problem with appropriate resistors / capacitors. Lowering the frequency of the I2C bus can also help, and won’t affect much given the low data rates involved.