{"id":13901209,"url":"https://github.com/respeaker/mic_hat","last_synced_at":"2025-12-27T13:38:28.781Z","repository":{"id":87561884,"uuid":"93043692","full_name":"respeaker/mic_hat","owner":"respeaker","description":"2 Mic Array for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2023-04-26T01:42:39.000Z","size":24,"stargazers_count":102,"open_issues_count":5,"forks_count":32,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-08-06T21:40:34.887Z","etag":null,"topics":["alexa-voice-service","google-assistant","microphone","raspberry-pi","raspberrypi","respeaker"],"latest_commit_sha":null,"homepage":"https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/respeaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-01T10:04:48.000Z","updated_at":"2024-08-06T21:40:34.887Z","dependencies_parsed_at":null,"dependency_job_id":"8b9d6d78-2ebc-456e-a87d-24f61577df06","html_url":"https://github.com/respeaker/mic_hat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fmic_hat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fmic_hat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fmic_hat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fmic_hat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/respeaker","download_url":"https://codeload.github.com/respeaker/mic_hat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305269,"owners_count":17603780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alexa-voice-service","google-assistant","microphone","raspberry-pi","raspberrypi","respeaker"],"created_at":"2024-08-06T21:01:00.583Z","updated_at":"2025-12-27T13:38:23.759Z","avatar_url":"https://github.com/respeaker.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"MIC HAT for Raspberry Pi\n========================\n\nTo build voice enabled projects with Google Assistant, Amazon Alexa Voice service and etc. \n\n[![](https://github.com/SeeedDocument/MIC_HATv1.0_for_raspberrypi/blob/master/img/mic_hatv1.0.png?raw=true)](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html)\n\n\n## Requirements\n+ [seeed-voicecard](https://github.com/respeaker/seeed-voicecard), the kernel driver for on-board WM8960 codec\n+ [spidev](https://pypi.python.org/pypi/spidev) for on-board SPI interface APA102 LEDs\n+ [google-assistant-library](https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/library)\n+ [avs](https://github.com/respeaker/avs), Alexa Voice Service client python library\n+ [voice-engine](https://github.com/voice-engine/voice-engine)\n\n## Setup\n1. Go to [seeed-voicecard](https://github.com/respeaker/seeed-voicecard) and install it\n2. Use `raspi-config` to enable SPI.\n3. Install `spidev` (`pip install spidev`).\n4. Run `python pixels.py` to test the pixels.\n\n## Build a Google Home like device with Google Assistant SDK\n1. Setup [google-assistant-library](https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-sdk/googlesamples/assistant/library)\n2. Run `python google_assistant.py --device_model_id 'respeaker-xyz'`\n\n## Build an Echo like device with Alexa Voice Service\n1. `pip install avs voice-engine`\n2. Go to [snowboy](https://github.com/Kitt-AI/snowboy) and install its python binding.\n3. `python alexa.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespeaker%2Fmic_hat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frespeaker%2Fmic_hat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespeaker%2Fmic_hat/lists"}