Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Npaj Raspberry Pi
- Kauj Ruam 2: Npaj Flirc USB Reciever
- Kauj Ruam 3: Npaj Koj Li Harry Potter Wand
- Kauj Ruam 4: Pair Koj Flirc thiab Harry Potter Wand
- Kauj Ruam 5: Teeb Koj Li Python Code (KAUJ RUAM KAWG!)
Video: Harry Potter IR Chaw Taws Teeb Nrog Raspberry Pi: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Los ntawm coleminer31 Ua raws ntau los ntawm tus sau:
Txog: Kuv yog tus kws tshaj lij hluav taws xob nrog kev txaus siab ua khawv koob tshwm sim thaum nias lub pob. Qee zaum koj tso cov khawv koob xiav haus luam yeeb tawm, txawm li cas los xij. Xav paub ntau ntxiv txog coleminer31 »
Cov lus qhia no qhia yuav ua li cas thiaj ua tau yooj yim Python tsab ntawv uas yog tswj los ntawm Harry Potter universal cov chaw taws teeb tswj los ntawm Noble Collection. Nws xav tau Raspberry Pi ua tus tswj hwm thiab Flirc USB IR tus txais txais ua ke nrog lub thoob thoob thoob thoob los tswj kev ua haujlwm hauv tsab ntawv.
Kuv tuaj txog ntawm qhov kev daws teeb meem no tom qab sim hloov kho ntau yam khoom siv tswj tuav uas lwm tus neeg tshaj tawm cov lus qhia rau ntawm Qhia, Hackster, thiab lwm qhov. Cov nto moo tshaj plaws ntawm no yog Rasberry Potter project tsim los ntawm Sean O'Brien (https://www.raspberrypotter.net/about). Feem ntau ntawm cov phiaj xwm tau ua rau cov phiaj xwm ua haujlwm los ntawm kev cuam tshuam IR lub teeb ci tawm ntawm qhov taub ntawm tus pas nrig, kuaj pom lub teeb pom kev zoo siv Raspberry Pi NoIR lub koob yees duab, thiab taug qab lub teeb uas siv lub khoos phis tawj pom kev sib txawv. Cov phiaj xwm no ua haujlwm, thiab qhov hloov pauv tau uas lub khoos phis tawj pom kev raws qhov ua tau zoo yog qhov ua tau zoo. Tab sis lub khoos phis tawj lub zeem muag pom kev txhua qhov tso cai rau qee qib ntawm qhov tsis pom tseeb, thiab kuv xav tau qee yam ntxiv.
Kuv lub hom phiaj kawg yog tsim kom muaj lub thawv khawv koob, tuav cov khoom muaj nqis uas kuv tus viv ncaus tuaj yeem siv los ua tus txhawb nqa hauv nws chav kawm qib ib (ob leeg kuv tus muam thiab kuv niam yog tus kws qhia, thiab lawv yog cov khawv koob tiag). Kuv pib los ntawm kev rov tsim kho qhov Raspberry Potter project, tab sis, raws li kuv tau sau tseg lawm, kuv muaj teeb meem tshem tawm qhov tsis pom tseeb. Cov chav kawm yog qhov chaw uas tsis tuaj yeem kwv yees tau, hais tsawg kawg. Muaj ntau ntau qhov txav mus los uas tuaj yeem cuam tshuam lub teeb lossis qhov ntawd yuav yog lub teeb pom kev ntawm lawv tus kheej, thiab koj tsis tuaj yeem yooj yim dim chav kawm txaus kom tshem tawm cov peev txheej uas lub khoos phis tawj pom kev algorithms yuav sim taug qab.
Kuv paub tias kuv xav tau qee yam uas tsis tuaj yeem cuam tshuam nrog cov teeb pom kev zoo hauv chav kawm. Tib lub sijhawm, kuv paub tias kuv tsis xav tsim ib yam zoo li kuv tus kheej. Hmoov zoo, Lub Tuam Txhab Nobel twb tau ua Harry Potter universal wand rau tej thaj chaw deb, thiab Flirc USB tus txais yuav muab koj lub peev xwm los cuam tshuam nrog ib qho IR tej thaj chaw deb hais kom ua nrog tus yuam sij. Los ntawm kev sau ib tsab ntawv nab nab uas tos rau qhov tshwj xeeb nias, Kuv muaj peev xwm txheeb xyuas cov lus txib xa los ntawm Harry Potter universal wand nyob deb txhua lub sijhawm nws tau ua tiav los ntawm Flirc USB tus txais. Qhov teeb tsa no tau muab kev tswj hwm kuv xav tau.
Koj tuaj yeem pom cov txiaj ntsig hauv gifs kuv tshaj tawm. Hauv cov vis dis aus no, kuv siv kuv cov ntawv harrypottercontroller.py los tsav lub cav servo, uas qhib thiab kaw lub thawv khoom uas yuav muab tso rau hauv kuv tus muam chav kawm.
Khoom siv
Rasberry Pi 3b+
www.amazon.com/CanaKit-Raspberry-Premium-C…
Flirc USB tus txais
flirc.tv/flirc-usb
Harry Potter Universal Remote Wand
www.amazon.com/HARRY-POTTER-Remote-Control..
Kauj Ruam 1: Npaj Raspberry Pi
Kuv siv Raspberry Pi 3 Qauv B+ rau txoj haujlwm no, tab sis cov nab nab ntawv yuav tsum ua haujlwm nrog lwm cov qauv. (Thiab nws yuav zoo li ua haujlwm nrog lwm qhov teeb tsa uas tuaj yeem ua haujlwm Python muaj chaw nres nkoj usb, ib yam nkaus.) Koj yuav xav tau cov keyboard, nas, thiab tso saib rau koj li Raspberry Pi yog tias koj tsis muaj lawv.
Thaum koj muaj koj li Raspberry Pi teeb tsa khiav, ua raws cov lus qhia no los ntawm Sparkfun kom pib nrog Python.
learn.sparkfun.com/tutorials/python-progra…
Kauj Ruam 2: Npaj Flirc USB Reciever
Tam sim no koj muaj Python khiav ntawm koj lub Raspberry Pi, ntsaws Flirc UCB tus txais mus rau hauv USB qhov ntawm koj lub rooj tsavxwm.
Ua raws cov lus qhia no txhawm rau txhim kho Flirc software ntawm koj li Rasberry Pi.
flirc.gitbooks.io/flirc-instructions/conte…
Kauj Ruam 3: Npaj Koj Li Harry Potter Wand
Koj yuav xav tau ob lub roj teeb AA thiab IR TV chaw taws teeb. Thaum koj muaj lawv, ua raws cov lus qhia no los ntawm The Noble Collection los pib ua koj rab koob, xyaum qee yam piav tes piav tes, tom qab ntawd teeb tsa qee yam taw tes kom phim tus lej uas xa los ntawm koj lub TV.
www.noblecollection.com/ItemFiles/Manual/R…
Kauj Ruam 4: Pair Koj Flirc thiab Harry Potter Wand
Tam sim no koj muaj koj li Flirc thiab Harry Potter wand teeb tsa, koj yuav tsum tau khub lawv. Koj tuaj yeem ua qhov no los ntawm Flirc GUI siv cov lus qhia no.
flirc.gitbooks.io/flirc-instructions/conte…
Ua raws li "Advanced Pairing" phau ntawv qhia txhawm rau sau IR cov lus txib, xa los ntawm kev tuav koj tus pas thaum nws nyob hauv Hom Kev Tswj, thiab cuam tshuam nrog nws mus rau qhov nias. Tom qab ntawd kaw qhov Flirc kaw hom, qhib Raspberry Pi lub davhlau ya nyob twg, thiab yoj koj lub wand dua, saib seb puas muaj tus nias koj qhov program tau tshwm sim hauv lub davhlau ya nyob twg.
Koj tseem tuaj yeem ua qhov no hauv lub davhlau ya nyob twg yam tsis siv GUI los ntawm kev ua raws cov lus qhia no.
flirc.gitbooks.io/flirc-instructions/conte…
Nov yog qhov kuv nyiam tshaj plaws thaum ua haujlwm ntawm txoj haujlwm, thiab nws yog txoj hauv kev kuv pom zoo yog tias koj nyiam ua haujlwm hauv Linux davhlau ya nyob twg.
Kauj Ruam 5: Teeb Koj Li Python Code (KAUJ RUAM KAWG!)
Ua ntej, rub tawm harrypottercontroller.py Python tsab ntawv hauv Cov Lus Qhia no, lossis tau txais los ntawm git repo ntawm no.
github.com/coleminer31/HarryPotterRaspberr…
Muab cov ntawv nab nab tso rau hauv phau ntawv teev npe uas koj xaiv, thiab qhib nws nrog tus kws kho koj xaiv.
Txhua yam koj yuav tsum tau ua yog hloov 'PUT YOUR CHOSEN CHARACTER HERE' nrog Flirc tus cwj pwm koj ua khub nrog koj tus pas. Tom qab ntawd hloov #DO Qee Yam Ntawm No hauv cov khawv koob thaum-lub voj nrog ua haujlwm uas koj xav khiav. (Cov Lus Qhia: koj yuav xav ua lub luag haujlwm uas ua txhaum lub voj tom qab tus yuam sij raug nias, yog li koj tuaj yeem zam lub voj tsis muaj qhov kawg thiab tso tseg tsab ntawv kom raug.)
Thiab qhov ntawd yog nws! Nws yog tus wizard, programmer. Tam sim no koj tuaj yeem tswj Python kev ua haujlwm nrog koj tus pas. Tsuas yog khiav tsab ntawv thiab muab nws yws.
Koj tuaj yeem siv qhov teeb tsa no los tsav txhua tus lej ntawm daim ntawv thov, los ntawm kev siv neeg hlau mus rau IoT. Kuv tos ntsoov pom qhov koj tsim!
Pom zoo:
TV Chaw Taws Teeb dhau los ua chaw taws teeb RF -- NRF24L01+ Qhia: 5 Kauj Ruam (nrog Duab)
TV Chaw Taws Teeb dhau los ua chaw taws teeb RF || NRF24L01+ Tutorial: Hauv qhov haujlwm no kuv yuav qhia koj li cas kuv siv lub npe nrov nRF24L01+ RF IC los kho qhov ci ci ntawm LED sawb wireless los ntawm peb lub khawm tsis muaj nuj nqis ntawm TV chaw taws teeb. Cia peb pib
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
Ordinary Cov Khoom Siv Hluav Taws Xob Hloov pauv mus rau Plaub-channel RC Qho Chaw Taws Teeb Chaw Taws Teeb: 4 Cov Kauj Ruam
Ordinary Cov Khoom Siv Hluav Taws Xob hloov pauv mus rau plaub-channel RC Toy Remote Control: 将 将 通用 遥控 器 转换 转换 玩具 玩具 模型 使用 的 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62方法 方法 非常。 只需 准备 一些 瓦楞纸 瓦楞纸 板 板 , , , 然后 然后
Hloov koj li IR Chaw Taws Teeb rau RF Chaw Taws Teeb: 9 Kauj Ruam (nrog Duab)
Hloov Koj Li IR Chaw Taws Teeb rau RF Chaw Taws Teeb: Hauv hnub no Qhia tau, kuv yuav qhia koj li cas koj tuaj yeem siv tus lej RF tsis muaj lub microcontroller uas thaum kawg yuav coj peb los tsim txoj haujlwm uas koj tuaj yeem hloov IR Chaw Taws Teeb ntawm ib lub cuab yeej mus rau RF Tej thaj chaw deb. Qhov txiaj ntsig tseem ceeb ntawm kev hloov pauv
Chaw Taws Teeb Chaw Taws Teeb: 11 Kauj Ruam (nrog Duab)
Chaw Taws Teeb Chaw Taws Teeb: Kuv muaj menyuam mos yug los thiab nws tsis xav tias nws yuav tsum tsaug zog ntev li kuv tus poj niam thiab kuv yuav xav tau nws ib yam. Ib yam uas ua rau nws zoo siab hauv nws lub txaj yog lub xov tooj uas dai ntawm nws. Yog li thaum nws sawv yog tias peb xav tau lwm 25 feeb lossis ntau dua ntawm sl