Cov txheej txheem:

Tshuab Npau Suav: 5 Kauj Ruam (nrog Duab)
Tshuab Npau Suav: 5 Kauj Ruam (nrog Duab)

Video: Tshuab Npau Suav: 5 Kauj Ruam (nrog Duab)

Video: Tshuab Npau Suav: 5 Kauj Ruam (nrog Duab)
Video: Npau Suav li no Txhob coj mus tham qhia luag lwm tus 2024, Kaum ib hlis
Anonim
Tshuab Npau Suav
Tshuab Npau Suav

Ib txoj haujlwm me me uas muaj lub hom phiaj tsis zoo ib yam, ua rau tib neeg dag hauv kev txheeb xyuas lawv lub xov tooj.

Khoom siv

  • Raspberry Pi Zero
  • Hlau Toggle Hloov
  • Vibrating Mini Tsav Disc
  • LiFePO4 Answer/Pi+
  • Hlau
  • Lub thawv
  • Cov Khoom Siv Soldering
  • Laum

Kauj ruam 1: Project Video

Image
Image

Kauj ruam 2: Lub thawv

Lub thawv
Lub thawv

Peb xav tau qee yam uas tuaj yeem tuav tag nrho peb cov khoom siv hluav taws xob, tseem yog qhov yooj yim los nkaum. Lub thawv hluav taws xob me me los ntawm lub khw muag khoom kho vajtse hauv ib cheeb tsam yog tus neeg sib tw zoo tshaj.

Tsuas yog kev hloov kho xav tau yog txhawm rau lub qhov nyob rau sab, thiab tshem tawm ib qho ntawm cov ntsia hlau tuav kom ua chaw ntau ntxiv.

Cov kev hloov pauv xav tau tiag tiag nyob ntawm koj lub npov, yog li tsuav yog txhua yam khoom siv hluav taws xob haum, thiab koj tuaj yeem txuas qhov hloov pauv (saib cov kauj ruam tom ntej) qee yam, koj txhua tus zoo.

Kauj ruam 3: Kho vajtse

Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse
Kho vajtse

Nrog peb lub thawv tiav peb tuaj yeem pib ntxiv qee yam khoom siv. Peb pib nrog txuas lub toggle hloov mus rau lub thawv, siv peb qhov tshiab drilled qhov.

Tom qab ua qee qhov teeb tsa yooj yim ntawm Raspberry Pi Zero thiab them LiFePO4 Answer/Pi+, peb tuaj yeem sib sau ua ob qho. Lawv txhua tus muaj lawv lub luag haujlwm tshwj xeeb, Pi Zero ua cov laj thawj thiab LiFePO4 Answer/Pi+ muab lub zog.

Qhov kawg tab sis tsis tsawg kawg, peb muab lub toggle hloov pauv thiab kev co disc sib txuas. Feem ntau nws yog qhov zoo tshaj plaws los siv xov hlau dhia, tab sis peb tsis muaj chaw txaus, yog li ntawd peb ncaj qha txuas lawv mus rau Pi.

Kauj ruam 4: Code

Code
Code
Code
Code

Tam sim no peb txav mus rau tus lej nws tus kheej. Nws tau sau ua sej thiab suav nrog hauv qab no. Txhawm rau muab koj lub tswv yim zoo ntawm nws ua haujlwm li cas, lub ntsiab lus tseem ceeb yog raws li hauv qab no:

  • Txheeb xyuas yog tias lub toggle hloov pauv

    • Yog tias yog, qhib lub suab nrov rau ob vib nas this, thiab tos lub sijhawm tsis raug (ntawm 60 thiab 300 vib nas this)
    • Yog tias qhov hloov pauv tsis ua, tsis ua dab tsi

Nrog cov cai sau thiab ua haujlwm, peb tuaj yeem ua tiav kev tsim los ntawm kev teeb tsa saum toj.

Kauj ruam 5: Qhov tshwm sim

Qhov tshwm sim
Qhov tshwm sim
Qhov tshwm sim
Qhov tshwm sim

Nrog peb qhov kev khaus khaus ua kom tiav nws yog lub sijhawm kawg, thiab cov kauj ruam zoo tshaj plaws, ua rau muaj kev puas tsuaj! Tsuas yog toggle ntawm qhov hloov pauv, zais cov cuab yeej devious thiab txaus siab rau qhov ua yeeb yam txuas ntxiv.

Pom zoo: