I2C not connecting

i2c is not connecting
led_blink does not blink, but software runs

  • led on
  • led off
  • led on
  • led off

Brand new to Pi & Grove, so bear with me.

Using a 3b+.
Installed Grove Pi+ on top of Raspbian. (Not Raspbian for Robots).
My understanding is that this should work.
I have run a bunch of scripts & installers, but am not sure of what I am doing exactly.

Here is my system info
PRETTY_NAME=“Raspbian GNU/Linux 9 (stretch)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=raspbian
ID_LIKE=debian

firmware has been updated
Managed to get the “focus” message or whatever that was.

** i believe it is mounted properly.**

Here is all_tests.sh log
Check space left

Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 4.5G 9.4G 33% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 13M 452M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M 51% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000

Check for dependencies

python 2.7.13-2 install ok installed
python-pip 9.0.1-2+rpt2 install ok installed
git 1:2.11.0-3+deb9u7 install ok installed
libi2c-dev 3.1.2-3 install ok installed
python-serial 3.2.1-1 install ok installed
python-rpi.gpio 0.6.5~stretch-1 install ok installed
i2c-tools 3.1.2-3 install ok installed
python-smbus 3.1.2-3 install ok installed
scratch 1.4.0.6~dfsg1-5 install ok installed

I2C still in blacklist
SPI still in blacklist

Check for addition in /modules

I2C-dev already there
i2c-bcm2708 already there
spi-dev already there

Hardware revision

Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named ‘auto_detect_rpi’

Check the /dev folder

i2c-1
ttyAMA0

USB device status

Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
Raspbian for Robots Version

cat: /home/pi/di_update/Raspbian_For_Robots/Version: No such file or directory

Hostname

raspberrypi

Checking I2C bus for devices

Checking I2C bus 0

NOTE: it is normal for this one to fail
Error: Could not open file /dev/i2c-0' or /dev/i2c/0’: No such file or directory

Checking I2C bus 1

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –

Checking for firmware version

2 Likes

There has been a lot of recent Grove based activity here.

Have you tried searching for “grove” here in the forum?

Which “raspbian” are you using? If you downloaded Raspbian/Raspberry Pi O/S Bullseye, I would try downgrading to the “legacy” operating system (Buster), installing the relevant Grove libraries and trying again because the Grove libraries are not compatible with Bullseye.

After getting the legacy version set up, (enable SPI and i2c using sudo raspi-config => interfaces), install the Grove libraries by running curl -kL dexterindustries.com/update_grovepi | bash

1 Like