# Issues during startup (Loadcell/ADC)

**URL:** <https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182>\
**Category:** Support & Troubleshooting\
**Created:** [January 23, 2026, 8:10pm UTC](https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182 "2026-01-23T20:10:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konrad](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Konrad](https://opensourceleg.discourse.group/u/Konrad)\
**Post date:** [January 23, 2026, 8:10pm UTC](https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182/1 "2026-01-23T20:10:24Z")

</div>

Hi, I am a student using the OSL for research and been able to preform the basic motion test (homing joints, setting desired angles, etc.) but when I try using the compiled controller or any usage of the Loadcell/ADC sensors I am met with this error

[

[2026-01-23 14:59:20,436] INFO: [Loadcell] Starting data acquisition… [2026-01-23 14:59:20,437] INFO: Starting ADC… Traceback (most recent call last):

…self.\_spi.open(self.\_spi\_bus, self.\_spi\_cs)

FileNotFoundError: [Errno 2] No such file or directory

]

I am unsure what is the issue and have been troubleshooting for a few days

Is this also an issue that would cause the State Machine to not activate?

I was not the student who built the leg so I am not 100% confident that everything is sound on that end.

---

<div class="post-metadata">

**Author:** ![ldevillez](https://yyz2.discourse-cdn.com/flex036/user_avatar/opensourceleg.discourse.group/ldevillez/32/71_2.png) [@ldevillez](https://opensourceleg.discourse.group/u/ldevillez)\
**Post date:** [January 29, 2026, 8:35am UTC](https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182/2 "2026-01-29T08:35:20Z")

</div>

Hi @Konrad

Welcome to the forum.

First there is a way to format the code (Ctrl+E) which makes it easier to read 😉

The errors means that you tried to open a specific spi bus (defined by the `self._spi_bus` and the `self._spi_cs`) but it did not find it. First check your configuration (`sudo raspi-config`) and make sure that the spi is enabled. You can also see if there is error about the spi with `dmesg | grep spi.`

You will need to fix this to have a correctly working FSM.

---

<div class="post-metadata">

**Author:** ![Konrad](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Konrad](https://opensourceleg.discourse.group/u/Konrad)\
**Post date:** [February 13, 2026, 3:16pm UTC](https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182/3 "2026-02-13T15:16:46Z")

</div>

Thank you so much for your response, it pointed me in the right direction

By following your directions I was able to get past the Loadcell/ADC issue and have been looking into the SPI of my device. Unfortunately I have ran into another issue (Error num 5 - Input Output Error - the connection to the ankle is failing). The leg I am using uses I2C bus 1 and should have register 66 and 69 running for the knee and ankle respectively but it is only detecting register 66. I think that this is an electrical issue and am currently checking the wiring of the ankle for issues. Let me know if there is anything that I should also be considering.

(Picture of current error state below)

 ![OSL ERROR 2](https://canada1.discourse-cdn.com/flex036/uploads/opensourceleg1/original/1X/860cbe16e5cf8dedbb9fc7312d959d65a53957e8.png)

---

<div class="post-metadata">

**Author:** ![ldevillez](https://yyz2.discourse-cdn.com/flex036/user_avatar/opensourceleg.discourse.group/ldevillez/32/71_2.png) [@ldevillez](https://opensourceleg.discourse.group/u/ldevillez)\
**Post date:** [February 15, 2026, 5:00pm UTC](https://opensourceleg.discourse.group/t/issues-during-startup-loadcell-adc/182/4 "2026-02-15T17:00:18Z")

</div>

Hi @Konrad,

I suggest that if you encounter a problem which is not directly related to the subject of your post, you create a new post. It makes it easier for other people to help you but also to fix their own problems. So instead of replying to this post I would suggest you to create a new post with all the information and the reply to this post.

What are the devices connected to your PI ? How are they connected ?
