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 ...
8
votes
2answers
5k 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
1k 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
3answers
1k 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 ...
3
votes
2answers
495 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
3k 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
1k 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 ...
2
votes
3answers
853 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
733 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
182 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
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
44 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 ...
2
votes
0answers
111 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
499 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 ...
2
votes
0answers
118 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
1k 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
77 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/...
1
vote
1answer
32 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
592 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
371 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
2answers
30 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 ...
1
vote
1answer
113 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 ...
1
vote
1answer
61 views

Process to select and stack a relay HAT and a touch-display HAT

The goal is to design thermostat system via stacking Raspberry pi HATs: Raspberry pi (3B+ or 4) 4-channel relay TFT Touch Display It would be preferable that community experience point out any ...
1
vote
1answer
688 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
274 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
4k 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
414 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
578 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
1k views

EEPROM Raspberry pi HAT read

I'm currently designing a Raspberry pi HAT. A HAT need to have an eeprom memory on it with several information. This memory is read at boot time of the Raspberry pi. My question is the following: ...
1
vote
1answer
37 views

Using 3 SIM800c GSM Hat on 1 raspberry pi 3b+

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 ...
1
vote
1answer
40 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
179 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
607 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
58 views

Is my ClusterHat faulty or my RPi GPIO fried?

I've been using a ClusterHat (1RPi + 4 PiZeroes) and all has been well until recently. The PiZeros boot off the RPi's SD card using the ClusterHAT-2018-10-09-lite-1-usbboot boot image, and when I ...
1
vote
1answer
286 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
333 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
95 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
1answer
643 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
374 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
0answers
21 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?
1
vote
1answer
208 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 ...
1
vote
1answer
381 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
1answer
93 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
778 views

SIM7600 4G HAT Rpi3B+ Setup Problem

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
2answers
202 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
282 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
25 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
1k 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
93 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 ...