Cov txheej txheem:

BICYCLE LIGHTING INDICATOR: LUX: 7 Kauj Ruam (nrog Duab)
BICYCLE LIGHTING INDICATOR: LUX: 7 Kauj Ruam (nrog Duab)

Video: BICYCLE LIGHTING INDICATOR: LUX: 7 Kauj Ruam (nrog Duab)

Video: BICYCLE LIGHTING INDICATOR: LUX: 7 Kauj Ruam (nrog Duab)
Video: Женский Casio G-Shock White GMAS130 Step Tracker | Обзор 10 лучших вещей GMAS... 2024, Kaum ib hlis
Anonim
BICYCLE LIGHTING INDICATOR: LUX
BICYCLE LIGHTING INDICATOR: LUX

LUX yog qhov khoom tsim tshwj xeeb rau lub tsheb kauj vab. Nws yog ib qho khoom siv uas tuaj yeem dai rau sab nraub qaum ntawm lub rooj zaum. Nws qhia yog tias tus neeg caij tsheb kauj vab qeeb qeeb, tig sab laug lossis tig sab xis los ntawm kev siv cov lej ntawm LEDs (tso tawm). Nws yog qhov yooj yim thiab siv tau rau lwm tus neeg tsav tsheb kom nkag siab tus neeg siv lub hom phiaj thiab tseem rau cov neeg caij tsheb kauj vab vim tias tag nrho cov txheej txheem tsis siv neeg. Tus neeg siv tsis tas yuav nias lub pob twg vim nws pom lub siab nyiam thiab ua kom nrawm dua los ntawm lub tshuab ntsuas lub ntsej muag thiab lub ntsuas qhov ntsuas sib xyaw (suav nrog). Cov cuab yeej no tau tswj hwm los ntawm cov lej arduino uas peb yuav piav qhia nws thiab siv lub roj teeb.

Kauj ruam 1: QHOV TSEEB

QHOV TSEEB
QHOV TSEEB

Txhawm rau ua tiav txoj haujlwm no, nws xav tau cov khoom sib koom ua ke hauv cov npe.

Kauj ruam 2: WIRING

HLOOV
HLOOV
HLOOV
HLOOV
HLOOV
HLOOV
HLOOV
HLOOV

Hauv ntu no, nws qhia txog kev txuas xov tooj nruab nrab ntawm peb qhov khoom siv uas yog Arduino Uno, 8x8 LED matrix nrog MAX7219 thiab Module MPU-6050. Cov phiaj xwm duab tau ua tsaug rau txoj haujlwm hu ua fritzing.

Kauj ruam 3: FLOWCHART

FLOWCHART
FLOWCHART

Daim duab qhia chaw yog ib daim duab uas sawv cev rau txheej txheem txheej txheem, txheej txheem ua haujlwm lossis txheej txheem, qhia cov kauj ruam raws li cov thawv ntawm ntau yam, thiab lawv qhov kev txiav txim los ntawm kev txuas lawv nrog cov xub. Cov duab kab lus piv txwv no qhia txog cov qauv kev daws teeb meem.

Hauv peb txoj haujlwm, lub hom phiaj yog txhawm rau txheeb xyuas peb ntu ua ntu zus thaum lub LED matrix yuav qhia pom lub teeb pom kev zoo. Cov peb ntu no yog:

1. Ua txhaum lossis ua kom qeeb

2. Tig sab laug

3. Tig txoj cai

Kauj Ruam 4: YUAV TSUM MUAJ CODE

Muaj peb daim ntawv xav tau los ua txoj haujlwm, nyob hauv cov ntaub ntawv zauv teb txuas nrog, nrog rau peb lub tsev qiv ntawv xav tau los ua haujlwm LED cov lej thiab cov duab gyroscope.

Kauj ruam 5: CODE

Hauv tshooj no, nws muaj cov ntaub ntawv khaws tseg ntawm Arduino code nrog cov neeg sau xov xwm tawm tswv yim sau tom qab txhua kab lus ntawm cov txheej txheem txheej txheem.

Kauj Ruam 6: PROTOTYPING

PROTOTYPING
PROTOTYPING

Thaum tau ua tiav tag nrho cov txheej txheem dhau los, nws yuav npaj ua lub thawv ntoo uas yuav yog ib feem ntawm txoj haujlwm. Muaj ib qho.dwg cov ntawv khaws cia txuas uas txhais cov ntsuas ntawm txhua daim uas yuav txiav los ntawm laser.

Kauj ruam 7: VIDEO

Nov yog cov vis dis aus hais txog yuav ua li cas LUX ua haujlwm.

Pom zoo: