[Solved] LoPy & PySense - OS Error: I2C bus error
-
Hello all,
for playing around with LoRa I bought a LoPy and PySense development board. It is working fine - for a few minutes. After a few minutes I always receive the following error:
OS error: I2C bus error
Traceback (most recent call last):
File "<stdin>", line 128, in <module>
File "<stdin>", line 121, in <module>
File "/flash/lib/pysense.py", line 76, in initwhen trying to "restart" the Pysense board by calling Pysense() again I get the following error:
Exception: Pysense board not detectedI have to disconnect power, wait a few seconds and then it works like a charm again for before the error is thrown a again a few minutes later.
Anyone knows where this error might come from? Is the PySense board defective?
-
Hi Alex,
this was indeed the problem. Overlooked that the PySense board can be updated seperately.
Many thanks for the quick help!
-
Hi @aktivalux,
Have you updated the firmware on your Pysense Board? Please see these (https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html) instructions for how to update the Firmware on the Pysense.
Both the LoPy and Pysense board should be running the latest code for the best performance.
Thanks,
Alex