Hi,
I got the same problem with a brand new Sense HAT (mounted on a PïB3).
The LEDs are blinking white very quickly one time at startup.
After different tests, I believe that there is a hardware misconfiguration of this Sense HAT. And some users are complaining about the same: IMU, P/T, humidity/T sensors are fine and accessed but the LEDS (and joystick) have no I2C address.
The solution could be to flash the Sense HAT EEPROM in order to make all its components accessible.
One guy in Norway could successfully flash it from a Pi2 (because from a Pi3B it was not possible, as I saw). And when mounting it back on his Pi3 the Sense HAT was operational.
I tried your script test.py but it failed because the HW is not visible on the I2C bus and sense_hat.py stops when it tries to access this resource (see details hereafter).
Do you have available tools in order to fully check the HW of the Sense HAT from another computer (from the Pi/Raspbian or through TCP/IP or serial port)?
And do you also have checking tools for Pi HW ? (it could be very useful in the future)
Do you have stable eeprom file and tools in order to update the EEPROM?
Thanks
Best regards
Roger
Pls find more technical details herafter:
=================
I encounter the following trouble, connecting a Pi3B with a brand new Sense HAT :
only the IMU (0x1c and 0x6a), P/T (0x5c) and humidity/T sensors (0x5f) are accessible as proven by the software provided at
https://www.raspberrypi.org/documentati ... sense-hat/ :
Code: Select all
$ RTIMULibDrive11
Settings file not found. Using defaults and creating settings file
Detected LSM9DS1 at standard/standard address
Using fusion algorithm RTQF
Detected LPS25H at standard address
Detected HTS221 at standard address
min/max compass calibration not in use
Ellipsoid compass calibration not in use
Accel calibration not in use
LSM9DS1 init complete
Sample rate 0: : roll:5.379217, pitch:0.279984, yaw:-106.367970
Pressure: 1014.2, height above sea level: -7.5, temperature: 37.2, humidity: 31.4
Sample rate 0: : roll:5.396069, pitch:0.350395, yaw:-106.527626
Pressure: 1014.1, height above sea level: -7.5, temperature: 37.4, humidity: 31.8
(measures are continuously displayed until Ctrl-x)
But the LEDs (and Joystick) managed by Atmel ATTINY88 are not accessible (0x46 ; to be checked - does the Joystick the same I2C address as LEDs or an individual address ? -as could be inferred as 0xf3, considering some articles-):
Code: Select all
$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: — — — — — — — — — — — — —
10: — — — — — — — — — — — — 1c — — —
20: — — — — — — — — — — — — — — — —
30: — — — — — — — — — — — — — — — —
40: — — — — — — — — — — — — — — — —
50: — — — — — — — — — — — — 5c — — 5f
60: — — — — — — — — — — 6a — — — — —
70: — — — — — — — —
So, obviously, the library sense_hat.py is unhappy when it tries to access LEDs (SENSE_HAT_FB_NAME), for instance in the very first example Hello Wordl! at
https://projects.raspberrypi.org/en/pro ... ense-hat/4, as in your case:
Code: Select all
$ python main.py
Traceback (most recent call last):
File “main.py”, line 2, in
sense = SenseHat()
File “/home/pi/Documents/SenseHAT/Helloworld/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
("RPi-Sense FB" is not present on the I2C bus)
So, it seems clear that there is a HW problem with my/the Sense HAT. I believe it's an HW misconfiguration instead of a LEDS system failure.
I tried another Pi3B: same result.
I tried things like add the following line to /boot/config.txt with no success :
I tried to update the EEPROM of the Sense HAT, the most sensible thing to do, but it failed (certainly because done from a Pi3B, and I have no Pi2 to try with).
cf.
https://www.raspberrypi.org/documentati ... sense-hat/
“These steps may not work on Raspberry Pi 2 Model B Rev 1.0 and Raspberry Pi 3 Model B boards. The firmware will take control of I2C0, causing the ID pins to be configured as inputs.”
On march 15, 2016 Simen told us that he could successfully flash the EEPROM of the Sense HAT from a Pi2 and got it operational when putting it back on his Pi3.
I followed the instructions to update EEPROM and it bricked my Sense HAT #326
This seems to confirm my conclusion.
I'm currently stuck here.
===========================================