Cov txheej txheem:

Luam tawm Cov Chaw Taws Teeb: 7 Cov Kauj Ruam
Luam tawm Cov Chaw Taws Teeb: 7 Cov Kauj Ruam

Video: Luam tawm Cov Chaw Taws Teeb: 7 Cov Kauj Ruam

Video: Luam tawm Cov Chaw Taws Teeb: 7 Cov Kauj Ruam
Video: Yasmi - Txiv Nraug Ntsuag ft. JN Vang (Music Video) 2024, Kaum ib hlis
Anonim
Image
Image
Luam tawm tej thaj chaw deb
Luam tawm tej thaj chaw deb

Hauv cov lus qhia no kuv yuav qhia yuav ua li cas tsim ib daim qauv ntawm txhua IR Chaw Taws Teeb rau lub xov tooj siv ArduinoThis tuaj yeem siv los ua qhov sib txawv ntawm ib qho IR Cov Lus Qhia

Khoom siv

Arduino UNO (lossis ib qho arduino) IR Reciever TSOP1838 (lossis lwm yam IR tau txais) Jumper xov hlau A Smartphone nrog IR Blaster

Kauj ruam 1: Program Arduino

Program Arduino
Program Arduino
Program Arduino
Program Arduino
Program Arduino
Program Arduino

Rau qhov no koj yuav xav tau Arduino IDE thiab IRRemote libraryArduino IDE: https://www.arduino.cc/en/Main/SoftwareIRremote Library:

Rub tawm thiab nruab IRremote lub tsev qiv ntawv

Tam sim no txuas Arduino rau PCThaum nyem Cov Ntaub Ntawv> Piv txwv> IRremote> IRrecvDumpV2 Xaiv qhov Kho kom raug Pawg Hom thiab chaw nres nkoj hauv cov cuab yeej ntawv qhia zaub mov Tam sim no Nyem upload thiab tos rau cov txheej txheem kom tiav

Kauj Ruam 2: Teeb Lub Circuit Court

Teeb lub Circuit Court
Teeb lub Circuit Court
Teeb lub Circuit Court
Teeb lub Circuit Court

Tam sim no txuas tus neeg txais khoom mus rau arduino raws li cov duab hauv qab no sau tseg: Txuas tus neeg txais khoom tsis raug tuaj yeem ua rau nws puas

Tawm Arduino tus pin 11VCC Arduino 5VGND Arduino GND

Tom qab txuas txhua yam txuas Arduino rau PC thiab qhib qhov saib xyuas

Kauj Ruam 3: Nruab Irplus App thiab Tsim Chaw Taws Teeb

Nruab Irplus App thiab Tsim Chaw Taws Teeb
Nruab Irplus App thiab Tsim Chaw Taws Teeb
Nruab Irplus App thiab Tsim Chaw Taws Teeb
Nruab Irplus App thiab Tsim Chaw Taws Teeb
Nruab Irplus App thiab Tsim Chaw Taws Teeb
Nruab Irplus App thiab Tsim Chaw Taws Teeb

Rub lub irplus app ntawm koj lub xov tooj

irplus:

Tom qab kev teeb tsa lub app qhib lub app

Hauv cov ntawv qhia zaub mov kais ntawm ADDNow xaiv qhov chaw nyob deb kuv xaiv NEC los ntawm Hom thiab tawm qhov seem raws li lub neej ntawd

Nyem rau zuam ntawm kaum sab xis saum toj

Tam sim no koj yuav tau txais cov chaw taws teeb nrog qee cov nyees khawm

Txhawm rau kho kom raug xaiv cov ntawv qhia zaub mov> kho Koj tuaj yeem txav cov nyees khawm los ntawm coj mus rhaub thiab rub nws Koj tuaj yeem hloov lub pob los ntawm kev coj mus rhaub kom rho tawm ib lub pob rub nws mus rau lub cim rov ua dua tshiab nyob rau sab saum toj Txhawm rau tsim lub pob rub lub pob khawm tshiab rau hauv chaw taws teeb

Tom qab kho cov chaw taws teeb nyem rau ntawm tus zuam nyob rau sab xis saum toj

Kauj ruam 4: Export Chaw Taws Teeb

Export Chaw Taws Teeb
Export Chaw Taws Teeb
Export Chaw Taws Teeb
Export Chaw Taws Teeb

Tom qab tsim cov chaw teeb tsa peb yuav tsum tau xa nws tawm

ntawm irplus app coj mus rhaub cov ntawv qhia zaub mov> xa tawm tom qab ntawd xaiv filethen choode qhov chaw thiab xa tawm

Tam sim no txuas koj lub xov tooj rau PC thiab luam cov ntawv xa tawm mus rau qhov chaw ntawm PC (piv txwv li: Desktop)

Kauj ruam 5: Clone Cov Chaw Taws Teeb

Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb
Clone Cov Chaw Taws Teeb

Tam sim no peb muaj cov ntawv teeb tsa peb xav tau ntxiv cov lej lej los ntawm cov chaw deb Cov ntaub ntawv txheej txheem no siv hom ntawv hu ua WINLIRC

Txhawm rau kom tau txais cov lej lej, siv cov chaw taws teeb uas koj xav tau luam tawm nws ntawm tus neeg txais khoom arduino thiab nias lub pob

Tam sim no koj yuav pom qhov tso tawm ntawm lub ntsuas saib nws ntev npaum li cas koj tsis xav tau tag nrho cov zis

Hauv qhov tso tawm koj yuav pom kab pib nrog "unsigned int rawData"

Luam txhua yam hauv kab ntawv thiab muab nws tso rau hauv cov ntawv sau Tam sim no tshem tawm tag nrho coma (,) los ntawm cov ntawv Ib txoj hauv kev yooj yim rau qhov no yuav yog siv "Nrhiav thiab Hloov" hauv cov ntawv sau

qhib cov ntawv xa tawm thiab theej tus lej no rau hauv lub pob nyem raws li qhia hauv daim duab saum toj no Rov ua dua cov kauj ruam no rau txhua lub khawm tom qab ua nws rau txhua lub pob txuag cov ntawv

Kauj Ruam 6: Ntshuam Chaw Taws Teeb

Ntshuam Chaw Taws Teeb
Ntshuam Chaw Taws Teeb
Ntshuam Chaw Taws Teeb
Ntshuam Chaw Taws Teeb

Txuas koj lub xov tooj mus rau PC thiab luam daim ntawv Edited irplus rau hauv lub xov tooj

Qhib ir ntxiv app thiab rho tawm cov chaw nyob uas twb muaj lawmMenu> REMOVE> OK

Tam sim no ntshuam cov ntaub ntawv raug kho rau hauv appMenu> TSEEM CEEB> FILE thiab xaiv cov ntaub ntawv kho

Tam sim no cov chaw taws teeb tau npaj siv

Kauj Ruam 7: Kawg

Kuv vam tias koj pom qhov kev qhia no nthuav

Tsis tas li cov lus qhia no yog ntawm Arduino kev sib tw thov pov npav

Ua tsaug

Pom zoo: