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
8
votes
2answers
2k views

How to detect what kind of HAT or GPIO board is plugged in - if any?

I am setting up some Raspberry Pis for use in demos to colleagues, in order to show off capabilities of the Pi itself, and of some of the add-on boards that are available. I would really like to be ...
6
votes
2answers
4k views

Why does the Sense Hat / Astro Pi show the wrong temperature and humidity?

I recently bought the sense-hat, previously called astro-pi. Unfortunately the temperature shows 28 to 31 degrees Celsius from both temperature sensors on the board. They often show around 30 degrees ...
5
votes
2answers
1k views

How to approximate room temperature in a better way

I've just bought an Enviro pHAT. The temperature sensor on my pHAT reads around 31 degrees Celsius for my room This sensor is close to the Pi, so it also gets a heatwave from the CPU Is there a ...
3
votes
2answers
846 views

Is it possible to use an additional HAT with the Raspberry Pi PoE HAT

I recently got a Raspberry Pi 3 Model B+ and the official Raspberry Pi PoE HAT. It is powering it from my switch fine but I am wondering if it is possible to also use an additional HAT with it? The ...
3
votes
2answers
445 views

Same lipo power source for raspberry pi and motor hat

I am building a rover and would like to power the Raspberry Pi and the Motor HAT with the same power source. I want to use a 2500 mAh LiPo battery for a long play time. My DC motors work at 6V-9V. ...
3
votes
1answer
2k views

How to use a GPIO pin after I put on a HAT?

I got a Speaker pHAT for my Pi Zero. According to the pinout, it only uses 5 GPIO pins, so plenty of room to add something else. The problem is, I'm not sure what's the best way to physically attach ...
2
votes
3answers
704 views

GPIO relay signal cross turns to all relays staying on after Darlington added

I have 4 Sunfounder 2 channel relays 7 of which that I'm using to control some things on my aquarium. I suspect that I may have wired them up wrong somehow though. The behavior I'm seeing is as ...
2
votes
1answer
708 views

pHAT DAC 3.5mm solder pins

Like many others, I have been working on a handheld gaming system using a Raspberry Pi Zero. One of the downsides of doing this, however, is that it has no sound built in, other than through the HDMI ...
2
votes
1answer
171 views

Raspberry pi HAT id Vendor id Product origin

I'm currently developing a Raspberry pi HAT which I will eventually sell in the future. According to the official documentation the EEPROM memory of the HAT must contain several information. Two of ...
2
votes
1answer
392 views

PoE hat fan activation on OS other than Raspbian

I'm aware that the only officially supported OS that the PoE hat works on is Raspbian. I can confirm that both my hats work, and that the fan does switch on and off if I have Raspbian installed on the ...
2
votes
4answers
1k views

Hat for shutting down the Pi with a button

Are there any Raspberry Pi hats which allow to shut down the Pi by pressing a button ? Are there any DIY open hardware projects which describe step-by-step how to build such a hat ?
2
votes
0answers
75 views

Cooling Fan Hat?

The PoE hat has a built-in cooling fan, and even has drivers in Raspbian to automatically turn it on and off based on the CPU temperature. However, any guides to add a temperature-controlled fan seem ...
2
votes
0answers
104 views

No response from RFID HAT

Model: Raspberry Pi 3 Model B Vi.2 HAT: RaspberryPi-B1 v1.3 I just bought RaspberryPi Hat RFID/NFC board (RaspberryPi-B1 from ib technology). I've spent all day trying to get a response from it, but ...
2
votes
2answers
953 views

Establishing how to power on a HAT using GPIO

I have a combined GSM/GPS HAT and a Pi Zero. I can turn on the HAT manually using the power button, but would like it to power on at boot via /etc/rc.local. I can do something along the lines of this, ...
1
vote
1answer
26 views

Does a hat designed for RPi 2 B still work on Rpi4 (GPIO compatbility)?

I'm now continuing the design of a PCB (Pi Hat) that I started with a RPi 2 Model B. Will a RPi4 accept this hat? TL;DR: Does a RPi4 accept a Pi Hat designed for RPi 2 B? Or is there a break in ...
1
vote
1answer
103 views

Stacking multiple TV hats

Is it possible to stack multiple TV hats on each other? I would like multiple users to watch TV channels on different frequencies (MUXes).
1
vote
1answer
276 views

Stepper Motor Hat v0.1 - pre-soldered version

I am pretty new and have installed the referenced HAT. I followed the instructions, but it is not detected. I have power and a green LED on the board and when I turn it on and off the servos jump a ...
1
vote
1answer
292 views

Pi HAT Waveform Generator for Raspberry Pi 3B+

I am looking for a Pi HAT capable of generating 300 kHz sine waves at about 8 samples per waveform with my Raspberry Pi 3B+. Sampling rate required is around 2.5 MSps. Output voltage ideally needs to ...
1
vote
1answer
186 views

Raspberry Pi 3 Prototyping Breadboard HAT

How do I get the pin connect on the board. I see how to plug it on top of my raspberry pi through the female pin connected that is attached to the hat. But how do I connect the raspberry pins to the ...
1
vote
1answer
3k views

Configure ALSA Sound card

I have 2 playback device where one is HDMI and the other is HAT sound card. The requirement is to play audio from card 0 or 1 without rebooting the system. aplay -l **** List of PLAYBACK Hardware ...
1
vote
1answer
378 views

Pi 3 can't detect servo hat

Super new to this. Attached the Adafruit 16-Channel PWM / Servo HAT for Raspberry Pi to my Pi 3. All solder connections look good. Booted up the Pi, ran through the tutorial. After tutorial, the hat ...
1
vote
2answers
499 views

Raspberry pi HAT device-tree

I'm currently developping a Raspberry pi HAT. The Raspberry pi HAT must contain a EEPROM with several information in it. This information will be read at boot time in order to configure the Raspberry ...
1
vote
1answer
30 views

Is there a way to have USB data transferred from Pi to HAT?

I'm designing a Raspberry Pi HAT that requires USB for debugging. The 40-pin GPIO connector that connects the Pi to the HAT doesn't seem to have any USB designated pins. I would like to use the USB ...
1
vote
2answers
53 views

USB ports on USB hat not recognised

I have a setup that uses 4 USB cameras, a USB cell modem and a USB weather station. I deal with this by adding a powered USB hub. I just bought a Waveshare USB hat which looked like a tidier solution. ...
1
vote
1answer
230 views

No module named 'adafruit_circuitpython_servokit' [closed]

I have a Adafruit PWM hat and I am trying to run play around with some servos. However, when I run this line: from adafruit_servokit import ServoKit It returns: No module named '...
1
vote
1answer
188 views

Waveshare SIM7600E-H no internet connection

I don't know why i'm not able to connect to the internet with my HAT. Maybe i'm doing the connection check wrong, because i'm always getting Error when i test a ftp connection. I'm getting following ...
1
vote
1answer
127 views

How to use a stackable Rpi relay HAT to control 220V AC mains power?

So I want to wire two DHT22 sensors (5V) to a Pi and also control a lightbulb with 220V. As a plus this should be very compact and I don't want to solder or use breadboards/jumper cabling. I looked ...
1
vote
1answer
54 views

No Wifi connection when HAT installed

When using a Hat for the Raspberry (MotoPi from Joy-It) the onboard wifi doesn't connect to my home wifi. But when removing the hat it just works fine. The strange thing is, that I've used the same ...
1
vote
3answers
371 views

Network Hats for Raspberry Pi 3

I am trying to be able to connect Raspberry Pi 3 to two networks at the same time through Ethernet. Unfortunately it has only one Ethernet port available. The solution so far is to buy a network hat ...
1
vote
1answer
523 views

Help with Wiring Multiple HATs to GPIO

first time poster. Sorry in advance if this is the wrong place/title/etc. I'm currently working on a senior design project for mechanical engineering, but it requires some basic electronic controls. ...
1
vote
2answers
359 views

Simultaneously use a HAT and breakout on a Raspberry Pi 2

I'm starting a project for an internet-controlled model vehicle. I have a Raspberry Pi 2 Model B to serve as the core. I have been researching the components I need and the main 2 that have stood out ...
1
vote
1answer
47 views

WaveShare WM8960 Audio Sound Card / HAT Installation on Rpi Zero W Problem

I recently bought the WaveShare WM8960 Audio HAT said compatible with Raspberry Pi Zero W. The install complete without trouble, I can see that the soundcard is installed by typing sudo dkms status ...
1
vote
0answers
18 views

Audio Injector stereo soundcard is preventing boot

I recently bought a Audioinjector stereo soundcard HAT to stream sound on my raspberry pi running Raspbian. I went to their website and installed the .deb installer file and ran it with audioInjector-...
1
vote
0answers
230 views

SIM7600E-H-4G-HAT Raspberry Pi Setup

I am trying to get a SIM7600E-H-4G-HAT running on my Raspberry Pi 3B+, but it is not working. Here is what I've done so far: Inserted my SIM-Card, connected the antenna to Main, connected the entire ...
1
vote
0answers
231 views

setup wifi hotspot with 4G hat [closed]

I have bought a 4G hat for my raspberry pi 3B+ (the sim7600 waveshare for europe) and followed these instructions for setup. It is running the latest version of raspbian and I have internet on the ...
1
vote
2answers
160 views

Sixfab LTE IOT HAT throwing continuous AT Command

I was working on getting my new Raspberry Pi HAT that I have received and tried the simple example just to see if it is working fine. I have not been able to send a text message to my mobile phone. I ...
1
vote
0answers
74 views

Are HATs not supposed to be stackable?

From reading the HAT spec, the ID EEPROM is fixed at address 0x50. This implies that only one real hat may be present at a time, yet lots of products are called HATs and say that they can be stacked, ...
1
vote
0answers
23 views

I'm curious: has anyone build a HAT and sold it commercially? Looking for experiences [closed]

Has anyone build a HAT and sold it commercially? Looking for experiences on how to the production and distribution is. Has anyone ideas on how to promote a HAT when you built it? I find there is ...
1
vote
2answers
534 views

How to make ups hat run safe shutdown on raspberry when disconnected from the power source

It can be long discussion, because there is no single solution around this, so, to cut the story short, I will tell where I stuck on my way. It is AndroidAuto (media centre in car on raspi) project I'...
1
vote
0answers
84 views

3.5in TFT screen hat and Raspberry Pi 3+b

I'm trying to understand something about the MPI3508 screen I purchased (https://www.amazon.ca/dp/B07DQKQG6X). I tried powering it via usb and connected a PC in its HDMI input and got it working (the ...
1
vote
1answer
154 views

Supply 5v to peripheral using solder pads and not GPIO?

This seems like a simple enough question but it hasn't been easy to find an answer! I have a Pi3 (with recommended PSU), official screen, official camera and I've now added the respeaker 2-mics Pi ...
1
vote
0answers
64 views

Is it possible to have a correct sound using iQAudio PI-DAC+ and Volumio?

I have bought the excellent Pi-DAC+ to use it with Volumio in an old radio I have. In this radio, the speakers are marked as 6 ohms impedance. This radio used to provide a rather good sound. But with ...
1
vote
0answers
229 views

Has anyone tried connecting a adafruit hat board and an LCD Screen?

We use the Raspberry Pi 3 boards for an elementary school robotics program. We saw these cool Kuman 3.5" touch screens that said they were HDMI (which I assumed meant they connected directly into the ...
1
vote
2answers
999 views

Cirrus Logic Audio card replacement for recording

As is probably well known the Cirrus Logic Audio Card has stopped being manufactured and as such is proving very difficult to get. My reasons for wanting this card was that I needed something with a ...
1
vote
0answers
63 views

Raspberry Pi abruptly “dies” when I apply physical pressure

I have been using my Pi B2 since 2015. I recently got a Sense Hat, but it behaves extremely weirdly when I use it. For example, I used the mini joystick, which applied slight pressure to my Pi. Then,...
1
vote
0answers
251 views

Hat making I2C unusable

I bought this Pi hat for integrating an Arduino with the Pi and exposing all the GPIO pins through nice GVS headers, and overall I'm very happy with it. However, I'm noticing a weird problem. Without ...
1
vote
0answers
208 views

Powering RPi3, 3G Dongle, DC Motor HAT and DC Motors

I've got a setup where I power RPi, 3G dongle from one power source (USB Hub powered from 5V 2A) and a DC Motor HAT and DC Motors (2 small car mirror motors) from a 12V 2A supply. I checked the motors ...
0
votes
2answers
620 views

Raspberry Pi Sense HAT on Rpi 3?

I have a question to ask you guys. Can I use the Raspberry Pi Sense HAT (the one used in Astro Pi) with the Raspberry Pi 3 without having any kind of problems? Thanks in advance!
0
votes
2answers
150 views

How best to power a motor hat asking for 6-12V for just two DC motors

I purchased a Waveshare Motor Hat because it has the nice Pi Zero size, extra long headers, and already has headers and blocks soldered, all for less than $13. https://www.waveshare.com/motor-driver-...
0
votes
1answer
26 views

HAT Compatability RPI A,B and B+

I'm working through the HAT specification. The raspberry PI A and B have a 26 and GPIO headers, while B+ has 40 pin GPIO. https://github.com/raspberrypi/hats Am I correct to reason that if I design ...