Cov txheej txheem:

Cov Nqaij Nqaij Nqaij Tshiab: 7 Kauj Ruam
Cov Nqaij Nqaij Nqaij Tshiab: 7 Kauj Ruam

Video: Cov Nqaij Nqaij Nqaij Tshiab: 7 Kauj Ruam

Video: Cov Nqaij Nqaij Nqaij Tshiab: 7 Kauj Ruam
Video: Kho caj kho cev by Celesna Lor 2024, Hlis ntuj nqeg
Anonim
Image
Image
Cov Nqaij Nqaij Tshiab
Cov Nqaij Nqaij Tshiab
Cov Nqaij Nqaij Tshiab
Cov Nqaij Nqaij Tshiab

Ib lub cuab yeej ua kom tau raws li qhov tshiab. Txoj haujlwm no tau mus vim tias kuv raug teeb meem hauv ib ntawm kuv chav kawm los daws qhov teeb meem siv cov txuj ci uas peb tau kawm hauv chav kawm. Kuv tam sim xav txog qee yam uas tau tshwm sim rau kuv tsev neeg ob peb xyoos dhau los. Ib lub caij ntuj sov peb tau mus so rau ob peb lub lis piam thiab rov los hnov tsw ntxhiab ntawm kev tuag thiab cov ntshav hauv av, tsis tas yuav hais tias nws yog npau suav phem los ntxuav thiab lub tub yees tsis muaj zog. Qhov xwm txheej ntawd ua rau kuv txiv nug yog tias peb yuav tsum tau txawm yuav pub dawb pub dawb/nyom pub nqaij nyuj (cov khoom zoo) txhua. Nov yog qhov piv txwv ntawm kuv qhov teeb meem yog li kuv tau tsim lub cuab yeej uas tuaj yeem ua haujlwm ntawm nws tus kheej thiab ceeb toom rau leej twg los xij uas yuav tshuaj xyuas lub tsev thiab qee lub sijhawm yav tom ntej, xa cov ntawv mus rau tus tswv lub xov tooj txhawm rau muab cov lus teb sai los ntawm lub tub yees. Zuag qhia tag nrho, lub cuab yeej siv ntau xim LED tso rau cov neeg nyob ib puag ncig lub tsev paub tias muaj qee yam tsis raug thiab thaum kawg txhua tus neeg uas xav tau txais cov ntawv hais txog cov nqaij pib ua phem.

Kauj Ruam 1: Sau Qhov Chaw thiab Cov Cuab Yeej

Sib Sau Cov Khoom thiab Cov Cuab Yeej
Sib Sau Cov Khoom thiab Cov Cuab Yeej

Txhawm rau ua kom tiav txoj haujlwm no, tus tsim khoom yuav xav tau kev paub yooj yim hauv kev siv tshuaj txhuam, Arduino IDE, thiab 3D Printing (xaiv tau). Txoj haujlwm no suav nrog cov khoom siv hluav taws xob tawm ntawm Amazon thiab lwm yam yog pom yooj yim ntawm lub khw muag khoom hauv ib cheeb tsam.

Cheebtsam:

  • NodeMCU pawg thawj coj (https://a.co/haoqMPw)
  • DS18B20 Kub sensor nrog Dej tsis haum (https://a.co/ewfkmng)
  • Hom Cathode RGB LED (https://www.sparkfun.com/products/9264)
  • Lub xab npum Box los ua tus Encloser ($ 1 ntawm Walmart)
  • USB fais fab mov (https://a.co/ccjaQHv)

Cov seem ntawm cov khoom no tau sib sau los ntawm kev xaj cov khoom tawm ntawm Amazon (https://a.co/gUIA75y) tab sis koj tuaj yeem zaum pom cov khoom pheej yig dua nyob ib puag ncig Amazon (Kuv tau sim kawm Arduino).

  • Hluav taws xob Breadboard
  • Jumper Hlau
  • Peb 270Ω Resistors
  • Ib qho 4.7kΩ resistor
  • Peb+ header pins

Cov Cuab Yeej:

  • Khoos phis tawj
  • Micro-USB Qaum
  • Cov Khoom Siv Soldering
  • High-temp Hot Glue Gun
  • Laum nrog 1/4 Drill Bit
  • 3D Tshuab Luam Ntawv nrog filament

Thaum xub thawj kuv xav tias kuv yuav txhawb lub rooj tsavxwm ntawm lub zog siv sab hauv tab sis tom qab ua si nrog lub tswv yim kuv tau mus nrog lub zog USB sab nraud vim nws yooj yim dua.

Kauj Ruam 2: Muab Cov Khoom Siv Hluav Taws Xob Ua Ke

Muab Cov Khoom Siv Hluav Taws Xob Ua Ke
Muab Cov Khoom Siv Hluav Taws Xob Ua Ke
Muab Cov Khoom Siv Hluav Taws Xob Ua Ke
Muab Cov Khoom Siv Hluav Taws Xob Ua Ke
Muab Cov Khoom Siv Hluav Taws Xob Ua Ke
Muab Cov Khoom Siv Hluav Taws Xob Ua Ke

Daim duab 1 qhia txog kev teeb tsa hluav taws xob

Tshooj 1:

Muab txhua tus xov hlau los ntawm qhov ntsuas kub mus rau nws tus kheej lub taub hau pin (Duab 2 & 3)

Qhov 2: Temp Sensor

  • Muab NodeMCU lub rooj tsavxwm tso rau ntawm ntug ntawm lub khob cij (Daim duab 4 & 5)
  • Siv cov hlua txuas txuas txuas NodeMCU mus rau qhov kub. sensor

    1. Muab cov xaim daj los ntawm tus pin 4 mus rau kab pub dawb ntawm lub khob cij
    2. Siv tus 4.7kΩ resistor thiab txuas nws mus rau kab 3.3v tom qab ntawd tso lwm sab ntawm nws hauv kab los ntawm cov kauj ruam dhau los
    3. Muab cov xaim daj los ntawm qhov kub. sensor thiab muab tso rau ntawm qhov ntawm tib kab ntawd
    4. Tso cov hlau liab los ntawm qhov kub. sensor ntawm kab 3.3v thiab tso cov xaim dub rau ntawm kab hauv av
    5. Txuas tus pin 3.3v ntawm NodeMCU mus rau kab ntawm lub khob cij
    6. Txuas tus pin hauv av ntawm NodeMCU mus rau kab ntawm lub khob cij

Ntu 3: LED

Cov ntawv qhia no tau pab tau zoo heev thaum nws los txog rau txuas lub LED (https://learn.sparkfun.com/tutorials/sik-experiment-guide-for-arduino---v32/experiment-3-driving-an-rgb-led). Koj tsuas yog yuav tsum taug qab cov pins koj tab tom muab txhua feem ntawm LED rau (piv txwv li, Kuv Pins yog D6 (liab), D7 (ntsuab), thiab D8 (xiav)

Kauj Ruam 3: Txoj Cai

Image
Image
Txoj Cai
Txoj Cai

Cov cai uas kuv siv tam sim no feem ntau yog ua los ntawm DS18x20_Tem Piv Txwv los ntawm OneWire Library.

Ntu 1: Tau Teeb

Cov vis dis aus qhia saum toj no yuav tsum muab rau koj pib zoo nkauj ntawm kev siv NodeMCU.

Ntu 2: Kuv Txoj Cai

Raws li tau hais los saum no Kuv feem ntau siv cov cai los ntawm OneWire Library tab sis kuv ntxiv ob qhov hloov pauv rau sab saum toj ntawm cov ntawv thiab ntxiv ib feem uas cuam tshuam yog tias qhov kub tau mus txog qhov chaw pib (Arduino code saum toj no). Tsis tas li, thov txim yog tias cov cai tsis huv, nws yog kuv thawj zaug sau nrog Arduino.

Kauj Ruam 4: 3D Luam Snowflake (Yeem Xaiv)

3D Luam Snowflake (Yeem Xaiv)
3D Luam Snowflake (Yeem Xaiv)
3D Luam Snowflake (Yeem Xaiv)
3D Luam Snowflake (Yeem Xaiv)
3D Luam Snowflake (Yeem Xaiv)
3D Luam Snowflake (Yeem Xaiv)

Kuv ntxiv snowflake los tuav qhov kub. sensor los pab qhia rau tus neeg siv qhov chaw nws yuav tsum mus. Cov daus uas kuv tau siv los ntawm https://www.thingiverse.com/thing:2732146 thiab kuv nyuam qhuav ntxiv qhov txuas (kom muab credit rov qab) thiab lub qhov rau qhov ntsuas kub.

Kauj Ruam 5: Txiav thiab Gluing

Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
Txiav thiab Gluing
  • Kuv txiav txim siab xa qhov ntsuas kub tawm mus rau sab yog li kuv tau hlais 1/4 nti qhov nyob rau sab rau qhov kub. sensor kom tawm ntawm. Kuv kuj txiav tawm ntawm qhov chaw uas Micro-USB qaum tuaj.
  • Rau qhov gluing ib feem, Kuv siv High-temp Hot Glue Gun thiab uas ua haujlwm tau zoo tsuas yog xyuas kom tseeb tias koj siv cov kua nplaum txaus. Kuv glued qhov ntsuas kub rau rooj plaub thiab daus daus (Duab 4 & 5).

Kauj Ruam 6: Xeem

Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem
Kev Xeem

Kuv tseem nyob hauv tsev kawm qib siab yog li kuv tau siv kuv lub tub yees txias txias rau kev sim. Txoj cai OneWire tseem xa qhov ntsuas kub hla kab ntawv (9600 Baud) yog li ntsuas qhov ntsuas kub tau yooj yim.

Kauj Ruam 7: Yav Tom Ntej: Ntxiv WIFI Code

Yav tom ntej: Ntxiv WIFI Code
Yav tom ntej: Ntxiv WIFI Code

Kuv npaj yuav ntxiv peev xwm WIFI rau tus lej kom tus ceeb toom tuaj yeem xa cov ntawv.

Nov yog kuv thawj zaug tsim ntawm Instructables yog li sim thiab zam txim rau qhov nyob hauv nws.

Pom zoo: