Cov txheej txheem:

Yuav Ua Li Cas Yooj Yim POV: 6 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Yooj Yim POV: 6 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Yooj Yim POV: 6 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Yooj Yim POV: 6 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Yooj Yim POV
Yuav Ua Li Cas Yooj Yim POV

Hiii, Hnub no kuv rov qab los nrog qhov project nthuav POV (Persistence of Vision) Nrog txoj haujlwm no koj tuaj yeem tso lub npe uas muaj 5 tsab ntawv. Nws yog txoj haujlwm yooj yim heev ua haujlwm nrog arduino. Tsis txhob txhawj yog tias koj yog tus pib nrog arduino ces koj yuav tsum tau ua tiav txoj haujlwm no kom nkag siab qhov yooj yim ntawm arduino qhov haujlwm no yog ua pov thawj kom nkag siab dab tsi pov pov tuaj ntawm no.thaum koj txav tus pas nrawm nrawm hauv kab rov tav los ntawm sab laug mus rau sab xis ces koj yuav pom koj cov ntawv nkag.

Kauj Ruam 1: Khoom

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Yam Khoom Qty

1. Diffused LED Xim koj xaiv 5

2. PCB pawg thawj coj saib 1

3. Resistor 220 ohm 5

4. Arduino uno 1 yuav los ntawm no arduino uno (clone)

5. Wire Cutter 1

6. Soldering Hlau 25 watt 1

7. Soldering Hlau 1m

8. Cov txiv neej 1*6

9. Double Sab Daim Kab Xev 1

10. Soldering flux 1

Kauj ruam 2: Pib Ua

Pib Ua
Pib Ua
Pib Ua
Pib Ua
Pib Ua
Pib Ua

Coj lub pcb pawg thawj coj thiab haum cov coj ntsug ntawm lub pcb qhov tsis zoo yuav tsum yog ntawm ib sab thiab qhov zoo yuav nyob ntawm lwm sab peb yuav muab txhua yam tsis zoo rau ib leeg thiab tus kheej zoo.

Kauj ruam 3: Pib Soldering

Pib Soldering
Pib Soldering
Pib Soldering
Pib Soldering
Pib Soldering
Pib Soldering
Pib Soldering
Pib Soldering

Tam sim no siv tag nrho cov dav hlau tsis zoo mus rau ib lub ntsiab lus thiab cov kab laug sab tiv thaiv rau tus kheej tsib lub davhlau ya nyob twg ntawm LED. Thiab tom qab ntawd xaim hlau txuas mus rau tus coj 1, 2, 3, 4, 5 thiab Tsis Zoo. ntawm cov hlau raws li kev sib txuas coj.

Kauj Ruam 4: Circuit thiab Kev Sib Txuas

Circuit Court thiab Kev Sib Txuas
Circuit Court thiab Kev Sib Txuas
Circuit Court thiab Kev Sib Txuas
Circuit Court thiab Kev Sib Txuas

Txoj haujlwm no muaj kev sib txuas yooj yim heev-LED 1-Digital pin 2

LED 2-Digital tus pin 3

LED 3-Digital tus pin 4

LED 4-Digital tus pin 5

LED 5-Digital tus pin 6

Txhua qhov tsis zoo ntawm LED - GND tus pin

Kauj ruam 5: Code

Nov yog tus lej koj tuaj yeem hloov cov ntawv los ntawm kev kho cov cai. Yog hloov cov ntawv mus rau hauv qab ntawm txoj cai thiab hloov pauv cov tsiaj ntawv hauv kab ntawv tsuas yog ib tsab ntawv tuaj yeem sau rau hauv kab zauv.

Luam Ntawv (T);

printLetter (E);

printLetter (S);

Luam Ntawv (T);

printLetter (_);

Kauj Ruam 6: Ua tiav

Tiav tiav
Tiav tiav
Tiav tiav
Tiav tiav
Tiav tiav
Tiav tiav

Tam sim no tsuas yog kho lub arduino thiab lub roj teeb rau ntawm cov ntoo ntoo thiab rub cov lej txuas rau saum toj no. Kuv pom zoo kom siv mini version ntawm arduino. Nrog txoj haujlwm no koj tuaj yeem muab teeb liab rau qee tus neeg sawv ntawm koj. Nws yog qhov nthuav DIY project uas Koj yuav tsum sim. Guys cov txuas no tau luv url los ntawm qhov uas kuv sau ob peb bucks uas yuav pab kuv mus yuav khoom rau kuv yam nyiam ua;-)

Ua tsaug rau kev nkag siab

Pom zoo: