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
2
votes
0answers
17 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 ...
0
votes
1answer
87 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
1answer
3k views

arecord throw Input/Output error

When trying to run the following command, I am getting Input/Output error pi@raspberrypi:~ $ sudo arecord -Dhw:1,0 -d 10 -f cd -t wav test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian,...
1
vote
1answer
29 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 ...
0
votes
1answer
193 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 ...
0
votes
1answer
334 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
1answer
314 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 ...
0
votes
2answers
303 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:~...
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 ...
0
votes
0answers
19 views

Can I use a Pi Sense HAT and motor HAT together?

I have a Raspberry Pi 4 and I'm wondering if it's possible to use the sense and motor HATs together ( preferably stacked )? These are in the following links: https://thepihut.com/products/raspberry-...
6
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 ...
0
votes
0answers
48 views

Is it possible to connect two waveshare SIM7600E-H lte hats on the same raspberry pi 4?

I have a raspberry pi 4 model b connected to a waveshare SIM7600E-H 4g hat. The connectivity is the following : 1) I have the jumpers in the middle position 2) The shield is connected onto the RPi ...
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 ...
1
vote
1answer
127 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
2answers
1k 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
28 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
0answers
36 views

Are there plans to make a RPI 4 PoE Hat that matches RPI4 power specs?

The RPI 4 draws up to 3amps at 5.1V. The official PoE HAT outputs 2.5 amps at 5V. Generally this should be enough but I'm curious if a higher spec PoE HAT for the RPI 4 is planned? If not can one be ...
1
vote
1answer
35 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 ...
0
votes
0answers
34 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
42 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
229 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
166 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
691 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'...
0
votes
0answers
25 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
20 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
348 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 ...
1
vote
2answers
183 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
408 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
1answer
27 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
91 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
42 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
217 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
93 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
3answers
763 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
1answer
393 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
361 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
52 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
223 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
801 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
552 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
458 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
139 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
496 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
182 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
61 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
646 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
123 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
24 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
29 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
32 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 ...