orbitbad
Posts: 5
Joined: Thu Sep 24, 2015 11:29 pm
Location: Near Bristol. UK

In need of some help

Fri Sep 25, 2015 12:45 am

hoping that somebody with more brains than me, can tell me what i'm doing wrong.

got my sense hat on Wednesday (yeah) time to get it working on my pi B+ had for about 4 months loved it
sudo apt-get update
sudo apt-get install sense-hat
sudo pip-3.2 install pillow
sudo reboot
on it all came, lights on like a little rainbow i'm all set....

but on try to run a "Hello World" test it says
OSError: cannot detect RPi-Sense FB device

ok have i done something wrong
just in case got a spare sd card re-down loaded a fresh OS and installed from new...
Still says Cannot detect. :evil:
find chat about device tree give that a go.. No joy still nothing
find chat about RTIMULibDrive11 to check from putty and terminal all seems to be working
Settings file RTIMULib.ini loaded
Using fusion algorithm RTQF
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:1.351857, pitch:-0.695168, yaw:-113.600785
Pressure: 1023.3, height above sea level: -83.0, temperature: 32.3, humidity: 39.6
Sample rate 0: : roll:1.351798, pitch:-0.705444, yaw:-113.960750
Pressure: 1023.3, height above sea level: -83.0, temperature: 32.3, humidity: 40.3
Sample rate 0: : roll:1.343136, pitch:-0.714765, yaw:-114.200237
Pressure: 1023.2, height above sea level: -82.9, temperature: 32.3, humidity: 38.2
Sample rate 0: : roll:1.334390, pitch:-0.717793, yaw:-114.184883
Pressure: 1023.2, height above sea level: -82.9, temperature: 32.2, humidity: 35.5
all leds are still on

have checked using their colour_cycle.py code in case i typed wrong always possible but no still comes up with
file "/usr/src/sense-hat/examples/python-sense-hat/colour_cycle.py", line 5, in <module> sense = SenseHat()
file "/usr/lib/python3/dist-packages/sense-hat/sense_hat.py", line 36. in __init__ raise OSError Cannot detectRPi-sense FB device
any help or clues would be great
I can understand what you what you just said...........almost

if at first you don't succeed sky diving isn't for you.

av8r1
Posts: 26
Joined: Mon Jun 23, 2014 7:04 pm

Re: In need of some help

Sat Sep 26, 2015 12:11 am

Did you reboot the Pi?

orbitbad
Posts: 5
Joined: Thu Sep 24, 2015 11:29 pm
Location: Near Bristol. UK

Re: In need of some help

Sat Sep 26, 2015 9:00 am

Oh yes rebooted and last night went through it all again, still nothing.
I can understand what you what you just said...........almost

if at first you don't succeed sky diving isn't for you.

orbitbad
Posts: 5
Joined: Thu Sep 24, 2015 11:29 pm
Location: Near Bristol. UK

Re: In need of some help

Tue Sep 29, 2015 9:14 pm

i am still hoping somebody can help tonight i have update to Jessie all good on that side, all works fine.

Code: Select all

sudo apt-get update
(didn't have to do already done) sudo apt-get install sense-hat
(didn't have to do already done) sudo pip-3.2 install pillow
sudo shutdown -h now
installed sense hat
restarted pi, all lights up with rainbow of lights
light stay on.

check Config interfaces SPI and I2C both on.

run RTIMULibDrive11 to check if sense hat getting readings

Code: Select all

pi@raspberrypi ~ $ RTIMULibDrive11
Settings file RTIMULib.ini loaded
Using fusion algorithm RTQF
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:1.210246, pitch:-0.555525, yaw:-61.238465
Pressure: 1037.2, height above sea level: -197.4, temperature: 31.1, humidity: 37.3
Sample rate 0: : roll:1.338817, pitch:-0.510176, yaw:-61.233343
Pressure: 1037.2, height above sea level: -197.5, temperature: 31.2, humidity: 36.1
all fine as far as i can see.

try and run python 3 programs for sense hat

Code: Select all

file "/home/pi/astro-pi-examples/python/random_sparkles.py", line 5, in <module> sense = SenseHat()
file "/usr/lib/python3/dist-packages/sense-hat/sense_hat.py", line 36. in __init__ raise OSError Cannot detectRPi-sense FB device
have done all i can think off for the last few days. i need some help.anything received with thanks.
I can understand what you what you just said...........almost

if at first you don't succeed sky diving isn't for you.

tvjon
Posts: 769
Joined: Mon Jan 07, 2013 9:11 am

Re: In need of some help

Tue Sep 29, 2015 10:24 pm

The leds should go out near the end of the boot process.

ls /dev/f*

needs to show a new frame buffer, fb1

Do you have any /boot/overlays running?

For example I use Gert's VGA666 board, & with that enabled, the sense hat will not work, so I comment it out in

/boot/config.txt

#dtoverlay=vga666

when I want to use the sense-hat.

It may help if you post your config.txt contents.

Today's Jessie release of Raspbian contains all necessary software for the sense-hat.

I also find it essential to remove power & reapply it after commenting out the vga overlay, & doing sudo halt.

orbitbad
Posts: 5
Joined: Thu Sep 24, 2015 11:29 pm
Location: Near Bristol. UK

Re: In need of some help

Wed Sep 30, 2015 5:40 pm

thanks a lot tvjon :D

found it after you said where the files where
looked at /boot/config.txt
and then checked /boot/overlay/README.txt found the line for the sense

dtoverlay=rpi-sense

added this into the config file restarted and lights went out near end of boot :) ran python 3 program and all works fine :D

thanks for the great help
I can understand what you what you just said...........almost

if at first you don't succeed sky diving isn't for you.

Return to “Astro Pi”