Jump to content

Sense Hat

From YawgNetWiki
Revision as of 15:06, 6 August 2025 by Encryptid (talk | contribs) (Created page with "right|250px|Sense Hat Some info here about sense hat I suppose =Legacy= This information is dated and may not be the correct method, some distros have these packaged appropriately in pacman/apt-get. ==Setup== After installing Archlinux you'll need to setup a few things, namely Python and pip which will help us most of the way. <pre> sudo pacman -S python-pip i2c-tools python sudo pip install sense-hat </pre> Next we need a missing python modu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]