BUILD YOUR OWN AMAZON ALEXA ASSISTANT - Powered by Raspberry Pi
Автор: Dial Pixel
Загружено: 2021-02-07
Просмотров: 43794
In a previous video, we built the Google Home Assistant using the Raspberry Pi. In this video, we build the Amazon Alexa Assistant into the raspberry pi. The Alexa assistant also works in headless mode unlike the Raspberry Pi Google Assistant, so, you can activate it using your voice and do not need to press a key to ask questions. This project took a lot of time in the making and we tried to make it as informative as possible. If you have questions, ask them in the comments and we will try to answer them. Thanks for your support! Subscribe!
Follow us on Social Media:
Instagram: / dialpixel [@dialpixel]
Facebook: / dialpixel
[] Support us on Patreon if this helped you out: / dialpixel []
For this project, you will need:
1)Raspberry Pi 2,3, or 4 with Raspberry Pi OS preloaded
2)USB Microphone or Analog Microphone + USB DAC
3)Speakers
4)Basic PC Peripherals
-------------------------------------------------------------------
Support our channel by buying from one of these links [[Affiliate links]]:
-------------------------------------------------------------------
Raspberry Pi 4: https://amzn.to/2OcUIEe [Recommended]
Mini USB Microphone: https://amzn.to/39XmhtH
JBL Charge 3: https://amzn.to/2My12Wx
-------------------------------------------------------------------
Gears I used in the making of this video:
-------------------------------------------------------------------
Logitech MX Master 2S: https://amzn.to/2QUNYJM
LG 29" Ultrawide Monitor: https://amzn.to/2UqUSIx
Sony RX100 MIII Camera: https://amzn.to/3aueRvN
Samsung Galaxy Note 9 (aka The Best Phone Ever Made): https://amzn.to/36LkDJl
Blue Yeti Microphone: https://amzn.to/3bBhbBm
-------------------------------------------------------------------
Links used in the video
-------------------------------------------------------------------
Follow the whole project at:
https://pimylifeup.com/raspberry-pi-a...
Amazon Developer Page:
https://developer.amazon.com/login.html
Amazon Security Profile:
https://developer.amazon.com/lwa/sp/o...
Amazon Authentication Page:
https://amazon.com/us/code
-------------------------------------------------------------------
Paste the following in the .asoundrc file:
-------------------------------------------------------------------
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type plug
slave {
pcm "hw:[card number],[device number]"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:[card number],[device number]"
}
}
--------------------------------------------------------------------------------------------------------------------------------------
Paste the following in the UserInputManager.cpp file under the While loop:-
--------------------------------------------------------------------------------------------------------------------------------------
std::this_thread::sleep_for(std::chrono::hours(1));
continue;
----------------------------------------------------------------------------
Paste the following in the alexa.service file
--------------------------------------------------------------------------
[Unit]
Description=Raspberry Pi Alexa
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/bin/bash /home/pi/startsample.sh
Restart=on-abort
User=pi
Group=pi
[Install]
WantedBy=multi-user.target
-------------------------------------------------------------------
🎵 Track Info:
-------------------------------------------------------------------
Music: Subway Dreams - Dan Henig
Support by RFM - NCM: https://bit.ly/2xGHypM
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: