Hi all,
I’m experiencing an issue with my OSL setup where the loadcell starts the zeroing process, completes the calibration, and begins streaming data normally, but then becomes unresponsive after some time. I am either getting a “Loadcell unresponsive” error or in certain cases, the data streaming won’t even start. My setup uses I2C communication for the loadcell amplifier. I am testing the load cell setup on its own running the reading_loadcell_data.py. The I2C address of the amplifier is 0x66 as supposed to be by default.
- When I run “demo_loadcell_i2c(loadcell_logger=loadcell_logger, clock = clock)” python exceptions indicate issues reading I²C data, e.g.,
OSError: [Errno 5] Input/output errororUnboundLocalError: cannot access local variable 'data'. The loadcell starts recording for a few seconds before disconnecting.
The hardware seems physically fine, and the loadcell works initially, but disconnects mid-stream.
I’m looking for guidance on:
-
Best practices to ensure continuous loadcell streaming.
-
Any known firmware or library issues causing intermittent disconnection.
-
Any ideas on how I could test my hardware setup to confirm whether the issue is loose wiring or something else?
Any advice or troubleshooting tips would be greatly appreciated!