Questions tagged [hat]

A "hat" is an add on board designed specifically to fit on top of the pi via the GPIO header. They have a small EEPROM chip which is used to configure them, but may be built to serve any purpose.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Fob not working: 433MHz RF signals not detected

I have a Raspberry Pi 2 Model B Rev 1.2 with an Adafruit Hat-board, running Python 3.9.2. I'm trying to set up a fob to act as a remote control, but it seems that I'm unable to receive a signal. I am ...
Everett's user avatar
  • 101
0 votes
1 answer
23 views

how do i run a script when the cpu gets too hot [duplicate]

i need to send commands to my hats that control fans and a little warning LED if the cpu goes above or below a specified state of temperature https://unix.stackexchange.com/questions/756721/raspberry-...
Robert Cotterman's user avatar
0 votes
0 answers
80 views

Connecting a 4G/LTE board/hat designed for a standard Pi 4 Model B to a CM4 carrier board

I would like to use a Raspberry Pi Compute Module 4 as a normal raspberry OS system as well as a router / gateway for networking and to be able to get an internet connection via 4G. Now there are ...
SneakyShrike's user avatar
1 vote
0 answers
39 views

Empty Pi Hat/Bonnet

Does anyone know where to find a Pi Hat or Bonnet that is empty? By that I mean a PCB that has the connectors to solder stackable headers onto, but no connections just raw PCB? The reason I want ...
johnnyb's user avatar
  • 111
0 votes
1 answer
81 views

WaveShare e-Paper HAT button covers

I have a WaveShare 2.7inch E-Ink display HAT for Raspberry Pi that includes 4 buttons. They work very well, but I was wondering if there was a "standard" way to add some sort of cover to ...
Raed's user avatar
  • 105
0 votes
0 answers
231 views

Waveshare 2CH RS232 HAT on Raspberry pi 4 not sending nor receiving message

Hi Raspberry pi enthusiast, Recently i'm using 2 Channel RS232 Hat from waveshare placed on top of raspberry pi 4. And i already follow all the instruction on this waveshare's wiki. but, until right ...
Britantyo Wicaksono's user avatar
3 votes
2 answers
306 views

i2c_arm bus initialization and device-tree overlay

I've built a Pi1541 HAT, just for fun, and am now playing with the device-tree autoconfiguration in Raspbian. I've made an overlay that autoloads during boot, based on the EEPROM contents, and that ...
Hans Liss's user avatar
0 votes
0 answers
45 views

Current draw Raspberry Pi 4 measurement results. Does anyone have more data?

I thought this would help with designing HAT power. Does anyone have similar measurements while running software and connected devices? Scant information on the current draw. I measured through the ...
JSP's user avatar
  • 19
0 votes
1 answer
93 views

Raspberry Pi HAT drivers

This may be a simple question but I am new to all this. Do the HAT drivers only work with Raspberry Pi OS or will the work with any suitable Linux?
Megan Evans's user avatar
0 votes
1 answer
59 views

Can I use the HAT eeprom pins as a uart?

I have a Pi 4B and I want to use the HAT EEPROM I2C pins for the uart 4 that is behind them. This is a board just for me and all my other uart locations are in use. How do I disable the EEPROM scan ...
confused's user avatar
  • 123
1 vote
0 answers
103 views

HAT EEPROM address is said to be 0x50, but 0xA0 is most common when A0-A2 are tied low [closed]

CAT24C32 is a widely recommended HAT EEPROM. The data sheet says the 4 MSBs are 1010 or Ah. But 0x50 is widely stated to be the correct EEPROM address. Some who recommend the CAT24C32 also say the ...
JSP's user avatar
  • 19
0 votes
0 answers
57 views

Setting up Raspberry Pi as 4G to LAN subnet router

I am trying to set up a Raspberry Pi 3b+ running Pi OS Lite with a Waveshare 4G hat (7600X) as a remote connection to a LAN network within a control panel. This is so in case the IIOT router (Ewon ...
Jack's user avatar
  • 1
0 votes
1 answer
79 views

LiPo Battery HAT behavior

I was reading the description for LiPo Battery HAT for Raspberry Pi and it at best seems very unclear to me: This is not a UPS! The Raspberry Pi will restart when you connect it to the Pi. What does ...
KeyWeeUsr's user avatar
  • 115
2 votes
2 answers
89 views

Method to switch one GPIO device/HAT/pHAT between two Raspberry Pis

I'm looking for a method to share one GPIO device/HAT/pHAT between two Raspberry Pis. For example, I'd like to connect one HyperPixel 4.0, which attaches via the 40 GPIO pins, to two different ...
emma.makes's user avatar
0 votes
1 answer
118 views

HAT EEPROM DTB and RTC on I2C0

I'm having a problem creating a DTB for a HAT auto-configuration. I have a DS3231 RTC module attached on I2C0 (GPIO0 and GPIO1). It incorporates an AT24C32 EEPROM at address 0x50. To get it working, ...
Bryan Horna's user avatar
0 votes
0 answers
113 views

Logging data from High Precision AD/DA board using Raspberry Pi 3B

I have a High Precision AD/DA board from waveshare with Raspberry Pi 3B (running on Raspbian). With this setup, I get a sampling rate of above 20KPS at my terminal display. However, I can write only ...
Varun Dhankhar's user avatar
1 vote
1 answer
243 views

Raspberry Pi Zero 2W in gadget mode with USB HUB HAT

I have a Raspberry Pi Zero 2W in gadget mode that can transmit data and emulate a mouse or keyboard. But when I connect a USB HUB HAT, I'm not able to transmit data. I'm getting [Errno 108] Cannot ...
david's user avatar
  • 113
0 votes
1 answer
45 views

Use Adafruit PiTFT as hat with Adafruit DS3231 in a case

I have a raspberry pi 3 A+ connected to an Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen and an Adafruit DS3231 Precision RTC Breakout for keeping time. Both are connected using ...
user7391836's user avatar
0 votes
1 answer
216 views

Adafruit_SSD1306 and Adafruit-BBIO legacy install issues

trying to get my 0.91 oled v1.0 geekpi expansion board hat to run in general/autorun when powered on, the OLED and the Leds, however im having tis pp up everytime i get to the OLED , any help is ...
user146213's user avatar
0 votes
2 answers
150 views

Get Measurements from Battery/Solar Setup

I'm planning a setup with an rpi3b+ and the pijuice hat (battery) and pijuice solar module. It is key to my project that I can access the following data digitally i.e. in the pi: current power ...
rn42v's user avatar
  • 1
1 vote
1 answer
311 views

Pi 4, Hifiberry, and touchscreen power

I recently finished my basement and am in the process of getting it all configured, and one thing I wanted was to build a Raspberry Pi streaming device. I got a 3D printer for Christmas and found this ...
Mosher13's user avatar
0 votes
1 answer
312 views

LTE-HAT GPIO SIM7600

I´m able to connect to the internet via the SIM7600 4G HAT modem when it´s connected to USB. Now I´d like to achieve the same without USB but only with the GPIO connection. Somehow the manual (https://...
vlad's user avatar
  • 9
1 vote
0 answers
149 views

Looking for information about a generic 480x320 Chinese TFT display pictured in this question. Schematics, new ili9486 english spec

The picture was "borrowed" from What have you done to make generic TFT touchscreen display work? I'm trying to write a driver to use the module from a Pico. I have a preliminary spec I ...
Todd Kroeger's user avatar
0 votes
0 answers
184 views

PoE+ Hat, fan not spinning until level 3

I’m not sure if it’s a problem or not, but here is what’s happening: The fan on the PoE hat only starts spinning at level 3, and louder at level 4. On level 1 and 2, the fan it’s spinning at all. It’s ...
QuiiBz's user avatar
  • 1
0 votes
1 answer
129 views

Control 2 steppers and 1 servo a the same time on a motor Hat

Basically, I have a raspberry pi 4 with a Motor Hat to control two stepper motors. The whole thing looks like this : https://i.stack.imgur.com/SIjzI.jpg Now I want to connect a servo motor, and I know ...
Tom's user avatar
  • 1
0 votes
0 answers
94 views

Raspberry Pi Zero W not interacting with GSM HAT

I have Raspberry Pi Zero W and this hat. I did the following things: disabled login shell through serial in rasp-config enabled serial port hardware in rasp-config removed console=serial0 in /boot/...
Christian Proschek's user avatar
0 votes
2 answers
4k views

How to boot and safely shutdown with a button when WAKE_ON_GPIO=0

1. Description To boot and shutdown my pi I have been using a button shorting GPIO 3 an GND. However after shutting down the pi, the fan shim and HDD keep on running. To solve this I've edited the ...
Pieter Huybrechts's user avatar
0 votes
2 answers
114 views

Why is a Justboom DAC HAT no longer recognised after an upgrade to a Raspi 3B+?

I recently replaced my faulty old Raspi 3B with a 3B+, attached the two HATs I've got (a JustBoom DAC HAT sound card and an S.USV Advanced), plugged the SD card into the new one, upgraded the Raspbian ...
Neppomuk's user avatar
  • 444
0 votes
1 answer
404 views

Sending Digital Audio Through GPIO Pins

I currently use my raspberry Pi as a Spotify music streamer for my Hifi system. I send digital signal out through the USB port to a Digital to Analog Converter (DAC), and then into an Amp, and finally ...
Adam Kelly's user avatar
3 votes
2 answers
656 views

RPi4 won't power on from 5V if any load is present on 3V3

The short version: Raspberry Pi 4B, rev 1.1, doesn't turn on when provided with 5V on the pins 2&4 if any load is present on the 3V3 (pins 1&17). However, powering the Pi from a USB-C source (...
MJBogusz's user avatar
2 votes
1 answer
729 views

SIM7600 LTE Modem via GPIO

I am building a drone that should connect to LTE internet with waveshares SIM7600 HAT. Every guide I see online for using the HAT as a LTE modem is using a USB connection between the PI and the HAT. ...
Afsdw2's user avatar
  • 21
0 votes
0 answers
161 views

X728 UPS email setup

I`ve got an X728 ups hat and is working right, using the .sh provided by geekworm. What I expect next is to write some code make the .sh to send an email when power is down or up, or when batteries ...
trekkier doe's user avatar
0 votes
0 answers
295 views

Waveshare e-paper demo not working - Raspberry Pi Zero W 1.1

I have a Raspberry Pi Zero W 1.1 and I bought this e-paper HAT and monitor combo from waveshare I have Installed Raspberry Pi OS headless and configured everything according to this official wiki ...
AlonMln's user avatar
  • 101
-1 votes
1 answer
340 views

edit UPS HAT safe shutdown script

I write this since I need advice with an RPi Hat that I purchased and the assistance told me to find a solution myself! I purchased an UPS HAT (UPS3 from geekworm). I need to perform some actions ...
nhouse's user avatar
  • 1
1 vote
0 answers
362 views

hdmi_cvt ignored on my boot/config.txt

I am testing a LCD HAT ( ST7735S ) that I bought and it is working great with fbcp, but I can´t get raspberry pi os to run at native screen resolution ( 128x128 ). I´ve been reading all documentation ...
Badjano's user avatar
  • 189
1 vote
0 answers
83 views

C4labs cloudlet case, 8 x PI 4s, Netgear GC108PP, any chance for PoE?

As a newbie but a Linux oldie I did a fatal error by not documenting myself in advance that I need a HAT for PoE. I bought basically the C4labs cloudlet case, installed 8 x PI 4s in it. I got the ...
Mihai's user avatar
  • 11
0 votes
0 answers
691 views

SIM7600E-H on Raspberry Pi 4 model B not receiving GPS data

I'm not able to receive GPS data. The jumpers are placed in the top position (A) AT commands return the following: >>> ser = serial.Serial("/dev/ttyUSB2",115200) >>> ser....
Newbie_dude's user avatar
1 vote
0 answers
96 views

Device Tree for Generic Output

I'm currently developing my first Pi Hat for a personal project. I've been exploring Device Trees and I'm quite liking the concept from the perspective that the userland code can address specific ...
phil-lavin's user avatar
2 votes
0 answers
217 views

Stacking up multiple grove base HATs on Raspberry Pi

I want to stack multiple Grove base HATs on a single Raspberry Pi. This is the HAT i am using https://wiki.seeedstudio.com/Grove_Base_Hat_for_Raspberry_Pi My application needs to interface 24 analog ...
vijayakumar sargunam's user avatar
0 votes
1 answer
735 views

Pi 4: Keep USB powered when rebooting

I'm using a ClusterHat v2.3 on a Raspberry Pi 4. On rebooting, the USB Ports losing power, so the cluster nodes as well. Is there a way to configure the Pi 4 to keep the USB power on when rebooting / ...
perryflynn's user avatar
1 vote
1 answer
282 views

Can I stack multiple different HATs on RaspberryPi4?

I want to use multiple different HATs on the same Raspberry Pi. These are the boards I want to use: https://www.sparkfun.com/products/16328 https://www.seeedstudio.com/ReSpeaker-4-Mic-Array-for-...
da_solo's user avatar
  • 13
1 vote
1 answer
1k views

Rpi3B+ Python Controlling Multiple SIM800 / SIM900 / SIM7600 Modules

My goal is to control at least 3 SIM800c hats using just one RPi but I'm not quite sure it will work. How will Rpi reference each hat? Can each hat make a call of their own? For reference: How to ...
r2b2's user avatar
  • 147
2 votes
2 answers
207 views

Regular servo vs. Linear servo

I was wondering if there was any difference between controlling a normal rotating servo and a linear servo with the raspberry pi. Would the code look essentially the same? I'm trying to build a device ...
Josip's user avatar
  • 21
1 vote
0 answers
484 views

Raspberry Pi FlexRay HAT [closed]

I've been searching for a couple of days for a FlexRay HAT / module for Raspberry pi without success. Is there such a module available?
Dragos Vasile's user avatar
0 votes
0 answers
190 views

Inky pHAT compatibility issues with Raspberry Pi 4B

I've bought a Raspberry Pi Model 4B for a few different projects, one of which is to use an Inky pHAT display (as seen on The Pi Hut) on it. When the display arrived, I attached it to the Pi's GPIO ...
phatbasterd's user avatar
1 vote
1 answer
191 views

How to detect list of available sensors and actuators reside on a HAT?

I have been working with many HATs along with Raspberry Pi such as Sense HAT, Pimoroni Enviro pHAT; and so on. However, HATs report its existence to the device tree in /proc/device-tree/hat and /sys/...
testuser's user avatar
0 votes
1 answer
399 views

Outputing DMX using Bitwizard Hat

I have a Raspberry Pi 4B with a Bitwizard DMX Hat which uses the serial port. I try to output DMX from the board to a LED light using QLC+ software, but it's not working. I tried some commands and I ...
M.Parent's user avatar
1 vote
1 answer
2k views

Multiple Hat and GPIO

I need, for a project, to connect on the same RPi (a 3B+) a NFC lector, the Sense Hat and also be able to use 26 GPIO port for additionnal LED and button. The project is a kind of a physical "Keep ...
RλPHλΣʟ's user avatar
2 votes
2 answers
2k views

How can Rpi4B python use USB Serial AT commands to control a 4G/LTE MiFi modem to text SMS?

I have purchased this 4G HAT and I'm using it with this module in a raspberry 4. I use the USB connection. I installed a ppp connection and everything is working correctly. My problem is: how do I ...
Miguel's user avatar
  • 233
2 votes
0 answers
165 views

Using GPIO on the Bitwizard DMX hat board

I have a rpi 4, with a relays board on top of it, and a Bitwizard DMX hat board on top of that. The Bitwzard board doesn't have a male header on the top, so I am unable to connect my sensors. It was ...
M.Parent's user avatar