Cov txheej txheem:

Kev Ceeb Toom Ntxuav Tes: 5 Kauj Ruam (nrog Duab)
Kev Ceeb Toom Ntxuav Tes: 5 Kauj Ruam (nrog Duab)

Video: Kev Ceeb Toom Ntxuav Tes: 5 Kauj Ruam (nrog Duab)

Video: Kev Ceeb Toom Ntxuav Tes: 5 Kauj Ruam (nrog Duab)
Video: Tseem Ev Lub Kawm - Koos Loos 2024, Lub Xya hli ntuj
Anonim
Image
Image

Kev Ntxhua Ntxhua Khaub Ncaws yog txhais tes uas ceeb toom koj kom ntxuav koj txhais tes tom qab txhua 20 feeb. Nws muaj peb hom xim, Liab qhia tias yuav tsum tau ntxuav, xim hom xim (30sec) rau txhuam tes rau 30 Seconds thiab Ntsuab rau ntxuav tes.

Kev Ceeb Toom Ntxuav Tes yog ua los siv Arduino Nano, WS2812b LED thiab lub tsev ua kev co kev co. Thaum twg ib tus neeg xav ntxuav nws txhais tes lawv yuav tsum tuav lawv txhais tes nrog lub zog kom lub tswb ntsuas pom qhov kev co thiab ua rau rov pib dua ntawm Arduino board. Raws li Arduino rov pib dua qhov haujlwm los rau thawj qhov txiaj ntsig thiab pib. Ua ntej cov xim ploj zuj zus tuaj rau ntawm LED rau 30 vib nas this uas ua raws li lub sijhawm rau txhuam peb txhais tes rau 30 vib nas this, tom qab fading hom ntsuab xim teeb ntawm LED nws nyob qis qis li 20 feeb qhia tias koj txhais tes raug ntxuav, tom qab 20 feeb LED teeb nrog Liab xim qhia tias koj txhais tes tsis tau ntxuav. Cov xim liab nyob twj ywm kom txog thaum koj tuav tes thiab ntxuav koj txhais tes.

Khoom siv

  • Nano Arduino (1)
  • WS2812B LED (1)
  • 3.7V/5V Roj Teeb (1)
  • ON/OFF Hloov (1)
  • Ib Leeg Muag Hlau (1)
  • Saib Pluaj/Tes Band (1)

Kauj Ruam 1: Ua Kev Ruaj Ntseg Sensor:

Ua Kev Ruaj Ntseg Sensor
Ua Kev Ruaj Ntseg Sensor
Ua Kev Ruaj Ntseg Sensor
Ua Kev Ruaj Ntseg Sensor
  • Siv ib txoj hlua hlau tshem tawm cov txheej.
  • Ua lub caij nplooj ntoo hlav siv cov xaim.
  • Kuj siv txoj hlua ncaj nraim ntawm qhov ntev ib yam li lub caij nplooj ntoo hlav uas peb tau ua.

  • Cov laug lub caij nplooj ntoo hlav thiab xaim raws li qhia hauv duab rau RST thiab GND ntawm Arduino pawg thawj coj.
  • Nco ntsoov tias xaim nyob sab hauv lub caij nplooj ntoo hlav thiab tsis kov lub caij nplooj ntoo hlav.
  • Siv daim kab xev yas npog cov pins uas nyob hauv qab lub caij nplooj ntoo hlav kom lub caij nplooj ntoo hlav tsis tuaj rau lawv.

Kauj Ruam 2: Kev Sib Txuas Circuit:

Kev Sib Txuas Circuit
Kev Sib Txuas Circuit
Kev Sib Txuas Circuit
Kev Sib Txuas Circuit

Ua txhua qhov kev sib txuas raws li qhia hauv daim duab qhia chaw

Kauj ruam 3: Code:

Txoj Cai
Txoj Cai
  • Qhib cov cai hauv Arduino IDE nco ntsoov nruab FastLED lub tsev qiv ntawv hauv Arduino IDE.
  • Txuas Arduino mus rau PC, xaiv hom board, xaiv chaw nres nkoj thiab rub tawm.
  • Tom qab tus lej tau tshaj tawm kom ntseeg tau tias txhua yam ua haujlwm.
  • Txoj Cai Txuas:

Kauj Ruam 4: Sib dhos:

Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
  • 3D luam tawm STL cov ntaub ntawv muab:

  • Ua txoj hlua siv cov hlua thiab txoj siv lossis koj tuaj yeem siv lwm txoj hlua uas koj muaj.
  • Sib sau txhua yam nrog kev pab ntawm kua nplaum.

Kauj ruam 5: Nco tseg:

  • Koj tuaj yeem kho qhov rhiab heev ntawm cov qhab los ntawm kev kho lub caij nplooj ntoo hlav thiab xaim ntawm lub rooj tsavxwm.
  • Kho qhov rhiab heev xws li nws yuav tsum tsis txhob cuam tshuam thaum lub sijhawm ua haujlwm ib txwm muaj, nws yuav tsum tsuas yog ua thaum txhais tes sib zog nrog lub zog.

Pom zoo: