Cov txheej txheem:
- Kauj ruam 1: OS thiab Lub Sijhawm Txhim Kho
- Kauj ruam 2: Rub tawm thiab Khiav
- Kauj Ruam 3: Kev hloov kho thiab Tom Qab Lo Lus
Video: Raspberry Pi Soundboard: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Lub hom phiaj ntawm txoj haujlwm no yog los tsim lub suab lus nrog Raspberry Pi, rau txhua lub suab. Kuv tus kheej tsim nws rau lub hom phiaj ntawm Dungeons and Dragons soundboard ambiance. Txawm li cas los xij, koj tuaj yeem siv qhov no rau txhua yam yog koj hloov nws
Teem caij
Rau qhov haujlwm no koj yuav xav tau:
- Kev Siv Internet
-
Raspberry Pi (Txhua Tus Qauv)
www.adafruit.com/product/3055
-
Fais Adapter rau Raspberry Pi
www.adafruit.com/product/1995
-
Micro SD daim npav <4 GB.
www.adafruit.com/product/3259
-
Hais lus
Ib qho Aux lossis Bluetooth hais lus zoo
-
Keyboard Number Pad (Keyboard tseem yuav ua haujlwm tau zoo
Kuv siv qhov no, tab sis tsuas yog vim kuv twb muaj nws lawm
Kauj ruam 1: OS thiab Lub Sijhawm Txhim Kho
Yog li, Ua ntej coj koj daim npav Micro SD, Koj yuav tsum tau teeb tsa qee qhov version ntawm Linux. Kuv siv Rapbian vim tias nws tau tsim tshwj xeeb rau Raspberry Pi. Nov yog qhov txuas kom tau txais duab Raspbian. Tam sim no koj xav tau qee lub cuab yeej los teeb tsa nws mus rau Micro SD daim npav. Kuv siv Etcher. Nws yog tus ntoo khaub lig txheej txheem tsim rau qhov no. Siv qhov txuas no rub tawm thiab teeb nws.
Thaum koj tau teeb tsa Raspbian ntawm Micro SD daim npav, ntsaws nws rau hauv Raspberry Pi's Micro SD daim npav qhov, thiab txhawb nws. Nws yuav hais thawj zaug teeb tsa, yog li nco ntsoov tsis txhob tua nws thaum teeb tsa. Thaum nws tau nce thiab khiav, koj yuav tsum tau ua kom ntseeg tau tias koj muaj ob peb yam teeb tsa. Nab hab sej 3, pip3, VLC Media Player, thiab libvlc. Qhib lub davhlau ya nyob twg thiab khiav cov lus txib no.
sudo apt-tau nruab python3 python3-pip vlc libvlc-dev youtube-dl
Tam sim no, ntawm no yog yuav ua li cas txheeb xyuas qee qhov nws tau teeb tsa.
nab hab sej 3
python3 --version
pib 3
pip3 khov
VLC thiab libvlc
vlc -rov
Tam sim no, pip3 yog Python 3 Tus tswj hwm pob. Koj tuaj yeem nruab cov tsev qiv ntawv nab hab sej nrog nws. Muaj ob peb pob uas koj xav tau los nruab nrog pip3. Khiav cov lus txib no.
pip install pafy
pip nruab readchar
pip nruab sej-vlc
pip nruab youtube-dl
Thaum koj ntaus pip3 khov, koj yuav pom lawv muaj npe nyob ntawd.
Kauj ruam 2: Rub tawm thiab Khiav
Tam sim no koj tau teeb tsa txhua yam tsim nyog los khiav txoj cai, ntawm no yog qhov koj rub tawm cov cai.
github.com/Dude036/soundboard
Ntawm sab xis, koj yuav pom lub pob rub tawm. Rub tawm cov cai, rau hauv daim nplaub tshev uas koj xav tau. Qhib lub nplaub tshev uas koj rub tawm cov ntaub ntawv hauv lub davhlau ya nyob twg. Thaum koj nyob ntawd, nyeem ReadMe, txt kom paub ntau ntxiv.
Txhawm rau khiav Daim Ntawv Thov, koj khiav cov lus txib no
python3 main.py
Yog tias muaj qhov yuam kev thaum pib. txheeb xyuas koj cov kauj ruam kawg kom paub tseeb tias nws ua haujlwm raug. Thaum koj tau teeb tsa thiab khiav qhov program, koj tau teeb tsa tag nrho! Yog tias muaj qhov ua yuam kev thaum khiav, nco ntsoov ntxiv nws ua qhov teeb meem ntawm GitHub thiab kuv yuav ua kom ntseeg tau tias nws tau daws thiab kho
Cov Ntsiab Lus Tseem Ceeb:
- 0-9: Pib ua si lub suab sib xws hauv qhov preset koj tau xaiv
- + lossis -: Ncua thiab Ua Si
- *: Hloov ua ntej Los ntawm lub neej ntawd nws yuav yog qhov qub tshaj plaws khaws cia ua ntej. Thaum koj nias lub pob, nws yuav teev tag nrho cov presets tam sim no hauv cov npe tseem ceeb.
Kauj Ruam 3: Kev hloov kho thiab Tom Qab Lo Lus
Tam sim no koj tau txais txoj cai khiav, koj zoo siab los tsim koj tus kheej ua ntej. Nov yog yuav ua li cas.
Koj yuav xav tau 10 txuas, ntawm 10 kab sib txawv ntawm cov ntawv ua ntej. Txhua kab yuav tsum tsis muaj qhov chaw nyob ntawm ob sab ntawm qhov txuas. YouTube txuas ua haujlwm ib yam nkaus. Nco ntsoov tias muaj kab khoob ntawm qhov kawg ntawm cov ntawv. Qhov kev zov me nyuam yuav qhia rau koj paub tias nws puas siv tau los tsis ua.
Ua tsaug rau kev txheeb xyuas Cov Lus Qhia no! Yog tias koj pom cov kab hauv kab ntawv, qhia rau kuv paub ntawm GitHub Project nplooj ntawv.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Kawm Yuav Ua Li Cas Kos Tus Tswm Ciab - Kauj Ruam Ib Kauj Ruam: 6 Kauj Ruam
Kawm Yuav Ua Li Cas Thiaj Li Tswmciab - Kauj Ruam Ib kauj ruam: Cov tswm ciab no siv sijhawm 10 feeb los kos yog tias koj ua raws kuv cov kauj ruam ua tib zoo
Prototype Arduino-Raspberry Pi Soundboard: 9 Kauj Ruam (nrog Duab)
Prototype Arduino-Raspberry Pi Soundboard: Lub suab tsim qauv tsim nrog Arduino thiab Raspberry Pi yog txhais tau tias yog txoj hauv kev yooj yim ntawm kev ua si 4 lub suab sib txawv lossis nrov nrov thaum muaj kev xaiv los hloov suab teeb tsa nrog pob qhov rooj thiab tso saib lub suab tam sim no teeb nrog LCD npo.*Thov