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
1answer
28 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 ...
-3
votes
0answers
34 views

Can a Pi Zero be stacked on top of the GPIO pins of a regular Pi?

I'm curious if anybody has attempted to use the bare board Pi Zero (without the GPIO pins pre-soldered) as a virtual Pi on a Pi HAT for a full size Raspberry Pi (2, 3 or 4, etc)? I see the possibility ...
1
vote
1answer
27 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 ...
0
votes
0answers
22 views

Do the PiJuice and SenseHat HATs clash?

I have two hats a PiJuice UPS and a SenseHat. The GPIO pinouts for each are https://pinout.xyz/pinout/pijuice and https://pinout.xyz/pinout/sense_hat respectively. When I stack my SenseHat onto the ...
0
votes
0answers
23 views

Servo and DC/Stepper Motor Hats Together

I am creating a robot with my Raspberry Pi 3 B+. For my project, I wish to use 2x NEMA 17 stepper motors for moving around, and 2x SG90 servos for managing pan/tilt of the head. I already have an ...
1
vote
1answer
112 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
149 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
2answers
495 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
14 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-...
0
votes
1answer
81 views

Can I use a DHT22 sensor with the servo hat installed on my RPi-3?

the title pretty much says it all... My son an I are doing some robotics experimenting with the RPi-2 and RPi-3, we are using the Servo Hat to control several servos on them. We would like to ...
0
votes
0answers
21 views

Distorted sound using VOIP and ReSpeaker HAT

I am using the ResSeaker HAT on my raspberrypi 3. After installing the drivers im able to record the sounds using the inbuilt mic and play it from my speakers (using the command arecord -f cd -Dhw:1 | ...
0
votes
0answers
15 views

respeaker HAT and voip using raspberrypi

I am using the respeaker HAT on my raspberrypi 3. After installing the drivers im able to record the sounds using the inbuilt mic and play it from my speakers (using the command arecord -f cd -Dhw:1 | ...
0
votes
0answers
102 views

Waveshare SIM7600E-H no wwan0 interface when connected to Raspberry Pi 4 model B

I have connected the new Raspberry Pi 4 model b with the waveshare SIM7600E-H 4G HAT. The os is Raspbian Buster Lite. The configuration I use is the following: 1) The jumpers are placed in the middle ...
0
votes
1answer
182 views

Finding EEPROMS suitable for HATs

I'm working through the HAT design guide to work out what kind of EEPROMs I can use. To quote it: 24Cxx type 3.3V I2C EEPROM must be used (some types are 5V only, do not use these). The EEPROM must ...
1
vote
2answers
150 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 ...
0
votes
1answer
308 views

Problem with HAT GSM/GPRS/GNSS/Bluetooth

I have: Connected rasspbery pi zero with HAT GSM/GPRS/GNSS/Bluetooth by gold-pins. List item Switched UART to B-position Raspbian version: 9 (stretch) When I used pwdrkey i have only PWR and STA ...
1
vote
0answers
164 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 ...
0
votes
2answers
294 views

sense hat sample “snake” returns “event device not found” error

My "sense hat" sits ontop of a raspberry pi 3. I've completed the installation instructions found at https://www.raspberrypi.org/documentation/hardware/sense-hat/ lexu:~> sudo apt-get update lexu:~...
1
vote
1answer
25 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
2answers
46 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. ...
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 ...
0
votes
1answer
30 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
74 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).
2
votes
0answers
65 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 ...
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
692 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 ...
1
vote
2answers
984 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
1answer
180 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
0answers
180 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 ...
0
votes
0answers
33 views

Are there any battery backup options that work with a PoE powered Pi?

Looking to have a Pi (4) that is powered over PoE - are there any battery backup options (i.e. hats) that can be stacked with the PoE hat & supply power if/when the PoE fails (and then re-charge ...
1
vote
1answer
171 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 ...
0
votes
1answer
726 views

Waveshare GSM/GPRS/GNSS HAT not connecting to Cellular network

I have this HAT i bought for a pi project I am working on. I get the device to power on, I can connect via USB from PC, and can connect from pi too. However, the NET LED just blinks every second, ...
2
votes
1answer
352 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 ...
1
vote
1answer
232 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
0answers
71 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
votes
2answers
344 views

Control motors and servos simultaneously (Python)

I have a Raspberry Pi 2B+ and some knowledge of Python. I need to control a DC motor, two servos and a LED simultaneously. The requirements are: Must control two servos, a LED and at least 1 DC ...
0
votes
2answers
144 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-...
1
vote
1answer
270 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
53 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
290 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 ...
0
votes
0answers
93 views

Unable to get accurate RPM with Adafruit Stepper Motor HAT v0.1

I'm trying to drive some stepper motors using a Raspberry Pi 3 B V1.2 and an Adafruit Stepper Motor HAT v0.1 and am having trouble setting them to the speed I want. The motors have a step angle of 1.8 ...
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 ...
0
votes
0answers
28 views

Analog input together with LoRaWAN

I am looking for a hardware configuration enabling me to read an analog input from ammeter and collect the historical data and send them over LoRa to a server. So I could use something like Monarco ...
0
votes
1answer
24 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 ...
3
votes
2answers
800 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 ...
1
vote
1answer
179 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 ...
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 ?
1
vote
0answers
82 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 ...
2
votes
2answers
931 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, ...
0
votes
0answers
116 views

How to turn multiple servos by an angle using the Adafruit servo/pwm pi hat?

So I'm using a Raspberry Pi Model 3b and an Adafruit 12-bit PWM Servo/PWM Pi Hat on my project to control 6 independent continuous servos. I'd like to send in signals that would turn the servo by that ...