Cov txheej txheem:

Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam

Video: Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam

Video: Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub: 9 Kauj Ruam
Video: Hmong News 10/11/21 | Xov Xwm Hmoob | World News in Hmong | Xov Xwm Ntiaj Teb | Hmong TV Network 2024, Kaum ib hlis
Anonim
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub
Tswj Koj Cov Khoom Siv Hluav Taws Xob Nrog Koj Lub Tv Remote (ir Remote) Nrog Kub thiab Vaum Zaub

nyob zoo Kuv yog Abhay thiab nws yog kuv thawj blog ntawm Cov Ntawv Qhia thiab hnub no kuv yuav qhia koj li cas tswj koj cov khoom siv hluav taws xob nrog koj lub TV tej thaj chaw deb los ntawm kev tsim txoj haujlwm yooj yim no. ua tsaug rau atl lab rau kev txhawb nqa thiab muab cov khoom siv

Kauj Ruam 1: Cia Kuv Piav Qhia

Nyob zoo! txhua leej txhua tus hnub no kuv yuav qhia koj li cas tswj koj cov khoom siv hluav taws xob (tv, kiv cua, teeb) nrog koj tv ar lwm IR (Infrared) chaw taws teeb nrog kev pab ntawm Arduino microcontroller. Arduino microcontroller yog nrov heev niaj hnub no vim nws nkag siab yooj yim thiab koj tuaj yeem siv los ua kev hloov pauv tshiab. Koj tuaj yeem txawm tias koj yog nodemcu microcontroller thiab tswj koj cov khoom siv hluav taws xob nrog nws (kuv yuav ua blog sib txawv rau nws)

Kauj ruam 2: Arduino

Koj tuaj yeem siv ib qho Arduino (Uno, nano lossis mega) uas koj xav tau raws li koj xav tau lossis tus lej ntawm cov khoom siv uas koj xav tau koj tseem yuav xav tau rub tawm Arduino IDE thiab tseem muaj IR lub tsev qiv ntawv deb thiab tseem DHT lub tsev qiv ntawv sensor koj tuaj yeem nyem rau cov xiav txuas no mus rub lawv

Arduino IDE

IR lub tsev qiv ntawv nyob deb

DHT lub tsev qiv ntawv

koj tuaj yeem pom txhua qhov tsim nyog thiab yuav khoom txuas ntawm qhov kawg ntawm cov lus qhia no

Kauj Ruam 3: Tus Txais IR thiab Chaw Taws Teeb

IR Txais thiab Chaw Taws Teeb
IR Txais thiab Chaw Taws Teeb
IR Txais thiab Chaw Taws Teeb
IR Txais thiab Chaw Taws Teeb

Infrared lub teeb nyob txhua qhov chaw lub hnub ua rau nws thiab txhua yam ntawm lub qhov muag teeb thiab LEDs, yog tias koj coj koj lub xov tooj tuaj rau pem hauv ntej ntawm koj lub TV tej thaj chaw deb, koj tuaj yeem pom lub teeb pom kev zoo coj los tab sis koj tsis tuaj yeem pom nws nrog qhov muag liab qab vim tias lub teeb ci ci yog ze rau qhov pom pom pom lossis lub teeb uas tib neeg tuaj yeem pom. cov hom kev sib tham no sib tham nrog kev pab ntawm cov lej tseem hu ua hex lej yog li peb kuj xav tau qhov tshwj xeeb zaus xa tawm cov ntaub ntawv uas yog 36khz thiab siab dua me ntsis ntawm cov khawv koob zaus yog li lub teeb infrared tsis cuam tshuam nrog nws thiab cuam tshuam kev sib txuas lus. koj tseem tuaj yeem ua phem rau IR tus txais los ntawm koj lub TV DVD player lossis lwm yam khoom siv hluav taws xob IR lossis tsuas yog yuav ib qho uas lawv tsis kim txhua qhov kuv yuav muab qhov txuas rau koj los yuav ib qho online.

Kauj Ruam 4: Cia Peb Sau Cov Khoom Siv

Cia Peb Sau Cov Khoom Siv
Cia Peb Sau Cov Khoom Siv
Cia Peb Sau Cov Khoom Siv
Cia Peb Sau Cov Khoom Siv
Cia Peb Sau Cov Khoom Siv
Cia Peb Sau Cov Khoom Siv

cov ntaub ntawv npe ntau qhov txuas rau kev yuav khoom {bangood} thiab piav qhia me ntsis

arduino Uno 1 https://goo.gl/ZNdtdq Kuv nyiam siv Arduino nano lossis pro mini rau nws

ir tus txais thiab chaw taws teeb 1-1 https://goo.gl/ccP32D pob ntawv no muaj lub tshuab xa tawm ntxiv!

dht11 lossis dht22 sensor 1

lcd zaub nrog txiv neej lub taub hau 1 https://goo.gl/KpPGVr koj tuaj yeem siv nrog i2c nws yooj yim nrog nws

5k resistor 1 koj tuaj yeem pom nws ntawm koj lub khw hluav taws xob ze tshaj plaws

10k potentiometer 1 koj tuaj yeem pom nws ntawm koj lub khw hluav taws xob ze tshaj plaws

220v txog 9v transformer 1 lub khw hluav taws xob

1n4007 diode 8 4 rau choj rectifier thiab 4 rau kev xa tawm

470uf 50v capacitor 1 rau ua kom lub dc voltage kom huv dc

laub khawm 1 220v 6 amps ze koj lub khw hluav taws xob

220v fuse 1 rau kev nyab xeeb thiab cov khoom siv hluav taws xob zoo

fuse yas dhos 1 tuav lub fuse

5v relay 4 channel https://goo.gl/t3xc5C Kuv nyiam cov no

phab ntsa ntsaws adapter lossis ntsaws 1 mus rau lub khw hluav taws xob ze tshaj plaws

socket 4 electronics khw

cov hlua hluav taws xob m-m m-f ntau Kuv tsis paub tej zaum cov khw hluav taws xob

koj tseem yuav xav tau yas 1 ua ib qho lossis siv lub thawv qab zib lossis koj tuaj yeem 3d luam ib qho, ntoo lossis lub thawv ntawv rau lub thawv ntawv

Kauj ruam 5: TSEEM CEEB

TSEEM CEEB
TSEEM CEEB

qhov txuas uas kuv tau siv tsis muaj ib qho optocoupler lossis ib hom transistor txuas rau kuv tsuas yog txuas nrog an1n4007 diode txuas rau lub kauj txuas kom tiv thaiv Arduino thaum ib qho kuv tau muab qhov txuas tau ua tiav PCB thiab kev nyab xeeb nta txuas rau nws thiab kuv kuj nyiam cov ntawd. cov relay kuv tau siv yog pheej yig thiab siv tau. Qhov thib ob uas kuv xav hais tias lub tshuab txais infrared kuv siv muaj qee qhov teeb meem tau txais cov ntaub ntawv nws tsis tau txais lub teeb liab kom raug yog li kuv tau siv 100 microfarad electrolytic capacitor rau VCC thiab GND ncaj qha cov uas kuv tau siv yog VS838 lfn ir txais yog koj xav paub ntau ntxiv koj tuaj yeem mus rau daim ntawv teev npe. koj yuav tsum tau muab tshuaj txhuam 5 kohms resistor rau VCC thiab teeb liab tus pin ntawm dht kub thiab ntsuas cua kom ua kom ntseeg tau kev ua haujlwm.

Kauj Ruam 6: Cia Ua Qhov Qhov Tsim Nyog Qhov thiab Qhov Qhov

tom qab koj tau teeb tsa tag nrho cov khoom siv sab hauv lub thawv kom lawv tau txais pob ntawv zoo nws lub sijhawm los ua qee qhov tsim nyog thiab qhov qhib rau cov khoom siv

peb lub qhov yuav tsum tau ua nyob rau sab ntawm lub thawv ib qho rau lub fuse, ib qho rau qhov hloov pauv, ib qho rau 220v cov kab hluav taws xob tawm los.

nyob rau sab saum toj koj yuav tsum ua thiab ntsaws rau lub LCD, plaub qhov rau lub qhov (socket), ib lub qhov rau DHT cov xov hlau nkag mus, ib lub qhov rau cov neeg txais xov tooj cua txuas mus, peb lub qhov rau lub tshuab txiav lossis lub hwj chim, koj kuj tseem yuav tsum ua lub qhov los txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhim kho lub ntsej muag. wnt koj tseem tuaj yeem tsim lub qhov rau usb chaw nres nkoj ntawm arduno kom tawm ntawm lub thawv zoo li kuv tau ua. thov txim tab sis kuv tsis muab cov duab ntawm lub qhov thiab qhov rau koj.

Kauj Ruam 7: Cia Pib Pib Circuit

Cia Pib Pib Circuit
Cia Pib Pib Circuit
Cia Pib Pib Circuit
Cia Pib Pib Circuit

koj tuaj yeem tsim qhov Circuit Court los ntawm schematic saum toj no tab sis yog tias koj xav tau koj tseem tuaj yeem rub tawm cov ntawv fritzing uas kuv tau tsim

Kauj Ruam 8: Nrhiav Tus lej Hex ntawm Koj Li Chaw Taws Teeb

tom qab koj tau ua tiav txhua txoj hlua thiab kev teeb tsa ntawm cov khoom siv tam sim no koj yuav tsum nrhiav cov lej hex ntawm koj lub chaw deb kom koj tuaj yeem sib txuas lus nrog nws. tom qab koj tau teeb tsa ir lub tsev qiv ntawv nyob deb mus rau cov ntaub ntawv-piv txwv-irremote-irrecvdemo thiab qhib nws thiab hloov tus lej txais rau 0 lossis tus lej recv ntawm Arduino thiab xa cov cai thiab ua ntej xa cov lej tshem tawm tus pin ntawm 0 ntawm Arduino vim tias nws tsim teeb meem thaum rub tawm

qhov chaws rau Arduino. tam sim no qhib qhov saib xyuas ntawm Arduino IDE thiab nyem lub pob ntawm koj ir chaw taws teeb tig rau ntawm tus coj mus rau tus txais thiab koj yuav pom tus lej ntawm tus lej saib xyuas sau nws koj yuav xav tau nws tom qab

tshem tawm cov lej hex ntawm cov nyees khawm uas koj xav tswj koj cov cuab yeej.

Kauj Ruam 9: Txoj Cai

tom qab koj tau txais cov lej hex ntawm koj qhov chaw nyob deb. qhib qhov chaws kuv tau muab rau koj hauv Arduino IDE thiab hloov cov lej tsis txhob txhawj Kuv tau muab qee cov ntsiab lus hauv cov cai kom nws yuav yooj yim rau koj nkag siab thov txim tab sis tsis muaj ntau yam ntsiab lus hauv txoj cai tab sis yog tias koj tab tom ntsib teeb meem hauv kev nrhiav tus lej hex koj tuaj yeem tshawb hauv youtube lossis Cov Lus Qhia. yog tias koj muaj lus nug lossis tsis txaus siab nug nws hauv kab lus

Pom zoo: