Description
Hi! I'm trying to get the Adafruit DC & Stepper Motor Bonnet working on a Nvidia Jetson Nano 4Gb using MotorKit.
I followed the instructions for setting up Circuit Python on the Nano. The motor board is connected to the directly to the Nano and powered sepately from the Nano.
I2C shows the two I2C addresses:
$i2cdetect -y -r 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 -- -- -- -- -- -- --
When I try to from adafruit_motorkit import MotorKit
in python3 console, however, I get an error:
>>> from adafruit_motorkit import MotorKit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bee/.local/lib/python3.7/site-packages/adafruit_motorkit.py", line 42, in <module>
import adafruit_motor.motor
File "/home/bee/.local/lib/python3.7/site-packages/adafruit_motor/motor.py", line 26, in <module>
from pwmio import PWMOut
File "/home/bee/.local/lib/python3.7/site-packages/pwmio.py", line 48, in <module>
raise NotImplementedError("pwmio not supported for this board.")
NotImplementedError: pwmio not supported for this board.
I additionally tried enabling the PWM pins using jetson-io.py, but that didn't fix the error. My jetson GPIO config looks like:
| Select desired functions (for pins): |
| |
| [ ] aud_mclk (7) |
| [ ] i2s4 (12,35,38,40) |
| [*] pwm0 (32) |
| [*] pwm2 (33) |
| [*] spi1 (19,21,23,24,26) |
| [ ] spi2 (13,16,18,22,37) |
| [ ] uartb-cts/rts (11,36) |
| |
| Back |
Thank you for any help!
Metadata
Metadata
Assignees
Labels
No labels