Raspberry Pi 3 ist not able to detect Grove Pi

Help!!! I am trying to finish a project for uni but unfortunaly, my Raspberry Pi 3 is not even able to detect my GrovePi? Any advice on what to do? I will be thankful forever! I attached the trouble-shoot output.
log.txt (3.1 KB)

1 Like

Check space left

Dateisystem Grâße Benutzt Verf. Verw% EingehÀngt auf
/dev/root 15G 7,2G 6,5G 53% /
devtmpfs 430M 0 430M 0% /dev
tmpfs 463M 46M 417M 10% /dev/shm
tmpfs 463M 6,4M 456M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 463M 0 463M 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 49M 204M 20% /boot
tmpfs 93M 4,0K 93M 1% /run/user/1000

Check for dependencies

python 2.7.16-1 install ok installed
python-pip 18.1-5+rpt1 install ok installed
git 1:2.20.1-2+deb10u3 install ok installed
libi2c-dev 4.1-1 install ok installed
python-serial 3.4-4 install ok installed
python-rpi.gpio 0.7.0-0.1~bpo10+4 install ok installed
i2c-tools 4.1-1 install ok installed
python-smbus 4.1-1 install ok installed
scratch 1.4.0.6~dfsg1-6 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

RPI3B+ Pi 3 Model B+ v1.3

Check the /dev folder

i2c-1
spidev0.0
spidev0.1
ttyAMA0

USB device status

Bus 001 Device 005: ID 1a2c:2d23 China Resource Semico Co., Ltd
Bus 001 Device 004: ID 30fa:0300
Bus 001 Device 006: 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 6, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
Raspbian for Robots Version

cat: /home/pi/di_update/Raspbian_For_Robots/Version: Datei oder Verzeichnis nicht gefunden

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

1 Like

@atw.heinrich.

There are a few things I can recommend right away:

  1. Are you using Raspbian Bullseye?Β  That will NOT work with the Grove-Pi board.Β  You should download the β€œlegacy” version, (Buster) and use that.

  2. Did you go to sudo raspi-config and make sure that i2c and SPI are enabled?Β  You might want to turn on SSH at the same time.

  3. Did you install the Grove drivers?Β  There is a thread here that discusses just that problem.

  4. Are you using a virtual environment?Β  Don’t.Β  It won’t work.

Give those a try and let us know what happens.

@jimrh Thanks for your reply! :slight_smile:

  1. I use the β€œlegacy version”
  2. Yes, I enabled them!
  3. I am not sure what that means but I will check!
  4. No, I don’t

Still get the same error (Could not open β€œ/dev/i2c-0” No such file or directory)

1 Like

What concerns me is that when you’re checking i2c buss 1, (sudo i2cdetect -y 1), you’re getting nothing.Β  There should be devices enumerated there.

My own robot, (not a Grove board), returns data like this:

pi@GoPiGoOSTest:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- 06 -- 08 -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
pi@GoPiGoOSTest:~ $ 

Each of the numbers represents an enumerated device and the β€œUU” at address 68 represents the Adafruit real-time clock bound to the kernel via a device tree overlay.

As you can see, there should be something there if the board is active and i2c is enabled and active.

Do a forum search for β€œGrove” and look for later posts.

have you removed and re-mated the Grove from/to the RPi checking for any bent pins?

1 Like

That is not an error - or perhaps call it an expected error for Bus 0 which is no longer used. Ignore it.

Issue is you are not seeing I2C Bus 1 devices. This is likely i2c not enabled, or mechanical pin issue, a failed (read-only) SDcard, or bad board.

1 Like