[Solved] LoPy & PySense - OS Error: I2C bus error
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 init
when trying to "restart" the Pysense board by calling Pysense() again I get the following error:
Exception: Pysense board not detected
I 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?
this was indeed the problem. Overlooked that the PySense board can be updated seperately.
Many thanks for the quick help!
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.