geotek
Posts: 15
Joined: Wed Mar 27, 2013 2:57 pm

Sense-Hat - software problems

Wed Feb 17, 2016 1:33 am

New Sense-Hat Software Setup problems
Installed new/clean Jessie software
When I go to -usr/src/sensehat-examples and run Python 3, i get an oSError message - i.e. can´t find board.
LEDs on Sense-Hat all come on and stay on.
When i go to RTIIMULIB folder I can run the programs in the folder, but when I try to start the sense-hat example programs they do not work but bring up OSError message.
What do i have to do to make this board work correctly?

Tom

alphanumeric
Posts: 2528
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Sense-Hat - software problems

Wed Feb 17, 2016 12:57 pm

Are you sure your running Jessie and not Wheezy? I've noticed in Wheezy, the LED's come on and stay on. In Jessie they come on but then turn off again on boot up. Have you done a sudo apt-get update and sudo apt-get upgrade yet?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense-Hat - software problems

Wed Feb 17, 2016 1:08 pm

Does it work if you add dtoverlay=rpi-sense to /boot/config.txt and reboot?

geotek
Posts: 15
Joined: Wed Mar 27, 2013 2:57 pm

Re: Sense-Hat - software problems

Wed Feb 17, 2016 4:40 pm

To:Shiftplusone

I definitely have the full version of Jessie installed.
You also asked if I added dtoverlay=rpi-sense?
I tried but it would not let me save the new config.txt file. Could not get access to change file.
I tried using the editor to add the new line but access was denied
**** How can I solve the above problem?****
Question - Do I have to do a RPI-update in order for the hat to work?
thanks
Tom

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Sense-Hat - software problems

Wed Feb 17, 2016 4:55 pm

geotek wrote:You also asked if I added dtoverlay=rpi-sense?
I tried but it would not let me save the new config.txt file. Could not get access to change file.
I tried using the editor to add the new line but access was denied
**** How can I solve the above problem?****
From the command line (or LXTerminal use

Code: Select all

sudo nano /boot/config.txt
Make the changes, then save and close with <control-X> <ENTER> Y
Reboot the Pi after making this change.

Alternatively: put the SD card in another computer.
When you look at the contents of the card, you should see config.txt
Open the file in any decent editor (Windows Notepad will do fine), make the changes and save.
Question - Do I have to do a RPI-update in order for the hat to work?
No

alphanumeric
Posts: 2528
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Sense-Hat - software problems

Wed Feb 17, 2016 6:16 pm

No you shouldn't have to do an update for the sense hat to work if you have the latest Jessie installed. Sense hat support was added to Jessie. Is the Jessie your using the latest version?

geotek
Posts: 15
Joined: Wed Mar 27, 2013 2:57 pm

Re: Sense-Hat - software problems

Fri Feb 19, 2016 2:44 am

To: shiftplusone
I still cannot get the Sense-hat to work correctly with the (examples)python scripts.
I added the dtoverlay=rpi.sense to the config.txt file in the boot folder as per instruction.
When I boot the Raspberry, all the sense-hat LEDS stay on and never to off.
I run the sense-hat examples and still get the osError cannot find the sense-hat message as before.
Running clean new Jessie software on Raspberry 2 +

Life shouldn't be this difficult - getting this board to work!
I have never had this difficulty with any add-on board or other board/device.
Any other ideas
thanks in advance
Tom

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense-Hat - software problems

Fri Feb 19, 2016 3:42 am

geotek wrote:To: shiftplusone
I still cannot get the Sense-hat to work correctly with the (examples)python scripts.
I added the dtoverlay=rpi.sense to the config.txt file in the boot folder as per instruction.
When I boot the Raspberry, all the sense-hat LEDS stay on and never to off.
I run the sense-hat examples and still get the osError cannot find the sense-hat message as before.
Running clean new Jessie software on Raspberry 2 +
That should be dtoverlay=rpi.sense, not dtoverlay=rpi-sense
geotek wrote:Life shouldn't be this difficult - getting this board to work!
I have never had this difficulty with any add-on board or other board/device.
Absolutely! And it generally isn't. It should just work out of the box without having to make any changes.
I expect the config.txt line will fix it, but you should also be able to get it replaced with a unit that just works.

Return to “Astro Pi”