Cov txheej txheem:

$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm): 5 Kauj Ruam
$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm): 5 Kauj Ruam

Video: $ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm): 5 Kauj Ruam

Video: $ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm): 5 Kauj Ruam
Video: Arduino Cat Annoyer 2024, Kaum ib hlis
Anonim
$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm)
$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm)
$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm)
$ 1.50 Arduino TV Annoyer !! (Tig TVs Thaum Koj Xav Kom Lawv Tawm)

Hav Arduino kiv cua! Nov yog 'ible rau kev ua lub cuab yeej uas tig TVs thaum koj xav kom lawv tawm, thiab tawm ces koj xav kom lawv nyob! Yog tias koj zais nws hauv qee yam tsis tseem ceeb, nws yuav ua rau Lub Plaub Hlis Fools zoo nkauj lossis khoom plig gag.

Thiab qhov zoo tshaj yog qhov tag nrho cov nqi raug tsawg dua $ 1.50 !! (Piv txwv tias koj twb muaj Arduino thiab cov cuab yeej) Qhov no yog qhov kev sib tw nkag mus rau qhov kev sib tw LED nrog Elemental LED, yog li yog tias koj nyiam nws, thov qhia rau koj cov phooj ywg thiab ntsuas nws! Ua tsaug! Kuv paub qhov no yog thawj qhov Kev Qhia Kuv, tab sis ntseeg kuv, Kuv tau ua haujlwm nrog hluav taws xob siv kuv lub neej tag nrho. Kuv tau pib nrog Arduino txog 6 lub hlis dhau los, thiab kuv tau ua tsawg kawg 150-200 qhov haujlwm sib txawv, thiab kuv kuj tau tsim ib tuj ntawm lwm yam khoom qub nrog Arduino thiab lwm yam microcontrollers. Kuv txawm tsim kuv lub khoos phis tawj, yog li koj paub tias kuv tsis nyob ib puag ncig.:)

Kauj Ruam 1: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Nov yog yam koj yuav xav tau rau txoj haujlwm no. Kuv tau suav nrog Mouser txuas thiab tus nqi nyob ib sab ntawm cov khoom. Ntim 1x Infrared Detector ($ 0.78) https://goo.gl/6sSN6 1x Wide angle Infrared LED ($ 0.23) https://goo.gl/5PFlS 1x nqaim kaum Infrared LED ($ 0.23) https://goo.gl/67sCf 1x 2N3904 PNP transistor (lossis sib npaug) ($ 0.08) https://goo.gl/XD3jI 1x 10 Ohm resistor (Xim av, Dub, Dub, Kub) ($ 0.05) https://goo.gl/UiKDs 1x 47 Ohm resistor (Daj, Ntshav, Dub, Kub) ($ 0.10) https://goo.gl/89jXQ 1x Arduino Uno (lossis sib npaug) ($ 25.00) https:// goo. gl/p9wVs Qee qhov xaim (tshwj xeeb tshaj yog cov tub ntxhais, 22 ntsuas los yog li ntawd) (Kwv yees li $ 7- $ 8 ntawm koj lub khoos phis tawj/khoom siv hluav taws xob hauv cheeb tsam) Cov cuab yeej 1x USB AB cable (rau kev teeb tsa Arduino) ($ 2.95) https://goo.gl /3f6rx 1x Soldering Iron (Yeem Xaiv) (Txog $ 15- $ 25 ntawm koj lub khoos phis tawj/khoom siv hluav taws xob hauv cheeb tsam) 1x Spool ntawm cov kab laug sab nyias (Txog $ 10 ntawm koj lub khoos phis tawj/khoom siv hluav taws xob hauv cheeb tsam) 1x Solderless breadboard (Txog $ 5- $ 6 ntawm koj lub khw hluav taws xob hauv zos)) 1x Khoos phis tawj (Kuv vam tias koj paub qhov twg tau txais ib qho ntawm no) 1x Arduino IDE (tuaj yeem rub tawm ntawm no)

Kauj ruam 2: Kev thaiv kab

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Lub sijhawm los sib sau ua ke! Kuv yuav ua qhov no ntawm lub khob cij tsis muaj kab laug sab.

1.) Txuas rau IR Ntes. Nco ntsoov tias lub dome ntawm nws tab tom ntsib koj. 2.) Txuas tus pin sab laug ntawm tus ntes mus rau Arduino Digital tus pin 2, tus pin nruab nrab rau hauv av, thiab tus pin sab xis rau +3.3V. 3.) Txuas 2N3904 NPN transistor. Xyuas kom tseeb tias lub tiaj tiaj tau ntsib koj. 4.) Txuas tus pin sab laug ntawm lub transistor mus rau 47 Ohm resistor, tus pin nruab nrab los ntawm 10 Ohm resistor rau Arduino Digital pin 3 (PWM), thiab tus pin sab xis rau hauv av. 5.) Txuas cov cathodes (tsis zoo, muaj ceg luv dua, thiab sab tau cim nrog ib feem tiaj kom qhia txog cathode) mus rau lwm qhov kawg ntawm 47 Ohm resistor, thiab anodes (ntev dua, tsis yog cathode) rau +3.3V.

Kauj Ruam 3: Upload Sketch

Rub tawm Sketch!
Rub tawm Sketch!

Tam sim no rau lub programming.

Txuas koj Arduino rau lub khoos phis tawj siv USB A-B cable, tom qab ntawd rub tawm. ZIP cov ntaub ntawv hauv qab no. Hauv. ZIP cov ntaub ntawv, yuav tsum muaj daim nplaub tshev hu ua "TV_Annoyer". Luam daim ntawv no rau hauv koj phau ntawv Arduino Sketchbook. Ntawm lub tshuab Windows qhov no feem ntau nyob hauv "C: / Users / Documents / Arduino". Qhib cov duab kos hauv Arduino IDE (rub tawm los ntawm Arduino.cc lub vev xaib), thiab xa nws mus rau Arduino board. Yog tias nws tsis tso cai, sim cov lus qhia daws teeb meem no: 1.) Rov pib dua Arduino IDE. 2.) Sim tshem tawm/rov txuas Arduino rau hauv lub khoos phis tawj. 3.) Nco ntsoov tias koj li Arduino tau txuas nrog koj lub khoos phis tawj kom raug. 4.) Txheeb xyuas yog tias koj lub rooj tsav xwm raug xaiv hauv "Cov Cuab Yeej> Pawg Thawj Coj" ntawv qhia zaub mov nyob rau sab saum toj ntawm IDE. 5.) Xyuas kom tseeb tias qhov chaw nres nkoj COM raug xaiv hauv "Cov Cuab Yeej> Chaw" ntawv qhia zaub mov nyob rau sab saum toj ntawm IDE. Koj tuaj yeem tshawb xyuas qhov chaw nres nkoj COM twg koj Arduino nyob ntawm (ntawm lub tshuab Windows) nyem qhov "Pib" khawm, thiab tshawb rau "Tus Thawj Tswj Ntaus Ntawv". Tom qab ntawd nyem lub xub xub tom ntej ntawm "Chaw Nres Nkoj (COM & LPT)" xaiv. Koj lub Rooj Tswjhwm Saib Arduino yuav tsum nyob ntawm cov npe ntawd, nyob ib sab ntawm COM chaw nres nkoj nws txuas nrog.

Kauj ruam 4: Siv nws

Tom qab koj ua tiav txuas txhua yam thiab xa cov duab kos mus rau Arduino, nws tau npaj los siv! Ntsuas nws tawm los ntawm muab nws nyob ze koj lub TV, ntsaws nws rau hauv lub hwj chim, thiab nyem lub TV lub chaw taws teeb!

Nco ntsoov tias IR LEDs tau taw rau ntawm TV thiab lub dome ntawm IR Detector tab tom tig mus rau kev tswj chaw taws teeb.

Kauj ruam 5: Solder Nws! (Tsis teb los tau)

Yog tias koj xav kom nws ua kom nws me dua, mus tom ntej. Kuv xav kom pom zoo siv daim me me ntawm perfboard los ua kom nws tawg. Nws tuaj yeem yog daim ntaub thaiv yog tias koj xav tau!

Pom zoo: