Cov txheej txheem:

Pheej Yig IR Sib Raug Zoo rau Arduino Robots: 6 Cov Kauj Ruam (nrog Duab)
Pheej Yig IR Sib Raug Zoo rau Arduino Robots: 6 Cov Kauj Ruam (nrog Duab)

Video: Pheej Yig IR Sib Raug Zoo rau Arduino Robots: 6 Cov Kauj Ruam (nrog Duab)

Video: Pheej Yig IR Sib Raug Zoo rau Arduino Robots: 6 Cov Kauj Ruam (nrog Duab)
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim
Pheej Yig IR Sib Raug Zoo rau Arduino Robots
Pheej Yig IR Sib Raug Zoo rau Arduino Robots

Cov duab hluav taws xob nyob ze qhov muag me me, ua tau yooj yim, thiab pheej yig heev! Lawv ua haujlwm zoo ntawm cov neeg hlau, rau kab hauv qab no, kev nkag siab ntawm ntug, thiab kev hnov qab deb tsawg. Lawv kuj tseem kim heev, pheej yig heev!

Kauj Ruam 1: Piav Qhia: Lawv Ua Haujlwm Li Cas

Piav Qhia: Lawv Ua Haujlwm Li Cas
Piav Qhia: Lawv Ua Haujlwm Li Cas

Nyob rau hauv rooj plaub koj tsis paub, Kuv yuav luv luv mus li cas infrared sensors ua haujlwm. Yog tias koj paub, tsis txhob hla cov kauj ruam no.

Infrared proximity sensors muaj ob ntu, tus xa tawm thiab tus txais. Tus emitter yog lub teeb me me uas tso tawm Infrared lub teeb nthwv dej, uas peb tsis tuaj yeem pom. Txawm li cas los xij, tus txais yuav tuaj yeem ntsuas los ntawm lub zog ntawm lub teeb pom kev zoo, peb tuaj yeem qhia yog tias muaj qee yam nyob ntawd lossis tsis yog, ntsuas qhov nrug me me, thiab qhia seb lub ntsej muag dub lossis dawb.

Cov no ua haujlwm tau zoo hauv feem ntau, tab sis yuav poob qis hauv qee kis, xws li thaum pom qhov deb mus rau qhov tsis pom kev, xws li ntawv dub.

Qhov no yog tib lub hauv paus ntsiab lus zoo li ntau qhov sib thooj sib xws, txawm hais tias cov ntsuas sib txawv siv ntau hom kev siv zog. Ultrasonic sensors siv lub suab, LIDAR sensors siv lasers, thiab Radar siv xov tooj cua yoj.

Kauj Ruam 2: Cov Khoom Siv: Cov Khoom thiab Cov Cuab Yeej

Cov Khoom Siv: Cov Khoom thiab Cov Cuab Yeej
Cov Khoom Siv: Cov Khoom thiab Cov Cuab Yeej

Nov yog cov npe khoom thiab cov khoom koj xav tau:

(Cov kev txuas rau ntu yog nyob ntawm eBay)

  • TCRT5000L Infrared sensors (qhov txuas no txaus rau 10 sensors)
  • DuPont poj niam-rau-poj niam jumper xov hlau (40 xov tooj tag nrho, muaj xov hlau ntau ntxiv thaum koj ua tiav)

Cov Cuab Yeej:

  • Soldering Hlau nrog cov lus qhia zoo (7 $ hlau uas kuv tau siv ntau yam, lawv ua tau zoo tiag tiag)
  • Solder (Hlau txuas los nrog qee qhov)
  • Ib yam dab tsi los tuav lub ntsuas hluav taws xob nyob hauv qhov chaw thaum siv lub tshuab ziab khaub ncaws (Kuv siv daim npog ntsej muag, tab sis kev pab txhais tes yuav ua haujlwm zoo dua)
  • Hlau txiav/strippers

Tag nrho cov nqi yog $ 2.22, thiab koj yuav muaj txaus rau 10 lub ntsuas pa, ntxiv rau cov xov hlau uas tseem tshuav.

Kuv yuav tsum nco ntsoov tias kev xa khoom ntawm cov khoom sib txuas yog kev lag luam los ntawm Tuam Tshoj, yog li lawv yuav siv sijhawm tsawg kawg ib hlis los cuag koj. Koj tuaj yeem pom Asmeskas cov npe nrog xa khoom sai, tab sis lawv yuav kim me ntsis.

Kauj Ruam 3: Cov xov hlau: Txiav, Sawb, 'n Tin

Cov xov: Txiav, Sawb, 'n Tin
Cov xov: Txiav, Sawb, 'n Tin
Cov xov: Txiav, Sawb, 'n Tin
Cov xov: Txiav, Sawb, 'n Tin
Cov xov: Txiav, Sawb, 'n Tin
Cov xov: Txiav, Sawb, 'n Tin

Cia peb pib nrog npaj cov xov hlau.

  1. Cais 3 cov xov hlau rau txhua 2 lub ntsuas cua uas koj npaj yuav ua
  2. Txiav koj cov xov hlau ib nrab
  3. Sawb txog 5MM lossis 1/4 "rwb thaiv tsev tawm ntawm qhov kawg
  4. Tin koj cov hlau txuas nrog me ntsis ntawm cov laug, thiab xaim cov xaim xaus los ntawm kev tuav cov xov hlau hla cov laug, thiab siv cov hlau txuas rau saum.

Nco tseg rau tinning: Nws ua haujlwm tau zoo dua thaum koj siv cov hlau txuas rau cov xov hlau, thiab tom qab ntawd cov xov hlau txuas rau lub tshuab ziab khaub ncaws, piv rau cov hlau rau cov laug. Qhov no ua kom ntseeg tau tias cov cua sov tau hloov pauv mus rau xaim, yog li ua kom ntseeg tau tias cov laug txuas rau hauv cov xov hlau kom raug.

Kauj Ruam 4: Sensors: Npaj Leads

Sensors: Npaj Leads
Sensors: Npaj Leads
Sensors: Npaj Leads
Sensors: Npaj Leads
Sensors: Npaj Leads
Sensors: Npaj Leads

Tam sim no peb yuav ua haujlwm ntawm kev npaj cov ntsuas ntsuas. Koj tuaj yeem tso cov lus qhia ntev yog tias koj nyiam, tab sis nws tsis tsim nyog.

  1. Txiav cov coj kom muaj li 5MM lossis 1/4 "nthuav tawm los ntawm lub cev yas lub cev
  2. Khoov GND cov hlau lead los ntawm Blue IR LED hla yog li nws kov GND cov hlau lead ntawm cov dub txais LED.
  3. Ruaj ntseg lub sensor li cas, tom qab ntawd muab ob lub GND coj ua ke.
  4. Txij ntawm no mus, koj tuaj yeem ntxiv cov kab laug sab ntxiv rau cov hlau lead tseem raug nthuav tawm, kom yooj yim dua txuas cov xov hlau tom qab.

Nco ntsoov tias koj tau txais kev taw qhia thiab tus pin raug, txwv tsis pub koj lub sensor tsuas tsis ua haujlwm.

Kauj Ruam 5: Cov Xov: Txuas Lawv

Cov xov hlau: Txuas lawv!
Cov xov hlau: Txuas lawv!
Cov xov hlau: Txuas lawv!
Cov xov hlau: Txuas lawv!

Cia peb ntxiv qee cov xov hlau kom peb tuaj yeem txuas nws mus rau lub khob cij!

  1. Cais koj cov xaim xaus kom muaj li 2.5CM lossis 1 "pub dawb rau txhua lub xaim
  2. Pib soldering cov xov hlau, ib qho zuj zus, rau txhua tus hlau lead ntawm ib sab. Kev pab tes yuav ua rau ntu no yooj yim dua, tab sis kuv pheej yig heev los them rau cov khoom kim heev.
  3. Thaum koj ua tiav, tig lub ntsuas cua hla thiab ua rau lwm sab.

Nco tseg: Txij li DuPont Cov Xov Paj tau xim tsis xwm yeem, nws tsis yooj yim los lo nrog lub rooj sib tham xim, yog li kuv tsuas yog xav kom ua kom zoo ib yam ntawm cov khub sensor. Kuv feem ntau sim ua lawv nyob rau hauv kev txiav txim, nrog GND, Sense, thiab tom qab ntawd +5V, nrog rau qhov tsaus ntuj kawg xim yog GND.

Pom zoo: