Adafruit_Blinka: Board not supported exception
Hi, I’m just trying to test the DC-Stepper Motor HAT following the online instructions located here: https://learn.adafruit.com/simple-raspberry-pi-robot/hardware
It’s a Raspberry Pi 3 with Jessie that I’ve apt-get updated/upgraded.
I’m running a Python3 virtual env and adafruit-blinka and adafruit-circuitpython-motorkit pip3 installs worked without error.
(car1) pi@picar:~/car1 $ uname -m
armv7l
(car1) pi@picar:~/car1 $ pip list
Package Version
-------------------------------- -------
Adafruit-Blinka 1.0.2
adafruit-circuitpython-busdevice 2.2.7
adafruit-circuitpython-motor 1.3.3
adafruit-circuitpython-motorkit 1.2.3
adafruit-circuitpython-pca9685 3.2.3
adafruit-circuitpython-register 1.3.2
Adafruit-PlatformDetect 0.0.7
pip 18.1
rpi-ws281x 4.1.0
RPi.GPIO 0.6.5
setuptools 40.6.3
spidev 3.2
wheel 0.32.3
However, I cannot run any of the examples to test the motors and am not experienced enough to understand how to debug.
(car1) pi@picar:~/car1 $ python3
Python 3.4.2 (default, Sep 26 2018, 07:16:01)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from adafruit_motorkit import MotorKit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/car1/lib/python3.4/site-packages/adafruit_motorkit.py", line 59, in <module>
import board
File "/home/pi/car1/lib/python3.4/site-packages/board.py", line 59, in <module>
raise NotImplementedError("Board not supported")
NotImplementedError: Board not supported
I’ve also run the tests for i2c and spi
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
(car1) pi@picar:~/car1 $ sudo 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: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --
(car1) pi@picar:~/car1 $ ls -l /dev/spidev*
crw-rw---- 1 root spi 153, 0 Dec 24 14:42 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Dec 24 14:42 /dev/spidev0.1
Any suggestions on how I could troubleshoot further? Appreciate your time.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (12 by maintainers)
Commits related to this issue
- fix for https://github.com/adafruit/Adafruit_Blinka/issues/66#issuecomment-449881482 — committed to ladyada/Adafruit_Python_PlatformDetect by ladyada 6 years ago
- pi revision codes: add overvolt / overclock indicator codes to list See https://github.com/adafruit/Adafruit_Blinka/issues/66 for rationale. — committed to adafruit/Adafruit_Python_PlatformDetect by brennen 6 years ago
please open a new issue instead of bumping a closed issue
@ladyada , @brennen , thanks for your help!!