Cov txheej txheem:

Arduino Nano Multiplication/Division Cov Cim: 9 Kauj Ruam (nrog Duab)
Arduino Nano Multiplication/Division Cov Cim: 9 Kauj Ruam (nrog Duab)
Anonim
Image
Image

Arduino Nano Multiplication/Division Cov Cim tuaj yeem yog cov cuab yeej zoo tshaj plaws rau kev qhia hauv qib tsev kawm ntawv theem qis vim tias nws qhov kev tsim qauv tau xav los qhia qhov tshwm sim ntawm kev sib koom ua ke ntawm cov cim hauv kev ua lej ntawm kev sib npaug & faib.

Kauj Ruam 1: Nqi Khoom

Schematic
Schematic

1 PCB 5cmX7cm

1 Arduino Nano

5 10mm Liab LED

3 Push-button hloov

5470 Ohm tus tiv thaiv

3 10K Kuj

Kauj ruam 2: Schematic

Ua tib zoo saib txhua qhov kev sib txuas thiab cov lus piav qhia hauv koj cov phiaj xwm, thiab ua raws cov lus qhia ua tib zoo kom koj tuaj yeem ua tiav txoj haujlwm no.

Kauj Ruam 3: Nruab LEDs

Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs
Nruab cov LEDs

Txhim kho 5-10mm LEDs folding cov dav hlau hauv qab lawv cov PCB. Kuj tseem siv cov cathodes ib leeg ntawm ib qho LED kom koj tuaj yeem txhais cov ntsiab lus sib xws d1.

Kauj Ruam 4: Npaj Arduino Nano

Npaj Arduino Nano
Npaj Arduino Nano
Npaj Arduino Nano
Npaj Arduino Nano

Solder tus pin sib xws hauv koj Arduino nano uas koj yuav siv tom qab. Nco ntsoov siv tus pin los ntawm D2 txog D10 thiab 5V & GND.

Kauj Ruam 5: Txhim Kho Arduino Nano

Txhim kho Arduino Nano
Txhim kho Arduino Nano
Txhim kho Arduino Nano
Txhim kho Arduino Nano
Txhim kho Arduino Nano
Txhim kho Arduino Nano

Txhawm rau txhim kho Arduino nano, ntxig rau ntawm PCB thiab muab nws cov pins tso rau. Ib qho ntxiv, teeb tsa cov hloov hluav taws xob thiab cov kab sib txuas ua ke taw tes d1 rau tus pin D7 ntawm koj Arduino Nano.

Kauj Ruam 6: Txuas Cov Tiv Thaiv ntawm 470 Ohm

Txuas cov Resistors ntawm 470 Ohm
Txuas cov Resistors ntawm 470 Ohm
Txuas cov Resistors ntawm 470 Ohm
Txuas cov Resistors ntawm 470 Ohm

Txuas thiab muab cov tshuaj tiv thaiv ntawm 470 Ohm los ntawm LED1 rau LED5 rau lawv cov Arduino nano pins los ntawm D2 txog D6.

Kauj Ruam 7: Txhim Kho Cov Tiv Thaiv ntawm 10K

Nruab ib lub Resistors ntawm 10K
Nruab ib lub Resistors ntawm 10K

Nruab 3 resistors ntawm 10K raws li koj cov phiaj xwm kom koj tuaj yeem zam qhov ua yuam kev. Txuas ib lub davhlau ya nyob twg ntawm txhua qhov hloov mus rau 5V thiab cov seem ua rau nws cov khoom sib xws thiab sib xws Arduino tus pin. Ntawd yog, koom nrog qhov txuas txuas ntxiv ntawm txhua qhov hloov pauv mus rau nws qhov cuam tshuam ntawm 10K thiab rau nws tus lej sib xws Arduino tus pin los ntawm qhov yog SW1, SW2, SW3 txuas nrog D8, D9, D10 feem. Tsis tas li hnov qab txuas cov txuas ntxiv ntawm txhua tus tiv thaiv ntawm 10K rau GND.

Kauj Ruam 8: Txheeb Xyuas Cov Hloov

Txheeb xyuas Cov Hloov
Txheeb xyuas Cov Hloov
Txheeb xyuas Cov Hloov
Txheeb xyuas Cov Hloov
Txheeb xyuas Cov Hloov
Txheeb xyuas Cov Hloov

Txheeb xyuas cov hloov pauv kom koj paub tso SW1, SW2, & SW3 vim tias txhua qhov kev hloov pauv sawv cev los ntawm qhov sib txawv ua ke ntawm cov cim ntawm kev sib npaug lossis faib.

Kauj Ruam 9: Ua tiav Txoj Haujlwm

Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm
Ua kom tiav Txoj Haujlwm

Thaum ua tiav txoj haujlwm, mus ntsib:

Tom qab ntawd, koj tuaj yeem tso tus lej ntawm:

Txaus siab rau nws !!!

Pom zoo: