Cov txheej txheem:

LED Random Number Generator: 5 Cov Kauj Ruam (nrog Duab)
LED Random Number Generator: 5 Cov Kauj Ruam (nrog Duab)

Video: LED Random Number Generator: 5 Cov Kauj Ruam (nrog Duab)

Video: LED Random Number Generator: 5 Cov Kauj Ruam (nrog Duab)
Video: Wait what 😱 Flipper Zero 🐬 2024, Kaum ib hlis
Anonim
LED Random Number Generator
LED Random Number Generator

Nov yog qhov haujlwm Arduino yooj yim heev. Cov khoom siv LEDs los sawv cev rau cov lej tsis raug. Thaum koj nias (thiab tuav) lub pob, LEDs yuav rov qab los thiab tom qab ntawd, tom qab ntawd, nws yuav tso cov teeb pom kev sib txawv ntawm LEDs kom ci los sawv cev rau tus lej. Nov yog Arduino pib qhov haujlwm rau cov pib ua si nrog. Qhov kev zov me nyuam yuav hloov pauv me ntsis, tab sis koj tuaj yeem hloov kho qhov Circuit Court.

Khoom siv

1 Pawg Arduino

1 Cov qhob cij

10 221 Ohm Resistors

11k Ohm Cov neeg tiv taus

1 Khawm

10 LEDS (Koj tuaj yeem xaiv cov xim)

1 daim npav daim npav (Loj npaum li koj lub khob cij)

16 cev

1 daim ntawv

Kauj Ruam 1: Tau Txais Cov Khoom

1 Pawg Arduino

1 Cov qhob cij

10 221 Ohm Resistors

11k Ohm Cov neeg tiv taus

1 Khawm

10 LEDS (Koj tuaj yeem xaiv cov xim)

1 daim npav daim npav (Loj npaum li koj lub khob cij)

16 cev

1 daim ntawv

Kauj ruam 2: Circuit Court

Circuit Court
Circuit Court

Muab cov xov hlau thiab khawm zoo ib yam li daim duab saum toj no, daim duab los ntawm:

Kauj ruam 3: Codes

Muab tshuaj txhuam cov cai los ntawm no thiab xa nws mus rau koj li Arduino board.

Kauj Ruam 4: Kho Kom Zoo Nkauj (Yooj Yim Yooj Yim)

Yog tias peb qhia ncaj qha rau LED qhia yam tsis muaj npog, lub teeb yuav ci heev thiab cov xov hlau nyob tom qab yuav zoo li tsis zoo; yog li ntawd, kuv tau txiav txim siab tso daim ntawv dawb paug ntawm nws los zais cov xov hlau. Koj tuaj yeem sau qhov tseem ceeb dab tsi uas koj xav tau thiab dai daim tshiab ntawm daim duab los qhia. Lub teeb, txawm li cas los xij, yuav tsis npog los ntawm cov duab los qhia, yog li kuv xav pom zoo kom npog cov LEDs nrog ib daim ntawv. Daim ntawv thaiv qhov pom kev me ntsis thiab tiv thaiv koj lub qhov muag. Tsis tas li, kuv yuav hais qhia ntsuas qhov sib txawv nruab nrab ntawm txhua LED thiab sau txhua qhov ntawm lawv kom meej meej zoo li hauv daim duab saum toj no. Txoj kev no, koj tuaj yeem paub tus lej twg nws nrawm dua.

Kauj Ruam 5: Cov Khoom Kawg

Koj ua tiav

Txoj haujlwm no yog ua raws

Pom zoo: