Cov txheej txheem:

Tsim Laser Tsav Los Ntawm Pawg Arduino.: 6 Kauj Ruam (nrog Duab)
Tsim Laser Tsav Los Ntawm Pawg Arduino.: 6 Kauj Ruam (nrog Duab)

Video: Tsim Laser Tsav Los Ntawm Pawg Arduino.: 6 Kauj Ruam (nrog Duab)

Video: Tsim Laser Tsav Los Ntawm Pawg Arduino.: 6 Kauj Ruam (nrog Duab)
Video: Nkauj Ntseeg | "Vajtswv Yog Tus Tswv ntawm Txhua Yam uas Tsim Los" (A Cappella) 2024, Lub Xya hli ntuj
Anonim
Tsim Laser Tsav Los Ntawm Pawg Arduino
Tsim Laser Tsav Los Ntawm Pawg Arduino
Tsim Laser Tsav Los Ntawm Pawg Arduino
Tsim Laser Tsav Los Ntawm Pawg Arduino

Cov lus qhia no yog txhawm rau txhim kho lub tshuab tsav laser los ntawm Arduino pawg thawj coj rau 5 mW Adafruit laser. Kuv xaiv pawg Arduino raws li kuv yuav xav tswj lub laser nyob deb ntawm kuv lub khoos phis tawj yav tom ntej. Kuv tseem yuav siv tus qauv Arduino tus lej los qhia seb ib tus neeg nrog kev paub me ntsis kev paub ua haujlwm tuaj yeem sawv thiab khiav sai npaum li cas. Txog qhov piv txwv no, Kuv muaj Intel® Galileo Gen2 board raws li ib puag ncig Arduino Uno nti.

Kauj Ruam 1: Laser Kev Nyab Xeeb thiab Ceev faj

Laser Kev Nyab Xeeb thiab Ceev faj
Laser Kev Nyab Xeeb thiab Ceev faj

Raws li cov lus qhia no yog ua haujlwm nrog cov khoom siv hluav taws xob thiab chav kawm 3R qhov chaw laser, ua raws li kev tiv thaiv kev nyab xeeb uas tsim nyog, xws li googles, hauv paus hauv paus, thiab kev nkag siab zoo.

Nws yog ib qho tseem ceeb kom nco ntsoov qee qhov kev ceev faj txog kev nyab xeeb ntawm laser ua ntej peb pib. Tsis txhob saib ncaj qha ntawm lub taub hau laser ntawm lub ntsej muag, lossis ib qho uas tau pom los ntawm daim iav. Tsis txhob saib lub laser qhov taub hau ntawm (lossis cuam tshuam) uas txuas nrog lub zog. Thaum sim nrog cov teeb pom kev zoo sib xws, tshwj xeeb tshaj yog thaum ua haujlwm nrog lub teeb pom kev tsis zoo, nws muaj peev xwm tsis paub tias lub cuab yeej ci ntsa iab thiab ua rau ib lub qhov muag puas. Cov lus qhia no tsuas yog ua haujlwm nrog pom lub teeb ntawm lub zog qis heev yog li nws tsis tshua muaj neeg ua rau tib neeg cov ntaub so ntswg puas tsuaj, txawm li cas los xij kev ceev faj yuav tsum tau hais thiab ua raws.

Kev nyab xeeb googles ntsuas rau lub laser wavelength, hauv peb cov ntaub ntawv 650 nm wavelength, xav tau.

Kauj ruam 2: Sau tag nrho cov Componets thiab Software

Sau tag nrho cov Componets thiab Software
Sau tag nrho cov Componets thiab Software

Sib sau tag nrho cov khoom mus rau qhov chaw huv huv tsis pub dawb.

1 Arduino lub rooj tsavxwm hauv paus thiab cov khoom siv hluav taws xob tsim nyog

1 usb cable xa cov ntaub ntawv los ntawm Arduino board mus rau lub khoos phis tawj tswj hwm (hauv kuv qhov xwm txheej: USB txiv neej rau txiv neej micro txiv neej cable)

1 laub khawm

1 qhov chaw laser

Laser kho vajtse kho vajtse (qee yam ntawm laser sawv ntsug, theem theem, lossis lub teeb tsheb kauj vab.)

1 teeb googles (rau ib tus neeg)

jumper cov kab

Nruab Arduino IDE lossis teeb tsa cov software tsim nyog los tswj Arduino board (Intel Galileo Gen 2) thiab cov khoom siv laser.

  • Nruab Arduino IDE:

    Kuv siv lub desktop IDE khiav ntawm High Sierra nrog Intel Core i7

Los yog

  • Teeb tsa Arduino IDE kom khiav hauv lub vev xaib:

    Kuv tsis ua tiav kom tau txais lub vev xaib IDE los ua ke thiab xa daim ntawv thov mus rau pawg thawj coj. Nws khaws pov tseg cov ntaub ntawv yuam kev feem ntau yuav cuam tshuam nrog Galileo board

Kauj Ruam 3: Kuaj Kev Sib Txuas Los ntawm Arduino Board thiab Computer

  1. Pib Arduino IDE
  2. Txuas lub USB cable los ntawm koj lub computer mus rau Arduino board.
  3. Xaiv pawg thawj coj thiab chaw nres nkoj tsim nyog yog tias tsim nyog.
  4. Xaiv Cov Cuab Yeej thiab Pawg Thawj Coj rub tawm -> Tus thawj tswj hwm pawg thawj coj

    ntaus Intel Galileo thiab nws yuav tsum cia li rub tawm cov tsev qiv ntawv tshiab kawg rau pawg thawj coj saib. Xaiv Nruab, ces Kaw

  5. Thauj lub khawm qhia.

    Los ntawm lub desktop IDE, xaiv Cov ntawv qhia zaub mov -> Piv txwv -> 02. Digital -> Khawm

www.arduino.cc/en/Tutorial/Button

Ntaus lub pob nyem txhawm rau txheeb xyuas, tom qab ntawd - -khawm xub kom rub tus lej tshiab rau Arduino

Yog tias ua tiav, koj yuav tsum pom cov nyees khawm nyem thiab ntsais.

Kauj Ruam 4: Sib dhos Cov Khoom Siv Hluav Taws Xob

Sib dhos Hardware Circuit
Sib dhos Hardware Circuit
Sib dhos Hardware Circuit
Sib dhos Hardware Circuit

Laub Khawm Kuaj:

Qhov no yog txhawm rau ntsuas qhov yooj yim Circuit Court ua haujlwm ua ntej ntxiv lub laser.

Txuas lub jumper los ntawm sab 5 Volt thiab txuas nws mus rau ib sab ntawm lub laub khawm.

Plug lub xaim dub rau hauv av thiab txuas nws mus rau lwm sab ntawm lub laub khawm.

Yog tias koj siv lub khob cij, nws tuaj yeem yooj yim li qhov no.

www.arduino.cc/en/Tutorial/Button

Kauj Ruam 5: Ntxiv Laser mus rau Circuit

Ntxiv Laser rau hauv Circuit
Ntxiv Laser rau hauv Circuit
Ntxiv Laser rau hauv Circuit
Ntxiv Laser rau hauv Circuit
Ntxiv Laser rau hauv Circuit
Ntxiv Laser rau hauv Circuit

Txhawm rau tsav lub laser, Kuv tau siv txoj cai no: khawm khawm txuas los ntawm qhov piv txwv. Cov qauv piv txwv no tseem tau khaws tseg ua cov ntawv txuas rau theem no.

Thaum koj paub txhua yam ua haujlwm raws li lub hom phiaj xav tau, koj tuaj yeem tua lub cuab yeej thiab txuas lub laser.

Hlau nws zoo li schematic saum toj no lossis pom ntawm no. Plug lub laser inline nruab nrab ntawm lub laub khawm thiab hauv av.

Kauj ruam 6: Pib Laser

Image
Image

Xaiv upload hauv IDE thiab xa Arduino code rau pawg thawj coj.

Koj yuav tsum pom cov lus uas hais tias hloov pauv tiav thiab lub laser yuav ci.

Txoj cai no teeb lub laser kom pom ntawm txhua lub pob thib peb nias, raws li qhia hauv video.

Ua tsaug rau koj saib thiab nyeem txog yuav siv Intel Intel Galileo Gen 2 tus qauv tsim qauv tsav lub tshuab laser me me. Zoo siab ua!

Pom zoo: