Jump to content

Sense Hat

From YawgNetWiki
Sense Hat
Sense Hat

Some info here about sense hat I suppose

Legacy

[edit]

This information is dated and may not be the correct method, some distros have these packaged appropriately in pacman/apt-get.

Setup

[edit]

After installing Archlinux you'll need to setup a few things, namely Python and pip which will help us most of the way.

sudo pacman -S python-pip i2c-tools python 
sudo pip install sense-hat

Next we need a missing python module that's not in AUR

git clone https://github.com/RPi-Distro/RTIMULib.git
cd RTIMULib/Linux/python/
sudo python setup.py build
sudo python setup.py install

And finally we need to enable the modules on boot by modifying

/boot/config.txt

[edit]

append:

dtparam=i2c_arm=on

/etc/modules-load.d/raspberrypi.conf

[edit]

append:

i2c-dev
i2c-bcm2708

References

[edit]