Raspi Voice HAT

From Geekworm Wiki
Jump to navigation Jump to search

Raspi Voice HAT-interface
Raspi Voice HAT
Raspi Voice HAT

Overview

Raspi Voice HAT is a Raspberry Pi dual-microphone expansion board specially designed for AI and voice applications. Now you can build a more powerful and flexible voice product that integrates Amazon Amazona voice service, Google Assistant, Baidu AI, etc.

The board is an audio module designed based on the Raspberry Pi. It uses the WM8960 low-power stereo codec, which is controlled by the I2C interface, and the audio is transmitted through the I2S interface. There are two microphones on both sides of the circuit board to collect sound. It also provides 12 APA102 RGB LEDs and an onboard speaker, and provides a user button and an I2C interface for expanding applications.

In addition, the on-board 3.5mm audio jack or JST 2.0 speaker output can be used for audio output, and music can be played through an external headset, and it can also be played with an external speaker through the dual-channel speaker interface. There is a high-quality MEMS silicon microphone on the left and right sides of the board, which can record in stereo.

Features

  • Supply voltage: 5V
  • Logic voltage: 3.3V
  • Audio codec chip: WM8960
  • Control interface: I2C
  • Audio interface: I2S
  • Expansion interface: 1x I2C, 1x button
  • Power interface: 1xType-C interface (5V)
  • LED interface: 12 APA102 programmable RGB LEDs, connected to SPI interface
  • DAC signal-to-noise ratio: 98dB
  • ADC signal-to-noise ratio: 94dB
  • Headphone driver: 40mW (16Ω@3.3V)
  • Speaker driver: 1W per channel (8Ω BTL) (onboard mono speaker)

Packing List

  • 1 x Raspberry Pi Voice HAT

Note: Raspberry pi board is not included .

Document

Pins and GPIO used

Pin No. Usage
2,4 Power supply
3,5 GPIO2,GPIO3 for I2C
12,35,40,38 GPIO18 for I2S
29 GPIO5 for custom button
31 GPIO5 for custom button


How to select GPIO5 or GPIO6 for custom button function? Default is GPIO6;

VOICE-HAT-2.png

Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #4

29 months ago
Score 0++

I was trying to install it on my Raspberry Pi 4B with Ubuntu-mate. Sound is hoarse. Microphone is not working. LEDs as well are not working. Scripts seem to be designed for Python v2.

Total fuckup :-(

Lisa

29 months ago
Score 0++
Hi, Voice HAT SoftwareWe test it base on 2020-08-20-raspios-buster-armhf.img;You must burn the last official Raspbian firmware firstly.

Anonymous user #2

36 months ago
Score 0++

Microphone and speakers working. LED not. I tried it with two Raspis (3 and 3A; Buster) - SPI enabled - spidev installed (pip and pip3)

green LED burns permanently

python button.py: -> works

sudo python pixels.py: sudo python3 pixels.py: -> no errors (added print("something") after pixels.wakeup) -> no LED burns

is it broken or did I fault?

Help needed sincerly

Kay

Anonymous user #1

41 months ago
Score 0++
Do you have software that will access all of these features using either Google Assistant and/or Amazon Alexa?

Xiali

40 months ago
Score 0++

Sorry dear ,Not yet, but we are constantly updating,There are many Raspberry Pi fans exchange experiences on our official website, you are welcome to join us https://geek...munity/forum Regards

Ada/Geekworm

Anonymous user #3

36 months ago
Score 0++

I have the same problem with led.

no LED burns, but no errors during executing pixels.py