Cov txheej txheem:

Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Video: yuav coj li cas kom luag nyiam 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm

Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau niaj hnub no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb cov lus txib. Muaj ntau yam thev naus laus zis muaj nyob hauv kev lag luam, hais Bluetooth, RF lossis txawm tias WI-Fi, tab sis peb tau nyam mus rau kev sib txuas lus infrared ntev heev, uas muaj qee qhov laj thawj siv tau tom qab nws. Ua ntej tshaj plaws lawv yog qhov kev daws teeb meem pheej yig tshaj plaws, lawv raug nqi ib xees, sib nrug los ntawm qhov lawv ntseeg tau thiab tseem ceeb tshaj qhov yooj yim siv. Tsis tas li tsis txhob saib xyuas lub zog siv hluav taws xob tsawg ntawm cov khoom siv no piv rau RF lossis Bluetooth chaw taws teeb. Yog li hauv cov vis dis aus niaj hnub no cia ua ib qhov haujlwm uas peb tuaj yeem tswj hwm peb cov cuab yeej siv hauv tsev siv cov IR remotes no. Tsis tas li kuv yuav ua raws lub sijhawm ua haujlwm kom qhib/tua cov cuab yeej yam tsis muaj peb koom nrog ncaj qha. Pib nrog daim duab thaiv, coding, daim duab qhia chaw mus rau PCB qhov kawg tsim, Kuv yuav coj koj mus dhau tag nrho cov txheej txheem hauv kev nthuav dav.

Ua ntej pib, tsuas yog ceeb toom me me. Thov ua tsaug rau peb cov channel yog tias koj nyiam qhov kev qhia no.

Channel txuas - www.youtube.com/c/being_engineers1

Peb kuj tau tsim cov vis dis aus ntxaws ntxaws txog tib lub ncauj lus. Yog li yog tias koj tsis zoo li nyeem tag nrho dhau los saib cov vis dis aus kom tau txais kev nkag siab ntxiv. Kuv tab tom txuas qhov txuas hauv qab no.

Qhov ntawd yog nws. Tam sim no cia peb pib tsim txoj haujlwm no.

Kauj Ruam 1: Sau tag nrho cov Cheeb Tsam Xav Tau

Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau

Ua ntej tshaj plaws sau tag nrho cov khoom siv xav tau raws li muab BOM.

Project PEB

  • DC poj niam adapter X 1
  • Xaub hloov X 1
  • Txiv neej headers
  • 1N4007 diodes X 5
  • 100uF Cap X 3
  • 100 nF Cap X 4
  • 7805 tus tswj hluav taws xob thiab cov cua sov cua sov X 1
  • 3mm liab coj X 2
  • 3 hli ntsuab coj X 2
  • 28 tus pin IC puag X 1
  • Atmega328P-Pu X 1
  • 16.00 MHz siv lead ua oscillator
  • 22pF Cap X 2
  • 330E resistors X 12
  • 1K resistors X 2
  • 10K resistor X 1
  • 100K resistors X 2
  • 470E resistors X 2
  • 2N3904 transistor X 2
  • 2N2222A transistor X 2
  • 1838 IR tus txais X 1
  • PC817 X 2
  • 5v SPST relay X 2
  • 3 tus pin dav hlau thaiv X 2

Cov no yog cov khoom tseem ceeb uas koj xav tau los ua qhov haujlwm no. Tab sis nrog cov no koj tseem xav tau cov khoom siv yooj yim soldering, khoom siv kho vajtse, khoom noj khoom haus thiab ib qho arduino

Kuv yuav tsis siv lub rooj sib tham arduino dav dav hauv qhov haujlwm no. Qhov tseeb kuv yuav siv DIY ib qho. Kev sau tus lej yuav ua tiav siv arduino IDE, thiab txhua yam yuav zoo ib yam li lwm txoj haujlwm arduino. Tab sis tsuas yog lub sijhawm kawg kuv yuav tshem tawm IC ua ntej program thiab yuav muab tso rau hauv kuv PCB.

Koj tuaj yeem saib cov vis dis aus no ntawm kuv txog yuav ua DIY arduino UNO hauv tsev li cas -

bit.ly/2BoLmuO

Thaum koj muaj tag nrho cov khoom no, nws yog lub sijhawm los kos lub voj voog.

Kauj Ruam 2: Tsim Txoj Haujlwm Ua Haujlwm

Tsim Txoj Haujlwm Ua Haujlwm
Tsim Txoj Haujlwm Ua Haujlwm
Tsim Txoj Haujlwm Ua Haujlwm
Tsim Txoj Haujlwm Ua Haujlwm

Kuv siv lub vev xaib online npe hu ua Easyeda los tsim cov phiaj xwm.

Lub Circuit Court yuav muaj cov thaiv no feem ntau -

  • Cov khoom siv hluav taws xob - hloov pauv 9-12V DC rau 5V DC kom muaj zog hauv Circuit Court.
  • Microcontroller - Kuv yuav siv ATmega328P IC ua lub microcontroller. Nws yog tib yam uas tuaj yeem pom ntawm ib qho arduino UNO, nano lossis pro mini.
  • IR tus txais - Kuv yuav siv tus TP1838 IR tus txais tus qauv uas yuav txuas nrog lub microcontroller.
  • Timer qhia - 3 hli liab coj yuav qhia txog cov xwm txheej ntawm timer.
  • Xya ntu tso saib - 2X7 ntu CA zaub yuav qhia pom cov ntaub ntawv ntawm tus lej lej.
  • Cov Tsav Tsheb Rov Los - Ob qhov kev xa tawm yuav cuam tshuam nrog lub microcontroller ntawm qhov tsim nyog txuas tus tsav tsheb.

Lub Circuit Court uas ua haujlwm rau kuv yog qhov no -

Saib cov vis dis aus no kom paub yuav ua li cas thiaj xa cov tsav tsheb rau arduino -

bit.ly/2zZiZn7

Kauj Ruam 3: Tsim PCB thiab xaj nws

Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws
Tsim PCB thiab xaj nws

Thaum tsim cov phiaj xwm hluav taws xob tiav, Nws yog lub sijhawm los ua PCB. Kuv siv JLCPCB lub vev xaib los ua kuv pawg thawj coj. Lawv yog ib qhov zoo tshaj plaws hauv PCB ua hauv cov hnub tsis ntev los no kuv twv.

Tom qab tsim kev tsim hluav taws xob tiav, hloov lub Circuit Court mus rau PCB thiab tsim PCB hauv Easyeda lub vev xaib. Ua siab ntev nrog nws. Qhov yuam kev ntawm no yuav rhuav tshem koj cov PCBs. Txheeb xyuas ntau lub sijhawm ua ntej tsim cov ntaub ntawv gerber. Koj tseem tuaj yeem tshawb xyuas tus qauv 3d ntawm koj li PCB los ntawm no. Nyem rau ntawm ua cov ntaub ntawv gerber thiab los ntawm qhov ntawd koj tuaj yeem xaj ncaj qha lub rooj tsavxwm no ntawm JLCPCB. Tshaj tawm cov ntaub ntawv gerber, xaiv qhov tshwj xeeb kom raug, tsis txhob hloov dab tsi yog ntu no. Khaws nws zoo li nws yog. Nov yog cov chaw zoo txaus los pib nrog. Muab qhov kev txiav txim. Koj yuav tsum tau txais nws hauv ib lub lim tiam.

PCB PDF hauv 1: 1 Nplai -

PCB Gerber File -

Kauj Ruam 4: Tau Txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR

Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR
Tau txais HEX Qhov Muaj Peev Xwm ntawm Koj Cov Chaw Taws Teeb IR

Hauv theem no koj yuav tsum paub Hex qhov tseem ceeb uas koj cov chaw taws teeb xa mus rau arduino. Peb yuav siv tus lej no tom qab ntawm tus lej kawg. Rau qhov no koj yuav xav tau IRRemote lub tsev qiv ntawv rau arduino.

IRRemote Library -

koj tuaj yeem rub tawm lub tsev qiv ntawv thiab teeb nws hauv IDE. Qhib IrrecvDemo piv txwv kos duab thiab xa cov cai mus rau arduino. Qhib serial saib thiab pib nias cov nyees khawm nyob ib sab. Koj yuav pom qhov sib thooj Hex code hauv tus lej saib. Kuv tau theej tag nrho cov lej hauv kab lus rau kev hais txog yav tom ntej. Tsis tas li koj tsuas tuaj yeem sau cia tus lej hex ntawm cov nyees khawm uas koj npaj siab siv hauv txoj haujlwm no. Tom qab ntawd nws yog lub sijhawm los tsim txoj haujlwm tseem ceeb.

Kauj Ruam 5: Sau qhov program thiab Upload nws mus rau Arduino

Sau qhov program thiab Upload nws mus rau Arduino
Sau qhov program thiab Upload nws mus rau Arduino

Nov yog tus lej kawg uas yuav tsum tau muab tso rau hauv arduino -

Ib yam uas koj yuav tsum nkag siab koj xav tau qee qhov kev paub pib ntawm arduino timer, cuam tshuam thiab lwm cov ntsiab lus ua ntej kom nkag siab cov cai kom raug. Peb tsis nquag siv timers thiab cuam tshuam hauv arduino tsuas yog vim nws nce qhov nyuaj ntawm tus lej. Tab sis qhov haujlwm no xav tau kev siv cuam tshuam thiab ncua sijhawm.

Tsis tas li koj xav tau ob lub tsev qiv ntawv ntxiv ob qho ua ke cov cai kom raug -

  • Timerone -
  • Pinchangeinterrupt -

Sau thiab xa cov cai rau arduino. Thaum ua tiav, tshem tawm IC los ntawm arduino. Peb yuav muab nws tso rau hauv PCB.

Kauj Ruam 6: Muab cov Cheebtsam tso rau ntawm PCB

Muab cov khoom sib dhos tso rau ntawm PCB
Muab cov khoom sib dhos tso rau ntawm PCB
Muab cov khoom sib dhos tso rau ntawm PCB
Muab cov khoom sib dhos tso rau ntawm PCB
Muab cov khoom sib dhos tso rau ntawm PCB
Muab cov khoom sib dhos tso rau ntawm PCB

Raws li BOM thiab Circuit daim duab tso cov khoom sib txuas ntawm PCB thiab muab cov khoom ntawd ua kom raug. Cov kauj ruam no yog ncaj nraim rau pem hauv ntej. Siv lub dab dej kub nrog 7805 tus tswj hwm thiab siv cov cua sov tso rau nruab nrab. Nco ntsoov tias tsis muaj lub zog luv thiab hauv av tom qab ua tiav cov theem no.

Kauj Ruam 7: Nws Yuav luag tiav

Nws Yuav luag tiav!
Nws Yuav luag tiav!
Nws Yuav luag tiav!
Nws Yuav luag tiav!

Thaum cov laug tau ua tiav, nws yog lub sijhawm los sim lub Circuit Court. Nqa cov khoom siv hauv tsev uas khiav ntawm AC. Kuv yuav pom zoo kom siv lub teeb rooj yooj yim los ntsuas thaum xub thawj. Ntsia cov xov hlau los ntawm qhov hloov thiab ntsia hlau uas nyob rau hauv qhov qhib ib txwm thiab ib qho dav dav ntawm ib qho txuas ntawm PCB. Txuas lub teeb rooj rau AC phab ntsa. Hwj chim rau hauv Circuit Court los ntawm 9-12V DC cov khoom siv.

Tom qab ntawd coj lub chaw taws teeb thiab nias lub pob sib xws kom txhawb lub teeb. Nws yuav tsum ua haujlwm kom raug yog tias koj muaj txhua yam raug raws li qhia. Kuj xyuas lub sijhawm ua haujlwm.

Qhov kawg tuaj yeem pom hauv video.

Qhov ntawd yog nws. Peb tau ua tiav txoj haujlwm no. Cov cuab yeej zoo li no siv tau yooj yim hauv lub neej txhua hnub. Ua koj tus kheej txoj haujlwm thiab qhia rau kuv paub hauv ntu lus. Yog tias koj tau nyiam qhov kev qhia no ces saib cov vis dis aus hais txog qhov haujlwm no thiab sau npe yuav ua rau peb cov channel.

Channel txuas - www.youtube.com/c/being_engineers1

Ua tsaug uas koj nkag los saib xyuas thiab nyob zoo.:)

Pom zoo: