# Loadcell disconnecting

**URL:** <https://opensourceleg.discourse.group/t/loadcell-disconnecting/147>\
**Category:** Support & Troubleshooting\
**Created:** [October 29, 2025, 11:04pm UTC](https://opensourceleg.discourse.group/t/loadcell-disconnecting/147 "2025-10-29T23:04:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cangelid](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@cangelid](https://opensourceleg.discourse.group/u/cangelid)\
**Post date:** [October 29, 2025, 11:04pm UTC](https://opensourceleg.discourse.group/t/loadcell-disconnecting/147/1 "2025-10-29T23:04:36Z")

</div>

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](https://github.com/neurobionics/opensourceleg/blob/main/tutorials/sensors/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 error` or `UnboundLocalError: 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:

1. Best practices to ensure continuous loadcell streaming.

2. Any known firmware or library issues causing intermittent disconnection.

3. 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!
