Akmp
Posts: 2
Joined: Thu May 24, 2018 10:15 am

PiFace relay+ can't be detected during initialisation.

Thu May 24, 2018 12:40 pm

I bought a PiFace Relay+ to easily control some solenoid push magnets with my Raspberry Pi 3 B+.
When i try to initialise the PiFace with.

Code: Select all

pfr = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY)

I get these errors.

Code: Select all

Traceback (most recent call last):
  File "/home/pi/Documents/pifacerelayplus-master/examples/blink.py", line 9, in <module>
    pfr = pifacerelayplus.PiFaceRelayPlus(pifacerelayplus.RELAY)
  File "/usr/lib/python3/dist-packages/pifacerelayplus/core.py", line 248, in __init__
    self.init_board(gpioa_conf, gpiob_conf)
  File "/usr/lib/python3/dist-packages/pifacerelayplus/core.py", line 281, in init_board
    c=self.chip_select))
pifacerelayplus.core.NoPiFaceRelayPlusDetectedError: No PiFace Relay Plus board detected (hardware_addr=0, bus=0, chip_select=0).
It seems like the PiFace can't be found.
My address jumpers are in the right place, SPI is enabled on the RP and i should have the right libraries installed for the PiFace.
I don't really know how to continue troubleshooting these errors and some help on how to approach these issues would be appreciated.

Return to “Add-ons”

Who is online

Users browsing this forum: No registered users and 3 guests