Raspberry 3 Buster can't find 0/16/16
Posted: Wed Nov 11, 2020 3:44 pm
Hi!
I followed the instructions in: https://www.phidgets.com/?view=articles ... ialStartPi
on a totally new installation of Buster on a Raspberry Pi 3 model B v1.2
and have an external power supply attached to a hub between the Pi and the Phidget. I can do lsusb and get:
Bus 001 Device 009: ID 06c2:0044 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 0-16-16
Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
but when I go to Thonny python and run:
from Phidget22.Phidget import *
from Phidget22.Devices.DigitalOutput import *
import time
def main():
testOut = DigitalOutput()
testOut.setHubPort(1)
testOut.openWaitForAttachment(5000)
testOut.setDutyCycle(1)
try:
input("Press <Enter> to stop!\n")
except (Exception, KeyboardInterrupt):
pass
testOut.close()
main()
I just get a timeout in the openWaitForAttachment saying no phidget was found! I tried adding the serial number before the attach, changing hub port, but still no luck.
I have unplugged from the Raspberry and plugged into the pc and the Phidget control board there works fine, so the Phidget in itself is OK.
I followed the instructions in: https://www.phidgets.com/?view=articles ... ialStartPi
on a totally new installation of Buster on a Raspberry Pi 3 model B v1.2
and have an external power supply attached to a hub between the Pi and the Phidget. I can do lsusb and get:
Bus 001 Device 009: ID 06c2:0044 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 0-16-16
Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
but when I go to Thonny python and run:
from Phidget22.Phidget import *
from Phidget22.Devices.DigitalOutput import *
import time
def main():
testOut = DigitalOutput()
testOut.setHubPort(1)
testOut.openWaitForAttachment(5000)
testOut.setDutyCycle(1)
try:
input("Press <Enter> to stop!\n")
except (Exception, KeyboardInterrupt):
pass
testOut.close()
main()
I just get a timeout in the openWaitForAttachment saying no phidget was found! I tried adding the serial number before the attach, changing hub port, but still no luck.
I have unplugged from the Raspberry and plugged into the pc and the Phidget control board there works fine, so the Phidget in itself is OK.