Cov txheej txheem:

Universal Remote Control: 3 Kauj Ruam
Universal Remote Control: 3 Kauj Ruam

Video: Universal Remote Control: 3 Kauj Ruam

Video: Universal Remote Control: 3 Kauj Ruam
Video: 20 товаров для автомобиля с Алиэкспресс, автотовары №37 2024, Kaum ib hlis
Anonim
Image
Image
Tsim
Tsim

Universal Infrared (IR) Chaw Tswj Chaw Taws Teeb tuaj yeem tswj hwm txhua yam khoom siv uas siv IR kev sib txuas lus rau kev ua haujlwm nyob deb. Cov chaw taws teeb tswj hwm no siv cov gen4-uLCD-35DCT ua lub hauv paus tseem ceeb rau xa IR cov lus txib. Txoj haujlwm no tau hloov kho tau zoo rau kev siv ntawm ib qho khoom siv ntev li nws siv IR tswj

Kauj ruam 1: Tsim

Tsim
Tsim

Cheebtsam

  • gen4-uLCD-35DCT-CLB
  • gen4-PA thiab FFC Cable
  • USD Card
  • UAS Cable
  • Jumper Hlau
  • 5V fais fab mov
  • Arduino Pro Micro 5V 16 MHz
  • KY-005 IR Transmitter Module

Tsim cov khoom siv raws li qhia hauv daim duab.

Kauj Ruam 2: Txoj Haujlwm

Program
Program
Program
Program
Program
Program
  1. Luam IRremote nplaub tshev rau Arduino IDE lub tsev qiv ntawv tais ceev tseg
  2. Qhib txoj haujlwm txoj haujlwm rau Arduino microcontroller siv Arduino IDE.
  3. Yog tias lub chaw tswj chaw taws teeb xav tau siv cov txheej txheem xa mus tsis paub, koj kuj tseem tuaj yeem ntxiv lawv cov lej nyoos IR uas tuaj yeem muab los ntawm kev siv IRrecvDemo piv txwv muab los ntawm IRremote lub tsev qiv ntawv thiab siv ib qho IR tus qauv txais rau kev txiav txim siab lawv cov lus nyoos.
  4. Txhawm rau Arduino qhov kev zov me nyuam kom suav nrog kom raug nrog cov lus txib nyoos IR, cov ntaub ntawv tuaj yeem sau ncaj qha rau lub cim xeeb nyem thaum muab tso ua ke raws li qhia hauv qab no.
  5. Txhawm rau siv cov lej nyoos rau kev xa mus, cov hauv qab no yuav tsum tau ua tiav los nyeem cov cai nyoos khaws cia hauv lub cim xeeb nyem. Cov ntaub ntawv ntxiv tuaj yeem muab ntxiv rau kev hais kom ua ntau ntxiv. Qee cov khoom siv yuav xav tau ntau qhov kev sib txuas lus txib sib txuas, qhov no tuaj yeem ua tiav los ntawm kev rov xa tib cov cai txib ntau zaus raws li qhia hauv qab no. Qhib txoj haujlwm txoj haujlwm rau cov khoom siv siv Rhiav 4 IDE. Txoj haujlwm no siv Visi-Genie Environment.
  6. Koj tuaj yeem hloov kho cov khoom ntawm cov khoom thiab tsim los siv tus kws tshuaj xyuas khoom.
  7. Kev tswj chaw taws teeb thoob ntiaj teb tuaj yeem tswj hwm cov cuab yeej siv ntau ntxiv los ntawm kev ntxiv khawm (s) ntxiv rau kev ua haujlwm ntau dua. Siv tus lej xov tooj ntxiv rau hom khawm uas koj xav tau.
  8. Txhawm rau siv khawm ntxiv nrog tus tswv tsev (Arduino Uno), nco ntsoov hloov Tus Txheej Txheem Txheej Txheem raws li cov xwm txheej ntawm qhov khoom mus rau "Tshaj Tawm Xov Xwm" lossis lwm qhov "Magic Event" nyob ntawm nws qhov kev siv.
  9. Nyem rau ntawm "Compile" khawm. Nco tseg: Cov kauj ruam no tuaj yeem hla mus. Txawm li cas los xij, kev sau ua ke yog qhov tseem ceeb rau kev ua kom debug.
  10. Txuas cov zaub rau lub PC. Nco ntsoov tias koj tau txuas nrog rau qhov chaw nres nkoj raug. Khawm Liab qhia tias lub cuab yeej tsis txuas nrog, Lub khawm xiav qhia tias lub cuab yeej txuas nrog rau qhov chaw nres nkoj raug.
  11. Rov qab mus rau "Tsev" tab. Lub sijhawm no, nyem rau ntawm “(Tsim) Luam/Thauj” khawm.
  12. Rhiav 4 yuav hais kom koj xaiv lub tshuab tsav los theej cov duab rau hauv daim npav uSD. Tom qab xaiv qhov tsav raug, nyem OK.
  13. Thaum tseem tsis tau tso daim npav micro SD, cov lus no yuav tshwm ntawm koj lub gen4 Zaub: "DRIVE NOT MOUNTED …" Tom qab tso koj daim npav micro SD daim GUI uas tau qhia hauv cov kauj ruam no yuav tsum tshwm ntawm gen4 Display.

Kauj ruam 3:

Duab
Duab
Duab
Duab
Duab
Duab

IR tswj qhov hluav taws xob kuj tseem tuaj yeem tsim kho los ntawm kev ntxiv ntau qhov xa tawm

Cov lej hais kom ua rau txhua qhov xa tawm kuj tseem tuaj yeem tsim kho raws li kab kab hauv qab no

Qhov txuas ntxiv tuaj yeem ntxiv rau hauv Circuit Court rau IR tswj lub voj voog

Pom zoo: