From Fedora Project Wiki
Line 4: Line 4:
== Sense Hat ==
== Sense Hat ==


==== Working ====
* Humidity Sensor
* Magnetometer
==== Not Working ====


Remove the symlink for the dtb:
Remove the symlink for the dtb:
Line 15: Line 10:
Edit the '/boot/efi/config.txt' to add the overlay
Edit the '/boot/efi/config.txt' to add the overlay
  dtoverlay=rpi-sense
  dtoverlay=rpi-sense
==== Working ====
* Humidity Sensor
* Magnetometer
==== Not Working ====


== Adafruit PiTFT Plus (3.5 inch Resistive Touch screen) ==
== Adafruit PiTFT Plus (3.5 inch Resistive Touch screen) ==

Revision as of 16:38, 19 November 2019

Raspberry Pi HATs

This page will be used to document using various HATs on the Raspberry Pi. Please feel free to add notes pertaining to other HATs or additions to the existing entries.

Sense Hat

Remove the symlink for the dtb:

rm /boot/efi/dtb

Edit the '/boot/efi/config.txt' to add the overlay

dtoverlay=rpi-sense

Working

  • Humidity Sensor
  • Magnetometer

Not Working

Adafruit PiTFT Plus (3.5 inch Resistive Touch screen)

To use the screen you will need to install 'bcm283x-firmware-20191118-1.68ec481.fc31' or later. To use the touch features of the screen you also need to install 'kernel-5.4.0-0.rc8.git0.1.fc32' or later.

Remove the symlink for the dtb:

rm /boot/efi/dtb

Edit the '/boot/efi/config.txt' to add the overlay

dtparam=i2c_arm=on
dtparam=spi=on
dtoverlay=pitft35-resistive
hdmi_force_hotplug=1

Add to the kernel parameters

fbcon=map:10 fbcon=font:ProFont6x11

Due to a bug the kernel module will not load automatically. On boot the module can be loaded with:

modprobe hx8357d

To workaround the bug and have it load automatically use:

echo hx8357d >> /etc/modules-load.d/hx8357d.conf