Agreed. That HAT should work out of the box on the full jessie image. If it doesn't, it might be a problem with the hardware, in which case you should get it replaced.geotek wrote:If the Sense Hat is to be encouraged for young students, the instructions must be more complete and easy to understand.
Not as far as I know.geotek wrote:Re SenseHat Difficulties
Do I understand correctly - The Jessie version of OS already contains Sense-Hat software?
Code: Select all
sudo apt-get update sudo apt-get install sense-hat sudo pip-3.2 install pillow
Yesgeotek wrote:The Jessie version of OS already contains Sense-Hat software?
Correct, it's already installed.geotek wrote:I also understand that you do not need to install Upgrade and Pillow, is this correct?
i2c-tools is not needed for i2c to work, they're just debugging tools. So no, they are not installed when i2c is enabled. I haven't seen any instructions saying you need to install that for the sense hat. You also don't need to enable i2c, unless you've manually disabled it before.geotek wrote:When you Raspi-Config and choose I2C does this enable i2c tools automatically, as I have seen instructions to manually install, if so why?
'sudo apt-get install sense-hat', but that's already taken care of.geotek wrote:What specifically do I need to install for Jessie version to get SenseHAt working.
Wheezy is no longer supported by us.geotek wrote:Someone needs to make a chart for Wheezy installs Jessie installs.
There were some quirks when adding sense hat support into wheezy. That was mostly related to the packaging of the python library and python3 support. That partially accounts for some of the differences in instructions you see. Some people tell you to install pillow from pip because it does no real harm on jessie and is required on wheezy to get python3 support.geotek wrote:Is this possible or are there too many quirks within the systems?
An easy test to see if it's defective in the way I think it's defective is to add 'dtoverlay=rpi-sense' to config.txt, reboot and see if that at least adds a /dev/fb1.geotek wrote:I just ordered a new SenseHat to see if my current SenseHAt is defective.
sense-hat should already be installed and you don't need to install pillow from pip (as explained above)TideMan wrote:My notes (from Oct 2015) say that I did
Any luck if you add 'dtoverlay=rpi-sense' to config.txt?goranj wrote:Hi guys,
I have quite a big problem. After I purchase BlackHat, I connect sense hat upside down, I accidentally turned the 40pin ribon cable on wrong side - just for a second!!
Now, the RGB lights are "working", staying always ON, but RPI does not recognize SenseHat .
Have I destroyed senseHat, and perhaps even some GPIO pins on RPI?!
I would really appreciate any help!
This is error:
raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device
The hat has a chip containing information the kernel uses to figure out what's attached. Adding that line to config.txt loads the information which should be loaded from that chip. I haven't looked at the schematic to determine how it might have fried, but it seems like something in that general area has been damaged.goranj wrote:@ShiftPlusOne
I have made few preliminary tests after adding dtoverlay=rpi-sense and it is working!!!
I really can believe this is happening! (I was sure sensehat was destroyed!)
Can you plase explain me what "dtoverlay=rpi-sense" means, and is there are any limitations now after adding this?!
Depends on your equipment and level of experience. You'd need to figure out what actually happened, what's fried, replace it. If the eeprom chip itself is fried, you'd need to re-program it with the right data. More hassle than it's worth.goranj wrote:Ok, so I did destroy it! :/ In some way!
I have made new tests and all sensors seams to be working - all OK, except this registration problem - but I guess I could live with that, without buying new senseHat.
I guess there is no way to fix this, on so small components - soldered on the surface of the board?
Code: Select all
[email protected]:~ $ sudo python3 THP.py Traceback (most recent call last): File "THP.py", line 7, in <module> sense.set_imu_config(False, False, False) File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 660, in set_imu_config self._init_imu() # Ensure imu is initialised File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 648, in _init_imu raise OSError('IMU Init Failed') OSError: IMU Init Failed
Code: Select all
sense.set_imu_config(False, False, False)
Did you run rpi-update? I was checking this and mine was working fine until I updated the kernel to 4.9. What does 'uname -a' say?aherbjornsen wrote:I just started to test a Sense Hat on a Pi 3.
I'm using a freshly installed Raspbian (2017-01-11) and see that sense-hat and python stuff is preinstalled, but I cannot get the RGB display to work using python.
I've tried to compile and run the example 'snake' game (which is a C application) and it works perfectly. The display and joystick both work fine.
Running any of the python example scripts will just generate random gibberish on the display.
I've tested reading the sensors (temperature, pressure and humidity) from a python script and that is working just fine, it's just controlling the RGB display that does not work.
Users browsing this forum: No registered users and 1 guest