Cov txheej txheem:

Arduino Mega Stepper Shield rau Rubiks Cube Solver: 4 Kauj Ruam
Arduino Mega Stepper Shield rau Rubiks Cube Solver: 4 Kauj Ruam

Video: Arduino Mega Stepper Shield rau Rubiks Cube Solver: 4 Kauj Ruam

Video: Arduino Mega Stepper Shield rau Rubiks Cube Solver: 4 Kauj Ruam
Video: Điều khiển 5 motor bước và servo bằng bluetooth qua app flutter | Control 5 steppers by Flutter app 2024, Lub Xya hli ntuj
Anonim
Arduino Mega Stepper Shield rau Rubiks Cube Solver
Arduino Mega Stepper Shield rau Rubiks Cube Solver

Ib pliag dhau los kuv tau ua haujlwm ntawm lub tshuab uas tuaj yeem daws cov scrambled 3x3 Rubiks Cube. Koj tuaj yeem pom kuv cov ntawv qhia ntawm qhov no. Hauv txoj haujlwm stepper tsav tsheb los ntawm polulu tau siv los tsav rau lub cav. Txhawm rau ob leeg ua txuas cov tsav tsheb no rau arduino mega (uas tswj hwm txhua yam) yooj yim dua, kev cai pcb tau tsim. Cov lus qhia no qhia txog txheej txheem ntawm kev tsim lub cav thaiv rau lub arduino mega rau pololu a4988 tsav tsheb.

Txaus siab rau!

Kauj ruam 1: Tsim Schematic

Raws li thawj kauj ruam cov txheej txheem ntawm pcb yuav tsum nkag mus rau hauv dav dawb hau. Ib qho ntxiv, txhua qhov khoom siv xav tau yuav tsum yog los ntawm lub tsev qiv ntawv lossis tsim los ntawm txhais tes. Nws yog qhov yooj yim los nrhiav tus hneev taw thiab cov phiaj xwm rau arduino mega shield hauv web. Tsuas yog ib feem uas tau tsim kev cai yog tus tsav tsheb lawv tus kheej. Txawm li cas los xij, Kuv yuav tsis mus rau hauv kev nthuav dav yuav ua li cas raws li muaj cov lus qhia zoo txog cov ncauj lus tawm tam sim no (saib ntawm no). Cov txheej txheem nws tus kheej yog qhov yooj yim heev vim nws tsuas yog txoj haujlwm yog txhawm rau txuas cov tsav tsheb mus rau Arduino pins. Ntxiv rau qhov txiav tawm cov capacitors tau muab tso ze rau ntawm vcc tus pin ntawm txhua tus ic txhawm rau kom ntseeg tau kev ua haujlwm zoo. Polulu stepper tsav tsheb muaj txoj hauv kev los teeb tsa micro kauj ruam los ntawm txoj hlua tawv peb ntawm lawv tus pin rau hauv av lossis vcc. Cov choj txuas tau muab tso rau ntawm cov pins kom tso cai rau tom qab hloov kho yog xav tau. Hauv qab no koj tuaj yeem pom ib feem ntawm cov txheej txheem (tsuas yog ib ntawm rau rau tus tsav tsheb tau suav nrog ntawm no). Cov txheej txheem tag nrho tuaj yeem pom tau rub tawm ntawm qhov kawg ntawm ible.

Duab
Duab

Kauj Ruam 2: Txhim Kho Pcb

Txoj hauv kev pcb suav nrog kev sim npaj txhua yam hauv ib txoj hauv kev uas lawv tuaj yeem sib txuas tau yooj yim rau ib leeg. Tau kawg thaum tsim ntau qhov nyuaj pcbs ntau yam yuav tsum raug coj mus rau hauv tus account thaum tsim nws. Txawm li cas los xij, hauv qhov no, txoj kev taug yog yooj yim heev. Txhua cov ntaub ntawv pins los ntawm cov tsav tsheb tau txuas nrog lawv tus lej sib xws ntawm arduino thiab cov duab sib tshooj rau saum thiab hauv qab txheej tau siv los khi txhua qhov chaw thiab VCCs ua ke.

Duab
Duab

Kauj Ruam 3: Kev xaj Pcb

Muaj ntau qhov chaw tawm muaj pcbs tuaj yeem xaj kom tau nyiaj tsawg heev. Ob qhov chaw kuv tau siv thiab muaj kev paub zoo txog tam sim no yog:

jlcpcb.com/https://www.pcbway.com/

Nws yuav siv qee lub sijhawm rau cov laug cam los txog tab sis qhov zoo tsis tau poob siab.

Pom zoo: