Ks0314 keyestudio ReSpeaker 2-Mic Pi HAT V1.0: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
(Replaced content with "For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you. https://docs.keyestudio.com/projects/KS0314/en/latest/ After-sales email: amazon:[email protected] Official keyestudio website: [email protected] AliExpress:[email protected]")
Tag: Replaced
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.


[[image:KS0314.png|thumb|500px|right|Keyestudio ReSpeaker 2-Mic Pi HAT V1.0]]
https://docs.keyestudio.com/projects/KS0314/en/latest/


<br>
After-sales email:
==Overview==
This is keyestudio ReSpeaker 2-Mic Pi HAT V1.0 shield designed for AI and voice applications. It is a low power stereo Codec based on the WM8960.<br>
There are two microphones on the shield for sound collection, three APA102 RGB LEDs, one user button and two connectors for application extension. The shield comes with <span="color style:red">2.54mm Grove cable </span> <br>
In addition, a 3.5mm audio jack or JST 2.0 speaker output can be used for audio output.<br>
With this shield, you can build a more powerful and flexible voice product that integrates Amazon Amazona voice services, Google Assistant, and more.<br>
<br>[[Image:KS0314 back.jpg|800px|frameless]]<br>


<br>


==Features==
Official keyestudio website: sunny@keyestudio.com
* Support the Raspberry Pi Zero and Zero W, Raspberry Pi B+, Raspberry Pi 2B and 3B
* Two microphones (Mic L and Mic R)
* Two Grove connectors
* One User-defined button
* 3.5mm audio interface
* JST2.0 audio output interface


<br>
AliExpress:summer@keyestudio.com
 
==PINOUT==
<br>[[Image:KS0314 PINOUT.jpg|800px|frameless]]<br>
 
<br>
==Interface Explanations==
1) '''Button:''' default connected to GPIO17<br>
2) '''Mic L and Mic R:''' microphone (labeled LEFT and RIGHT)<br>
3) '''RGB LED:'''three APA102 RGB LEDs, connected to the SPI interface of Raspberry Pi.<br>
4) '''WM8960:''' Low Power Stereo Codec<br>
5) '''Raspberry Pi 40 pin header:''' support the Raspberry Pi Zero, Raspberry Pi 1 B+, Raspberry Pi 2B and 3B.<br>
6) '''POWER:''' Micro USB port that powers the ReSpeaker 2-Mic Pi HAT. Power the circuit board to supply enough current when use the speaker.<br>
7) '''I2C:''' Grove I2C port, connected to I2C-1<br>
8) '''GPIO12:''' Grove digital port, connected to GPIO12 and GPIO13<br>
9) '''JST 2.0 SPEAKER OUT:''' connecting speakers, JST 2.0 connector<br>
10) '''3.5mm audio jack:''' connecting headphones or speakers with 3.5mm audio plug<br>
 
<br>
==Test Method==
'''1.''' Firstly install the 2018-06-27-raspbian-stretch-lite to the RPI control board. You can download the image system from the link: <br>https://www.raspberrypi.org/downloads/raspbian/
<br>[[Image:KS0314-1.png|800px|frameless]]<br>
<br>
Refer to the image installation from the link:<br>
http://wiki.keyestudio.com/index.php/KS0221_keyestudio_Ultimate_Starter_Kit_for_Raspberry_Pi
<br>
 
'''2.''' Log onto the image file, followed by installing the driver as below. <br>
'''sudo apt-get update  '''<br>
<br>[[Image:KS0314-2.png|800px|frameless]]<br>
'''sudo apt-get upgrade'''<br>
<br>
<br>[[Image:KS0314-3.png|800px|frameless]]<br>
<br>
'''Enter ''Y'' and press the ENTER key to continue.'''<br>
<br>[[Image:KS0314-4.png|800px|frameless]]<br>
<br>
'''Enter the website https://github.com/respeaker/seeed-voicecard to download the zipped package file.'''
<br>[[Image:KS0314-5.png|800px|frameless]]<br>
<br>
'''Then put the package downloaded into the RPI system using the ''WinSCP''software.'''
<br>[[Image:KS0314-6.png|800px|frameless]]<br>
<br>
'''Enter the ''unzip seeed-voicecard-master.zip'' to unzip the package'''
<br>[[Image:KS0314-7.png|800px|frameless]]<br>
<br>
'''Then enter the ''cd seeed-voicecard-master'' into the folder'''
<br>[[Image:KS0314-8.png|800px|frameless]]<br>
 
<br>
'''Enter the ''sudo ./install.sh'' to start to install the file.'''
<br>[[Image:KS0314-9.png|800px|frameless]]<br>
<br>
'''Installation finished'''
<br>[[Image:KS0314-10.png|800px|frameless]]<br>
<br>
'''Restart the software ''putty'', go into the ''seeed-voicecard-master'' folder, and enter ''aplay-l'', check whether the voicecard name matches with the source code seeed-voicecard.'''
<br>[[Image:KS0314-11.png|800px|frameless]]<br>
<br>
'''Put on the earphone (note: the sound is a little bit loud), then enter the ''arecord -f cd -Dhw:1 | aplay -Dhw:1'' If lightly hit the two microphones on the board, there should be sound. Otherwise it is poor contact.
<br>[[Image:KS0314-12.png|800px|frameless]]<br>
 
<br>
'''Hookup Guide:'''
<br>[[Image:KS0314-13.png|800px|frameless]]<br>
 
'''Finally press the “Ctrl+C” to end the mic test.''' <br>
'''Now next we start to test the 3 LEDs on the shield.'''<br>
'''Enter the ''cd ..'' to return to the previous route and input the ''sudo raspi-config'''''
<br>[[Image:KS0314-14.png|800px|frameless]]<br>
<br>
'''Select the ''Interfacing Options'' as below, then select the ''SPI'', click ''YES'', select ''OK'', ''Finish''. Shown below.'''
 
<br>[[Image:KS0314-15.png|800px|frameless]]<br>
<br>[[Image:KS0314-16.png|800px|frameless]]<br>
<br>[[Image:KS0314-17.png|800px|frameless]]<br>
<br>[[Image:KS0314-18.png|800px|frameless]]<br>
<br>[[Image:KS0314-19.png|800px|frameless]]<br>
<br>
'''Then, enter the git clone https://github.com/respeaker/mic_hat.gir to download the package file.'''
 
<br>[[Image:KS0314-20.png|800px|frameless]]<br>
<br>[[Image:KS0314-21.png|800px|frameless]]<br>
<br>
'''Enter the ''sudo apt-get install python-pip'' to install the file.'''
 
<br>[[Image:KS0314-22.png|800px|frameless]]<br>
<br>[[Image:KS0314-23.png|800px|frameless]]<br>
<br>[[Image:KS0314-24.png|800px|frameless]]<br>
<br>
'''Installed successfully, enter the ''sudo pip install spidev'' to install the file.'''
<br>[[Image:KS0314-25.png|800px|frameless]]<br>
<br>
'''Installed well, enter the ''mic_hat'' folder.'''
<br>[[Image:KS0314-26.png|800px|frameless]]<br>
<br>
'''Then enter the ''python pixels.py'' to run the program.'''
<br>[[Image:KS0314-27.png|800px|frameless]]<br>
<br>[[Image:KS0314-28.png|800px|frameless]]<br>
<br>
'''When run the program, 3 LEDs on the board will light up in different colors.'''
<br>[[Image:KS0314-29.png|700px|frameless]]<br>
 
<br>
 
==Resources==
'''Download the PDF:'''<br>
https://drive.google.com/open?id=1mib24Ivi7ZPSIc-sAJwEzBS1alHc4_tN
 
'''Download the Package:'''<br>
https://drive.google.com/open?id=1eaIe65R4kOwhe-pU7KaXeswyaZQv7kes
 
 
<br>
==Buy From==
*[https://www.keyestudio.com/keyestudio-5v-respeaker-2-mic-pi-hat-v10-expansion-board-for-raspberry-pi-zero-zero-w-b-p0342.html    Official website ]
 
* [https://www.ebay.com/itm/132770871295  Get one on eBay]
 
* [https://www.aliexpress.com/store/product/Keyestudio-5V-ReSpeaker-2-Mic-Pi-HAT-V1-0-Expansion-Board-For-Raspberry-Pi-Zero-Zero/1452162_32902300949.html?spm=2114.12010612.8148356.2.3fc85f388DKGTa    Get one on Aliexpress]
 
 
 
[[Category: Shield]]

Latest revision as of 09:55, 2 September 2025

For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.

https://docs.keyestudio.com/projects/KS0314/en/latest/

After-sales email:

amazon:[email protected]

Official keyestudio website: [email protected]

AliExpress:[email protected]