Cov txheej txheem:

Teeb Tsaus Led Siv Arduino (TinkerCAD): 5 Cov Kauj Ruam
Teeb Tsaus Led Siv Arduino (TinkerCAD): 5 Cov Kauj Ruam

Video: Teeb Tsaus Led Siv Arduino (TinkerCAD): 5 Cov Kauj Ruam

Video: Teeb Tsaus Led Siv Arduino (TinkerCAD): 5 Cov Kauj Ruam
Video: Море огня! Российские лазерные танковые войска под командованием Чечни обстреляли украинские нефтеба 2024, Kaum ib hlis
Anonim
Tsaus Muag Led Siv Arduino (TinkerCAD)
Tsaus Muag Led Siv Arduino (TinkerCAD)

HI! Phau ntawv qhia no yuav yog ib qho yooj yim heev. Ntawm no kuv yuav los qhia yuav ua li cas siv TinkerCAD kom ntsais muag Led siv Arduino.

TinkerCAD yog software zoo siv tau thaum nws los ntsuas koj cov lej sai thiab yooj yim heev rau cov uas tshiab rau microcontrollers. Qhov zoo ntawm nws yog qhov uas koj yuav tsis ua puas lub tshuab hluav taws xob tiag tiag thaum sim ua txhua yam uas khiav ntawm lub ntiaj teb virtual. Tab sis koj yuav ntsib teeb meem thaum suav qee cov lej uas yuav ua haujlwm sai hauv ntiaj teb tiag tab sis tau txais kev teeb tsa hauv ntiaj teb virtual.

Kauj Ruam 1: Qhib Tinker CAD

Qhib Tinker CAD
Qhib Tinker CAD

Koj tuaj yeem ncaj qha mus rau txuas: https://www.tinkercad.com/dashboard lossis tuaj yeem google tinker cad thiab xauj hauv lub vev xaib.

Tom qab ntawd koj yuav tsum nkag mus rau hauv koj tus lej nyiaj thiab koj yuav pom lub dashboard. Nyem rau ntawm Circuits nyob rau sab laug ntawm qhov screen. Ua mus ntxiv kom tsim Circuit Circuit tshiab.

Kauj Ruam 2: Cov Cheeb Tsam

Cov Cheeb Tsam
Cov Cheeb Tsam

Tam sim no xauj cov npe ntawm cov khoom thiab rub cov khoom uas tau teev tseg ntawm no.

1) BreadBoard Mini

2) Arduino Uno R3

3) LED

4) Resistor

Kauj Ruam 3: Muab Cov Khoom Siv

Muab cov Cheebtsam
Muab cov Cheebtsam

Tam sim no peb yuav tsum txuas tag nrho cov khoom siv raws li qhov xav tau. Muab cov LED tso rau txhua qhov chaw hauv lub khob cij me me. Nco ntsoov lub davhlau ya nyob twg ntawm LED yog lub davhlau ya nyob twg ntev dua thiab yog li qhov davhlau ya nyob twg zoo. Tso tus resistor rau kab tom ntej ntawm LED tsis zoo lub davhlau ya nyob twg. Tig nws ua ntej tso nws.

Tam sim no luag cov xov hlau los ntawm tus pin 13 ntawm Arduino los ntawm txhaj rau nws. Txuas cov xaim mus rau kab tom ntej ntawm LED ntawm lub khob cij. Ib yam li ntawd, rub tus xov tooj los ntawm GND (hauv av) tus pin ntawm Arduino thiab txuas mus rau kab tom ntej ntawm tus tiv thaiv. Koj tuaj yeem hloov xim ntawm cov xaim los ntawm nyem rau ntawm xaim thiab xaiv cov xim los ntawm cov kev xaiv tau tshwm sim.

Xaiv cov xim tshwj xeeb yuav pab peb daws qhov teeb meem nyuaj thiab yog li ua kom nws ua haujlwm tau txais txiaj ntsig.

Kauj Ruam 4: Xeem Lub Circuit Court

Xeem Circuit Court
Xeem Circuit Court
Xeem Circuit Court
Xeem Circuit Court

Tam sim no nyem rau ntawm qhov simulation. Koj yuav pom tias LED pib ntsais muag. Tam sim no qhov no yog vim hais tias cov coj tau txuas nrog tus pin13 thiab nws muaj lub hauv paus code ntawm ntsais muag nrog ncua sijhawm 1 thib ob.

Tam sim no peb tuaj yeem tswj hwm qhov ntsais los ntawm nyem rau khawm Code thiab tso peb tus kheej ntsais muag code nyob ntawd.

Thaum qhib Txoj Cai nyem rau ntawm kab ntawv los ntawm kev xaiv cov ntawv qhia zaub mov nco ntawm sab laug. Koj yuav pom tias tus lej tsis raug sau. Hloov pauv tus nqi qeeb yuav muab rau koj qhov sib txawv ntsais muag.

Yog tias muaj teeb meem thov qhia rau kuv paub.

Pom zoo: