Rpi Sense HAT integration howto

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Rpi Sense HAT integration howto

Postby Rapty » Sun Sep 08, 2024 2:53 pm

Hereafter a quick howto integrate Rpi Sense HAT on a Raspberry with Alarm.
(tested on Rpi4 aarch64)

Necessary packages:
[list]
python-sense-hat AUR
|_ python-rtimulib AUR
. |_ python-setuptools
|_ python-numpy
|_ i2c-tools
[/list]

I2C bus activation
/boot/config.txt
[code]
# Sense HAT
dtoverlay=rpi-sense
dtparam=i2c_arm=on
[/code]

Module loading
[code]# modprobe i2c-dev[/code]

Group addition for non-root user
[code]
# usermod -a -G input user
# usermod -a -G i2c user
# usermod -a -G video user
[/code]

Sense HAT should now be available to non-root user through Python API.
Rapty
 
Posts: 34
Joined: Sat Dec 26, 2020 5:31 pm

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 35 guests