Cov txheej txheem:

Arduino Cov Ntaub Ntawv Sau Npe: 6 Kauj Ruam
Arduino Cov Ntaub Ntawv Sau Npe: 6 Kauj Ruam

Video: Arduino Cov Ntaub Ntawv Sau Npe: 6 Kauj Ruam

Video: Arduino Cov Ntaub Ntawv Sau Npe: 6 Kauj Ruam
Video: Computer Vision with Python! Resizing Images 2024, Kaum ib hlis
Anonim
Arduino Cov Ntaub Ntawv Sau Npe
Arduino Cov Ntaub Ntawv Sau Npe

Cov lus qhia no tau tsim los ua kom tiav ntawm txoj haujlwm xav tau ntawm Makecourse ntawm University of South Florida (www.makecourse.com)

Txog rau txoj haujlwm, kuv paub tias kuv xav ua qee yam suab paj nruag cuam tshuam, tab sis yooj yim txaus uas coding thiab ua qauv tshiab rau kuv zoo li kuv yuav tuaj yeem rub nws tawm. Yog li, Kuv tau txiav txim siab ntawm lub tswv yim ntawm cov ntaub ntawv kaw suab uas yuav qhib thaum lub "koob" poob rau hauv cov ntaub ntawv.

Cov lus qhia hauv qab no piav qhia cov ntaub ntawv thiab cov txheej txheem koom nrog hauv kev sau cov neeg siv siv Arduino Uno microcontroller.

Kauj ruam 1: Cov ntaub ntawv

  • Arduino Uno microcontroller
  • Cov qhob cij
  • Stepper lub cev muaj zog, thiab lub cev muaj zog tsav tsav module
  • Kov ncoo ncoo sensor module
  • Sparkfun Audio Suab Breakout module
  • Pob ntawm cov taub hau sib cais
  • 2 GB Micro SD daim npav nrog adapter
  • .5W 8ohm Hais Lus
  • Portable Power Bank
  • Soldering Hlau

Koj tseem yuav xav tau kev nkag mus rau software kho lub suab, qee daim ntawv ntawm CAD software, thiab Arduino IDE.

Kauj Ruam 2: Npaj Lub Suab Suab

Npaj Cov Qauv Suab
Npaj Cov Qauv Suab
Npaj Cov Qauv Suab
Npaj Cov Qauv Suab
Npaj Cov Qauv Suab
Npaj Cov Qauv Suab

Tus qauv uas yuav nyeem tawm cov ntaub ntawv suab rau tus hais lus tsis tuaj yeem npaj siv nrog lub khob cij, yog li lub taub hau yuav tau ntxiv rau nws.

Thawj daim duab yog nws zoo li cas thaum nws tuaj txog. Tom qab soldering xya lub taub hau rau txhua sab, nws yuav npaj tau siv.

Tom ntej no, xaiv zaj nkauj twg uas koj xav kom koj sau tseg. Tus qauv tuaj yeem tuav ntau li 512 nkauj, tab sis 1 yog txaus rau txoj haujlwm no. Lub suab tawm suab yuav tsuas yog ua 4-ntsis 32KHz cov ntaub ntawv suab, nrog cov npe pib ntawm "0000.ad4", "0001.ad4", thiab ntxiv rau. Txhawm rau kom koj cov ntaub ntawv suab mus rau hom ntawv no, thawj zaug siv qhov program zoo li Audacity los hloov nws mus rau mono, 32KHz tus nqi, 16-ntsis nthwv dej suab ntaub ntawv. Nplooj ntawv lom zem rau cov qauv no tseem suav nrog cov khoom siv uas yuav hloov koj cov ntaub ntawv yoj mus rau qhov xav tau 4-ntsis hom.

Tom qab ntawd, thaum koj tso koj cov ntaub ntawv suab mus rau 2GB microSD daim npav, ntu suab tau npaj txhij mus!

Kauj Ruam 3: 3D Luam Qhov Chaw

Kuv tau txuas cov ntawv ib feem uas kuv siv rau kuv cov ntaub ntawv kaw suab. Lub tog raj kheej ntawm lub hau yog txhob txwm ntev dua qhov tsim nyog, yog li koj tuaj yeem txiav nws kom raws nraim qhov koj xav tau. Tib yam mus rau koob. Lub qhov rau ntawm lub hau yog qhov uas kov lub sensor yuav tawm ntawm lub npov, zais rau hauv ntu hu ua "tus tuav lub koob".

Kauj Ruam 4: Ua Tus Tswj Circuit

Ua Kev Tswj Circuit
Ua Kev Tswj Circuit
Ua Kev Tswj Circuit
Ua Kev Tswj Circuit

Nov yog qhov txheej txheem teeb tsa uas suav nrog lub ntsej muag kov, lub suab hloov pauv, lub zog tsav, tus hais lus, thiab arduino uno.

Kauj ruam 5: Arduino Sketch

Txuas nrog yog daim duab kos siv los ua haujlwm. Thaum kov lub sensor raug thawb, nws ua rau lub suab module thiab stepper lub cev muaj zog tib lub sijhawm.

Kauj Ruam 6: Muab Nws Ua Ke

Txhawm rau ua kom tiav txoj haujlwm, npaj cov cuab yeej thiab gizmos hauv lub npov kom thaum cov ntaub ntawv raug muab tso los ntawm lub hau, nws tuaj yeem txuas nrog lub tshuab stepper. Kuv hais kom gluing lub cav, kom nws tsis txhob sib cais los ntawm cov ntaub ntawv txhua lub sijhawm lub thawv tau txav mus. Qhov kov lub ntsej muag tau txais txawm tias lub qhov nyob hauv lub hau, tawm tsam "rab koob tuav", nruab nrab ntawm nws thiab rab koob. Txoj kev no, thaum rab koob raug thawb mus rau ntawm cov ntaub ntawv, nws qhib lub sensor.

Hauv qhov xwm txheej hloov pauv ntawm qhov xwm txheej, ib feem ntawm kuv cov ntaub ntawv tau tawg tawm, yog li tom qab kuv glued nws rov qab rau nws wobbles thaum nws tig. Tab sis kuv xav tias ntxiv rau qhov tseeb ntawm kuv cov ntaub ntawv ua si, zoo li cov yas yas qub ua qhov ntawd ib yam!

Kuv vam tias koj txaus siab rau Cov Lus Qhia no, thiab hmoov zoo rau txhua tus neeg uas txiav txim siab sim nws!

Pom zoo: