I have two hats a PiJuice UPS and a SenseHat. The GPIO pinouts for each are https://pinout.xyz/pinout/pijuice and https://pinout.xyz/pinout/sense_hat respectively.

When I stack my SenseHat onto the PiJuice and try it out in Python the SenseHat is not seen, with Python issuing the error below

>>> from sense_hat import SenseHat
>>> sense = SenseHat()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/sense_hat/sense_hat.py", line 39, in __init__
    raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device

Both hats work fine separately. So am I right that there is a conflict in how they use the GPIO pins? Or is there another reason?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.