Cov txheej txheem:

DIY 37 Leds Arduino Roulette Game: 3 Kauj Ruam (nrog Duab)
DIY 37 Leds Arduino Roulette Game: 3 Kauj Ruam (nrog Duab)

Video: DIY 37 Leds Arduino Roulette Game: 3 Kauj Ruam (nrog Duab)

Video: DIY 37 Leds Arduino Roulette Game: 3 Kauj Ruam (nrog Duab)
Video: The gift of forgiveness - Part 1 2024, Kaum ib hlis
Anonim
DIY 37 Leds Arduino Roulette Game
DIY 37 Leds Arduino Roulette Game

Roulette yog twv txiaj yuam pov game npe tom qab Fabkis lo lus lub ntsiab lus me ntsis log.

Kauj ruam 1: Kev piav qhia

Nqe lus piav qhia
Nqe lus piav qhia

Hauv qhov kev ua si, cov players tuaj yeem xaiv tso thawj koom ruam ntawm ib tus lej, ntau pawg sib txawv ntawm cov lej, xim liab lossis dub, txawm tias tus lej yog khib lossis txawm tias, lossis yog tus lej siab (19–36) lossis qis (1 –18) ib.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Txoj haujlwm no tau txhawb nqa los ntawm NextPCB:

-Free PCB Tsim Kev Tshawb Fawb Software-NextDFM:

www.nextpcb.com/nextdfm.html

-Cia kom yeej tau $ 20000 daim coupon:

www.nextpcb.com/nextdfm.html

Sau npe rau $ 10 daim coupon & Dawb PCB boards:

www.nextpcb.com/nextdfm.html

-15 % OFF - PCB & 10 % SMT Orders:

www.nextpcb.com/nextdfm.html _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Feem ntau koj tuaj yeem pom qhov phiaj xwm ntawm roulette game nrog 10 LEDs, yog li kuv txiav txim siab ua nrog 37 LEDs zoo li hauv qhov qub qub. kom txog thaum nws nres ntawm tus lej tsim tawm. Kev tsim kho tau yooj yim heev nrog kev siv Arduino microcontroller.

Kauj Ruam 2: Lub Tsev

Tsev
Tsev
Tsev
Tsev
Tsev
Tsev

Ntaus tau yooj yim dua los tsim thiab suav nrog ob peb yam:

- Arduino Nano microcontroller

- 74HC595 hloov pauv rau npe 5 pisces

-37 Leds

NPN transistor

-2 Resistors

- thiab Buzzer

Nov yog European-style teeb tsa thiab suav nrog ib tus xoom, thiab 36 lwm tus lej. Los ntawm nias lub pob peb tiag tiag pov lub pob virtual, qhov uas qhov kev sib hloov yog ua los ntawm qhov pom tom ntej ntawm LEDs. Kev sib hloov ntawm LEDs yog nrog lub suab tsim nyog, uas muab qhov kev xav tiag tiag rau qhov kev ua si. Kev sib hloov nrawm nrog rau lub sijhawm tuaj yeem hloov kho tau yooj yim hauv cov cai.

Kauj ruam 3: Schematic thiab Code

Schematic thiab Code
Schematic thiab Code

Thaum kawg, lub cuab yeej tau muab tso rau hauv lub thawv tsim nyog ua los ntawm PVC yas thiab txheej nrog cov xim tha xim. Hauv qab no koj tuaj yeem rub tawm Arduino Code:

Koj tuaj yeem saib cov vis dis aus ntawm:

Pom zoo: