The Sense HAT is not form factor compatible with earlier versions of the Raspberry Pi. However with the use of an elevated 26 way header socket you can do a bodge that will work (with model B rev 2.0 and above). Like this:

The elevated header will allow the HAT to sit comfortably above the composite and analogue audio jacks. You'll then need to use something like a piece of foam between the Pi and the HAT to prevent it from cantilevering and putting stress on the GPIO pins.
The elevated header can be bought online from various places.
Toby Electronics have them: ESW-113-33-G-D http://www.toby.co.uk/content/catalogue ... -xx-x-x-xx
Adafruit also: http://www.adafruit.com/products/1112
Any code that you write using this set up will work on the flight hardware in space.
Install the Sense HAT package from apt:
Code: Select all
sudo apt-get install sense-hatCode: Select all
dtparam=i2c_arm=on
dtoverlay=rpi-senseIf you've using an image file installed directly you can get away with just running these two commands from a terminal and then rebooting.
Code: Select all
sudo bash -c "echo 'dtparam=i2c_arm=on' >> /boot/config.txt"
sudo bash -c "echo 'dtoverlay=rpi-sense' >> /boot/config.txt"
