Cov txheej txheem:

Arduino Powered Sweeper Tsis Siv Neeg: 9 Cov Kauj Ruam
Arduino Powered Sweeper Tsis Siv Neeg: 9 Cov Kauj Ruam

Video: Arduino Powered Sweeper Tsis Siv Neeg: 9 Cov Kauj Ruam

Video: Arduino Powered Sweeper Tsis Siv Neeg: 9 Cov Kauj Ruam
Video: RANGER and EXPLORER safety inspection tutorial and Q&A 2024, Hlis ntuj nqeg
Anonim
Arduino Powered Tsis Siv Neeg Sweeper
Arduino Powered Tsis Siv Neeg Sweeper

Yog li muaj ib hnub kuv txiav txim siab yuav ib chav nyob tab sis nws kim heev rau kuv yog tub ntxhais kawm thiab tseem yog kuv qhov tseem ceeb tshaj yog kuv lub tsev kawm ntawv, thiab ib lub tswv yim ua rau kuv lub siab hais tias 'sib tw ua ib qho twg, Kuv muaj keeb kwm yav dhau los ntawm kev ua haujlwm thiab arduino yog vim li cas ho tsis?

Kauj Ruam 1: Cov Khoom Siv Tawm

Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud
Cov Khoom Siv Sab Nraud

Ib feem rau cov haujlwm tau teev tseg hauv qab no:

Arduino pro mini lossis ib qho board arduino

Kuv tsuas yog siv pro mini vim tias nws ua tau zoo dua thiab me dua

L298n tsav tsheb

Tus neeg tsav tsheb no yog siv los tsav ob lub cav ua kom lub zog sweeper

Thawb khaub ncaws

yog tias koj tsis paub dab tsi yog thawb khaub ncaws, nws zoo li khaub zig ntoo nrog ntau txhuam

thiab tig thaum koj thawb nws hla thiab sau cov av

2 DC txhuam cov cav

Kuv tsuas yog siv qee lub mis DC uas kuv tau txais los ntawm cov khoom ua si tawg

Ob Ultrasonic Sensors

kom nkag siab thiab zam kev phab ntsa thiab teeb meem

DC fais fab tuag

Txhawm rau them lub tsev txhab nyiaj

Fais fab txhab nyiaj

los muab lub zog xav tau rau pawg thawj coj thiab cov tsav tsheb

ob USB txiv neej cables

txuas mus rau lub txhab nyiaj fais fab

Kauj Ruam 2: Cov cuab yeej xav tau

Cov cuab yeej xav tau
Cov cuab yeej xav tau

Dremel cuab yeej

txiav thiab muab lub qhov qhov nws xav tau

Ib tug Soldering hlau

rau cov xov hlau txuas, tau kawg.

Pliers

txiav cov hlau thiab pab khoov cov xov hlau

phom phom (yeem)

tuav cov motors ua ke tab sis yog tias koj tsis tsuas yog siv zipties

Ntsia Hlau

kom nrawm thiab xoob cov ntsia hlau ntawm ob peb yam

Kauj Ruam 3: Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm

Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm
Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm
Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm
Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm
Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm
Nrhiav Qhov Chaw Muab Cov Motors thiab Sensors thiab Xim Txoj Haujlwm

Kuv kwv yees qhov twg los tso lub ntsuas cua los ntawm kev tso lawv saum toj no thiab kuv cim lub voj voos uas yuav tom qab ntawd txiav los ntawm dremel thiab thaum kuv nyob ntawm nws kuv pleev xim nws nrog xim hlau xim hlau tsuag

Kauj Ruam 4: Muab Qhov

Muab Qhov
Muab Qhov
Muab Qhov
Muab Qhov
Muab Qhov
Muab Qhov
Muab Qhov
Muab Qhov
  • Yog li kuv muab plaub lub qhov nyob rau hauv pem hauv ntej ntawm lub cev khaub hlab ob sab laug thiab ob sab xis rau lub ntsuas cua nkag mus
  • thiab kuv kuj tso ob lub qhov nyob rau hauv qab ntawm lub cev qis ntawm cov khaub ncaws rau cov motors nkag mus

Kauj Ruam 5: Ua Nws Txhua Qhov Ua Ke

Puttng Nws Txhua Qhov Ua Ke
Puttng Nws Txhua Qhov Ua Ke
Puttng Nws Txhua Qhov Ua Ke
Puttng Nws Txhua Qhov Ua Ke
Puttng Nws Txhua Qhov Ua Ke
Puttng Nws Txhua Qhov Ua Ke

Kuv kub glued tag nrho cov sensor thiab lub cev muaj zog rau lub cev, rau cov motors kuv muab tso rau hauv lub cev qis thiab txhawb nws nrog ntoo dowels yog li nws yuav tsis jiggle ib puag ncig. rau cov sensors kuv tseem kub glued lawv hauv lawv lub qhov kom zoo, kuv kuj tau ua lub rooj txiav tawm rau cov pro mini yog li nws yuav yooj yim dua rau xaim thiab teeb meem tua. thaum tus neeg tsav tsheb nyob ntawm lub hauv ntej ntawm lub tshuab nqus tsev

Kauj ruam 6: Code

cov cai tau ua hauv Arduino IDE thiab nws tau hloov kho ntxiv, tau kawg. yog tias koj xav rub tawm cov cai tsuas yog nyem qhov txuas hauv qab no. yog li muaj qhov rov ua dua ob feem ntawm cov cai hauv tus neeg ua haujlwm lub sijhawm, thawj feem txoj haujlwm yog kom tau txais cov ntaub ntawv tsim cov ntsuas kom cov pawg thawj coj tuaj yeem tshuaj xyuas nws thiab ntu thib ob txoj haujlwm yog muab lub cav uas tig thiab txav, qhov ntawd tsuas yog ob qho yooj yim. qhov yog tias koj xav paub tias kuv tau xa cov cai li cas, kuv tsuas yog siv arduino uno los upload

Kauj ruam 7: Hardwiring Nws

Hardwiring Nws
Hardwiring Nws
Hardwiring Nws
Hardwiring Nws
Hardwiring Nws
Hardwiring Nws
Hardwiring Nws
Hardwiring Nws

Kuv siv #12 ntsuas qhov txuas hlau txuas txhua yam rau nws qhov chaw raug. fritzing schematic yog muab saum toj no.

VCC thiab GND ntawm lub ntsuas hluav taws xob tau txuas nrog lub txhab nyiaj hluav taws xob uas muab 5 volts thiab txuas tus pin tus echo pin txuas nrog lawv cov pins tsim nyog. kuj tus pin rau kev tswj lub cev muaj zog tau hais tseg hauv txoj cai

Kauj Ruam 8: Kaw Nws

Kaw Nws
Kaw Nws

Kuv muab lub txhab nyiaj tso rau saum vim tias tsis muaj chaw rau ob lub txhab nyiaj loj hauv sab hauv kuv kuj tau muab tso rau ntawm lub hauv ntej kom ntxiv qhov hnyav li no tso ntau zog rau ntawm lub log pem hauv ntej uas yog tsav txhuam. kuv kuj tau muab txhua yam rov los dua

Kauj Ruam 9: Tiav Touches

qhov no yog cov kauj ruam kawg ntawm qhov kev qhia ntev no vam tias koj nyiam ua nws thiab xav tias yuav hloov kho thiab hloov pauv nws.

Pom zoo: