Cov txheej txheem:

Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench: 3 Kauj Ruam
Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench: 3 Kauj Ruam

Video: Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench: 3 Kauj Ruam

Video: Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench: 3 Kauj Ruam
Video: Installing Anaconda for Windows 10! 2024, Hlis ntuj nqeg
Anonim
Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench
Ua Khoom Siv Hluav Taws Xob thiab Ua Haujlwm Yooj Yim Kawm Kawm Nrog Pom Pom DIY Workbench

Koj puas tau xav txhawb cov menyuam kom kawm paub txog hluav taws xob thiab microcontrollers? Tab sis qhov teeb meem tshwm sim uas peb nquag ntsib yog qhov kev paub pib ntawm thaj chaw nyuaj heev rau cov menyuam yaus nkag siab.

Muaj ob peb lub rooj sib tham ntawm lub khw uas pab cov tub ntxhais hluas kawm paub txog kev ua haujlwm zoo li BBC Micro: me ntsis. Tab sis qhov kuv xav qhia yog tias peb tuaj yeem ua ntau yam nrog tsuas yog ib lub microcontroller thiab qee cov khoom siv hluav taws xob thiab cov khoom ntawd zoo nkauj heev thiab lom zem rau kawm ib yam. Nws kuj tseem pab menyuam kawm paub qee yam pib txog kev siv hluav taws xob los ntawm kev cia lawv cuam tshuam nrog txuas cov xov hlau ntawm cov khoom sib txuas thiab ntau yam ntxiv.

Qib kawm: 5-9

Khoom siv

Arduino Uno x 1

LCD 16 x 2 x 1

Kub & Vaum Sensor DHT21 x 1

Daim ntawv x 2

Roj teeb tuav x 1

Khawm x 4

LEDs

7-Segment LED & IC74HC595

Hlau

Kauj Ruam 1: Yuav Ua Li Cas?

Nws yog qhov yooj yim heev. Txhua yam ntawm cov khoom kuv siv hauv txoj haujlwm no tau yuav ntev dhau los ntawm tus nqi pheej yig heev.

Txhua tus txheej txheem ntawm kev tsim txoj haujlwm no yog nyob hauv video.

Kauj Ruam 2: Yuav Ua Li Cas Siv Hluav Taws Xob Zoo Tshaj?

Tam sim no, nws yog lub sijhawm los ua cov ncauj lus no kom txaus nyiam dua.

Rau thawj ob peb zaj lus qhia, cov tub ntxhais kawm yuav kawm paub yuav ua li cas hluav taws xob ntws nrog qee qhov ua piv txwv nrog LEDs. Lawv kuj tseem tuaj yeem kawm paub ntau ntxiv txog lwm yam khoom xws li resistor, capacitor,.. (tsuas yog piav qhia luv luv, peb tsis xav kom dhau txhua qhov kev kawm). Rau kev nyab xeeb vim li cas, txhua lub xov tooj hluav taws xob txuas nrog ntawm lub rooj ua haujlwm.

Thaum lawv tau paub txog cov khoom siv hluav taws xob feem ntau, peb tuaj yeem qhia lawv txhua qhov ua piv txwv peb tuaj yeem xav los ntawm kev siv lub rooj tsavxwm no (ob peb ntawm lawv nyob hauv cov vis dis aus). Qhov no yuav pab txhawb kev nyiam ntawm cov tub ntxhais kawm.

Tom qab ntawd peb tuaj yeem pib qhia lawv txog GPIO thiab kev sib txuas lus raws li I2C. (Ib zaug ntxiv, peb tsuas yog xav qhia lub tswv yim tshiab no.)

Tom ntej no yog hais txog kev cuam tshuam thiab yuav ua li cas lub program khiav hauv microcontroller.

Qhov kawg tab sis tsis tsawg, peb tuaj yeem qhia lawv txog cov ntsuas, nws ua haujlwm li cas thiab lawv cov tsev qiv ntawv.

Nov yog tus lej demo:

Kauj Ruam 3: Xaus

Txoj haujlwm no tsuas yog lub hom phiaj ua kom cov khoom siv hluav taws xob thiab cov phiaj xwm xav paub ntau ntxiv rau cov menyuam yaus kom lawv tuaj yeem kawm txoj haujlwm no sai li sai tau. Tias yog vim li cas nws muaj ntau qhov kev tawm tsam. Yog tias lawv txaus siab rau daim teb no, lawv yuav pib kawm nws los ntawm lwm qhov chaw (zoo li internet) ib yam li peb txhua tus tau ua. Thiab qhov ntawd yog lub hom phiaj ntawm txoj haujlwm no.

Pom zoo: