# I2cdetect -y 1 problem

**URL:** <https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276>\
**Category:** Hardware\
**Created:** [8 November 2022 18:34 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276 "2022-11-08T18:34:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [8 November 2022 18:34 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/1 "2022-11-08T18:34:40Z")

</div>

I have a problem with my i2c and some components

When I use the command `i2cdetect -y 1` i see

```auto
     0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         

```

With every symbol taking 1 second after each other to show up. It almost looks like a loading screen...  
my BME280 sensor does not show up when I use the command.

I have a backup SD with a previous version of my flows etc. somehow, when i don't change the **hardware** and **wiring** but **only** swap out the SD the command `i2cdetect -y 1` does pop up at once and I see my BME280 address instantly.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/3/0328ebd07ed9f3682a99cf3dcf53937b19250aa1.png)

Could anyone help me with why one SD could and the other couldn't locate the i2c address?

NPM 6.14.16  
JSON 14.19.0  
Node Red 3.0.2  
versions are equal between the backup SD and my current SD

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [8 November 2022 23:39 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/2 "2022-11-08T23:39:06Z")

</div>

Are the two SD cards using different OS versions?  
On the SD card that doesn't show any addresses, did you turn enable I2C in the raspi-config item 3 (Interface Options)?

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [9 November 2022 22:22 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/3 "2022-11-09T22:22:24Z")

</div>

> [@zenofmud](#):
>
> did you turn enable I2C in the raspi-config item 3 (Interface Options)?

I did!

> [@zenofmud](#):
>
> Are the two SD cards using different OS versions?

Both Rasbian. Not sure which version tho! Is that of significance?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 November 2022 23:02 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/4 "2022-11-09T23:02:49Z")

</div>

> [@WBr](#):
>
> Both Rasbian. Not sure which version tho! Is that of significance?

could be, run the following command `cat /etc/os-release` will give you something like this:

```auto
pi@argonpi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

```

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [10 November 2022 13:15 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/5 "2022-11-10T13:15:37Z")

</div>

It says 10 buster on both SD's

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 November 2022 13:40 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/6 "2022-11-10T13:40:34Z")

</div>

I would try on the SD card with the issue  
`sudo apt update`  
`sudo apt full-upgrade -y`  
and then try the `i2cdetect -y 1`

---

<div class="post-metadata">

**Author:** ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)\
**Post date:** [10 November 2022 14:33 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/7 "2022-11-10T14:33:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/8/98305914a1badcff467c45b3462a2a9d31323147.png)

nope

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 November 2022 14:40 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/8 "2022-11-10T14:40:14Z")

</div>

You should open a thread on the raspberryPi foundation’s forum

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 January 2023 14:40 UTC](https://discourse.nodered.org/t/i2cdetect-y-1-problem/70276/9 "2023-01-09T14:40:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
