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
1
vote
1answer
126 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 ...
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 ...
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 '...
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 ...
0
votes
1answer
744 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
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
46 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
291 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 ...