Cov txheej txheem:

Arduino ELECTRONIC-DICE Project: 4 Cov Kauj Ruam
Arduino ELECTRONIC-DICE Project: 4 Cov Kauj Ruam

Video: Arduino ELECTRONIC-DICE Project: 4 Cov Kauj Ruam

Video: Arduino ELECTRONIC-DICE Project: 4 Cov Kauj Ruam
Video: DIY Electronic dice using Arduino UNO + CODE 2024, Kaum ib hlis
Anonim
Image
Image
Arduino ELECTRONIC-DICE Project
Arduino ELECTRONIC-DICE Project

Lub tswv yim qub yog los ntawm https://www.instructables.com/id/Arduino-Project-E-Dice-Beginner/, ib qhov project los ntawm. A..

Qee qhov kev txhim kho tau ua, Kuv ntxiv qee qhov LED thiab lub suab los. Ntxiv rau, Kuv tau siv Arduino Leonardo pawg thawj coj tab sis tsis yog Arduino UNO pawg thawj coj, tab sis cov cai tuaj yeem siv rau ob qho tib si.

Yuav siv li cas: Nias lub pob ces tos kom pom qhov tsuav. Yog tias lub teeb liab nyob ntawm txhais tau tias nws tseem tab tom ua! Qhov tshwm sim tau qhia thaum lub teeb liab tawm.

Khoom siv

Txhawm rau ua txoj haujlwm no, koj yuav xav tau:

1- Arduino Leonardo (Arduino UNO zoo)

1 - khob cij

7 - xiav LEDs

1 - LED liab

7-100 ohm tiv taus

1 - 10k ohm tsis kam

1 - khawm

1 - Hais lus 8 ohm (0.5 watt)

1 - roj teeb lossis lub txhab nyiaj fais fab

Jumper xov hlau

Kauj Ruam 1: Ua Circuit Court ntawm Breadboard

Ua Circuit Court ntawm Breadboard
Ua Circuit Court ntawm Breadboard
Ua Circuit Court ntawm Breadboard
Ua Circuit Court ntawm Breadboard
Ua Circuit Court ntawm Breadboard
Ua Circuit Court ntawm Breadboard

Kauj Ruam 1: Muab 7 lub LED xiav rau ntawm lub khob cij, ua ib lub xwmfab.

Kauj Ruam 2: Siv 7 lub xov hluav taws xob txuas thiab txuas los ntawm tus lej digital 7-13 rau txhua tus LED qhov zoo.

LED 1 - tus pin 13

LED 2 - tus pin 12

LED 3 - tus pin 11

LED 4 -pin 10

LED 5 -pin 9

LED 6 - tus pin 8

LED 7 - tus pin 7

Kauj Ruam 3: Siv lub teeb liab liab liab thiab tso ib sab ntawm LEDs xiav, txhais ceg zoo txuas rau tus lej digital 2

Kauj Ruam 4: Txuas txhua qhov kev tawm tsam

Kauj Ruam 5: Txuas lub pob rau lub khob cij

Kauj Ruam 6: Txuas txhua lub LEDs thiab khawm rau hauv av (GND) nrog lawv cov ceg tsis zoo

Kauj Ruam 7: Ntxiv tus hais lus (liab (zoo) txhais ceg rau tus lej digital 3, dub (tsis zoo) ceg rau GND)

Pom zoo: