Sorry, I couldn't find any breakouts!

I’ve got an I2C/SPI Breakout Garden on a Pi 3 running Buster Lite.

I plugged everything in an ran the installer, but it doesn’t appear to be detecting any of the breakouts.
I’ve installed python-pip and python-smbus since they’re not included with Lite.
I also enabled I2C and SPI in raspi-config

I installed the library for the LCD and tried some of the examples, but nothing happened.

It’s starting to feel like maybe the Garden is faulty?

Products:





An abridged log of what I tried:

$ wget https://github.com/pimoroni/breakout-garden/archive/master.zip
$ unzip master.zip

$ sudo ./breakout-garden-master/install.sh
  Breakout Garden requires I2C. We've enabled it for you.
  Traceback (most recent call last):
    File "autodetect.py", line 2, in <module>
      import smbus
  ImportError: No module named smbus
  Sorry, I couldn't find any breakouts!

$ sudo raspi-config
// Enabled I2C and SPI

$ sudo apt-get install python-pip
$ sudo apt install python-smbus

$ sudo ./breakout-garden-master/install.sh
  Sorry, I couldn't find any breakouts!
$ sudo reboot

$ sudo ./breakout-garden-master/install.sh
  Sorry, I couldn't find any breakouts!

$ sudo apt-get update
$ sudo apt-get install python-rpi.gpio python-spidev python-pip python-pil python-numpy
$ sudo pip install st7789

$ git clone git@github.com:pimoroni/st7789-python.git
$ python st7789-python/examples/shapes.py
  shapes.py - Display test shapes on the LCD using PIL.

  If you're using Breakout Garden, plug the 1.3" LCD (SPI)
  breakout into the rear slot.
// Nothing happened.
// Moved to rear slot.

$ python st7789-python/examples/gif.py deployrainbows.gif
  gif.py - Display a gif on the LCD.

  If you're using Breakout Garden, plug the 1.3" LCD (SPI)
  breakout into the front slot.

  Loading gif: deployrainbows.gif...
  Drawing gif, press Ctrl+C to exit!
// Nothing happened.
// Moved to front slot.
// Tried again. Still nothing


$ i2cdetect -y 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: -- -- -- -- -- -- -- --


$ i2cdetect -F
  Error: No i2c-bus specified!
  Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]
        i2cdetect -F I2CBUS
        i2cdetect -l
    I2CBUS is an integer or an I2C bus name
    If provided, FIRST and LAST limit the probing range.

$ i2cdetect -l
  i2c-1	i2c       	bcm2835 I2C adapter             	I2C adapter

A lot of those breakouts have a message on their product page saying
“Our software does not support Raspbian Wheezy.”

Might be time to switch to Buster.

Sorry, I did mean Buster. It was a fresh install from a fresh download this morning.
🤦‍♂️

Is the hat firmly pressed down / firmly attached to the Pi’s GPIO?

I’ve just tried the same (Raspbian Lite, i2c+spi garden) but with only the SGP30 sensor.

I thought I’d try Raspbian Full and that did the same.

Playing with i2cdetect -y 1, I noticed that it seems to show a device number 0x58 and breakouts.config used by the autodetect.py of breakout-gardens code doesn’t have an entry for 0x58.

I tried the sgp30 example from https://github.com/pimoroni/sgp30-python (also needs pip install smbus2) and that appears to work and notice me breathing on the sensor.

Buster Lite, seems to be missing some stuff that was in previous Lite releases of Raspbian?

I have some breakouts on the way so I’ll be going down that road in the next day or two. I didn’t order the pHat or Hat though. mine will be connected directly. I won’t be using the light version of Raspbian either, I always use the with desktop version.

EDIT: Forgot to mention, I have two BME680’s wired up and working. Pi A+'s running Jessie. Buster wasn’t released when I set them up. For what its worth, I don’t remeber having any install issues.

I am incredibly embarrassed to say that I had all my Breakouts in backwards. No idea how I managed to do that. 🤦‍♂️

Thanks all for your help

Stuff like that happens to the best of us. The way the hat is designed they are protected against that so no harm done. Other than some head scratching etc.