Cov txheej txheem:

Nrhiav Koj Lub TV Saib Tus Cwj Pwm: 7 Kauj Ruam
Nrhiav Koj Lub TV Saib Tus Cwj Pwm: 7 Kauj Ruam

Video: Nrhiav Koj Lub TV Saib Tus Cwj Pwm: 7 Kauj Ruam

Video: Nrhiav Koj Lub TV Saib Tus Cwj Pwm: 7 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Nrhiav Koj Lub TV Saib Tus Cwj Pwm
Nrhiav Koj Lub TV Saib Tus Cwj Pwm

Txhua lub hlis peb tau them nqi ntau heev rau pob TV xaum. Tab sis peb tsis muaj lub tswv yim pes tsawg txoj hauv kev peb tau saib. Txawm tias peb tsis muaj Lub Tswv Yim pes tsawg teev uas peb siv sijhawm saib TV.

Ntawm no kuv tau tsim cov ntaub ntawv logger uas yuav khaws koj lub TV saib qauv.

Nrog qhov no Koj tuaj yeem ua tau

  • Taug qab cov channel twg koj tab tom saib feem ntau thiab koj tsis yog. Koj tuaj yeem tso cov channel tsis xav tau thiab txuag nyiaj
  • Muaj pes tsawg lub sij hawm koj cov menyuam tau saib ntawm koj nraub qaum thiab lawv saib lawv nyob qhov twg
  • Muaj pes tsawg teev uas koj siv sijhawm saib TV, thiab lwm yam.

Kauj Ruam 1: Cov Khoom Yuav Tsum Tau

Cov Khoom Yuav Tsum Tau
Cov Khoom Yuav Tsum Tau

Koj xav tau cov ntaub ntawv hauv qab no kom ua tiav Txoj Haujlwm

  • 1 X Arduino Uno / Mega
  • 1 X RTC module 1307
  • 1 X microSD daim npav Module
  • 1 X Micro SD daim npav
  • 1 X Npib Cell
  • 1 X TSOP1738 IR receiver
  • 1 X LED (yeem)
  • 2 X 470 Ohm Resistor
  • Jumper cables
  • Me Veroboard
  • USB zog hauv Cable / 9V adapter

Kauj ruam 2: Cov cuab yeej thiab Software xav tau

Cov cuab yeej thiab Software xav tau
Cov cuab yeej thiab Software xav tau
Cov cuab yeej thiab Software xav tau
Cov cuab yeej thiab Software xav tau
  • Arduino IDE Cov
  • MS Excel Cov
  • Soldering Hlau
  • Hacksaw
  • Kub Nplaum Phom
  • Txee tsim nyog los tuav txoj haujlwm
  • Ntsia Hlau

Kauj Ruam 3: Daim duab qhia chaw

Schematic Daim duab
Schematic Daim duab

Thov nrhiav Schematic Diagram hauv daim duab

Kauj ruam 4: IR raws tu qauv

IR raws tu qauv
IR raws tu qauv

Peb xav tau cov tsev qiv ntawv hauv qab no los ua txoj haujlwm

  1. IR Library
  2. SD card tsev qiv ntawv.
  3. RTC Library
  • Ua ntej Peb yuav tsum nkag siab peb Cov Txheej Txheem Box Box IR raws tu qauv. Txhawm rau nrhiav qhov no tso tus lej piv txwv los ntawm IR lub tsev qiv ntawv. Screenshot txuas nrog
  • Tom qab ua tiav Peb yuav tsum pom cov txheej txheem twg siv
  • Rau Kuv Cov Ntaub Ntawv Kuv me ntsis hmoov tsis zoo
  • Kuv pom tsis paub chaws
  • Tom qab ntawd kuv tau nqa lub cav rau txhua qhov 36 ntsis cov ntaub ntawv tau txais thiab ua tus lej ua haujlwm rau kuv.
  • Kuv tshuaj xyuas cov ntaub ntawv thiab pom tsuas yog 4 qhov hloov pauv thiab qhov ntawd yog qhov tseem ceeb ntawm cov ntaub ntawv.

Kauj ruam 5: Arduino Code

Kuv tau piav qhia qhov chaws hauv INO cov ntaub ntawv thiab yees duab. Basic algorithm yog

  • IR txiav txim siab
  • IR tus nqi tseem ceeb
  • siv sijhawm tam sim no los ntawm RTC
  • Muab cov ntaub ntawv thiab khaws cia hauv SD daim npav

cov tsev qiv ntawv txuas

github.com/adafruit/RTClib // RTC lub tsev qiv ntawv

github.com/z3t0/Arduino-IRremote // IR tsev qiv ntawv

Kauj Ruam 6: LOG Kev Ntsuam Xyuas

Peb tau txais cov ntawv hauv hom ntawv csv. Cov kauj ruam rau kev tshuaj xyuas

  • Peb yuav tsum nkag siab txog peb cov kev xav STB. Kuv STB siv 3 tus lej ntawm cov channel tsis muaj thiab cov channel zoo li 100, 703, 707 202 thiab lwm yam. Lub sij hawm tas sij hawm nias yog 3 vib nas this. Muaj peb txoj hauv kev los hloov cov channel

    • Los ntawm nias ncaj qha channel no
    • Los ntawm nias Channel + thiab Channel - khawm
    • Los ntawm nias Swap khawm kom tau saib yav dhau los channel
  • Raws li Micro maub los tsis muaj peev xwm txheeb xyuas tag nrho cov xwm txheej no hauv nws. Kuv tau tshuaj xyuas cov ntaub ntawv ntawm excel. Kuv siv Arduino khaws cov chaw taws teeb nias lub cav
  • Thov saib cov vis dis aus kom nkag siab zoo.

Pom zoo: