Ignore all that. I got it to work too. For some reason I also need to set the Monitor settings in raspi-config.
So changes were:
#dtoverlay=ubiquity_led_buttons
dtoverlay=rpi-sense
status_led=None
button_device_name=None
raspi-config
- 7 Advanced Options
- A5 Resolution
- DMT Mode 4 640x480 60Hz 4:3
Hi Francesca, did you end up getting this working?
I tried commenting out dtoverlay=ubiquity_led_buttons
in the config.txt file, but then I can’t connect to the Raspberry Pi, and get the following error when I tried to connect via ssh:
ssh ubuntu@test.local
ssh: Could not resolve hostname test.local: Name or service not known
This persisted even when I commented out status_led
and button_device_name
from the /etc/pifi/pifi.conf
. I also tried setting them both to None
but that didn’t allow me to connect either?
If I unplug the Sense Hat with those settings changed it connects again via SSH?
If I don’t comment out dtoverlay=ubiquity_led_buttons and have the Sense Hat attached, it connects fine, but I can’t run any programs and get the following error:
raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device
From a basic program like:
from sense_hat import SenseHat
sense = SenseHat()
sense.show_message(“Hello world”)
The RTIMULibDrive11
program works though and outputs readings from the Sense Hat for the roll, pitch, yaw, and temperature fine.
Adding dtoverlay=rpi-sense
to the config.txt
file didn’t fix it either?
Going to try on another raspberry pi image, to check the Sense Hat works now.