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