Cov txheej txheem:

Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino: 4 Kauj Ruam
Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino: 4 Kauj Ruam

Video: Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino: 4 Kauj Ruam

Video: Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino: 4 Kauj Ruam
Video: Ntaj Nplaim Taws | Hmong Dubbed 2024, Kaum ib hlis
Anonim
Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino
Hluav Taws Sib Ntaus Neeg Hlau Siv Arduino

Niaj hnub no peb tab tom tsim Tus Hluav Taws Xob Hluav Taws Xob siv Arduino, uas yuav nkag siab qhov hluav taws kub thiab pib tso dej.

Hauv txoj haujlwm no, peb yuav kawm tsim tus neeg hlau yooj yim siv Arduino uas tuaj yeem txav mus rau qhov hluav taws thiab tso dej tawm ib puag ncig nws kom tso hluav taws.

Cov Khoom Yuav Tsum Tau:

  • Arduino UAS
  • Arduino Uno Sensor Shield
  • Nplaim sensor
  • L298N tsav tsav tsav
  • Neeg hlau chassis
  • 2 Tsav (45 RPM)
  • 5V Submersible Pump
  • Tib Channel Relay Module
  • Txuas xov hlau
  • 12v Rechargeable Roj Teeb
  • 9V Roj Teeb

Kauj Ruam 1: Arduino Sensor Shield V5

Arduino Sensor Shield V5
Arduino Sensor Shield V5
Arduino Sensor Shield V5
Arduino Sensor Shield V5

Arduino Sensor Shield yog lub rooj tsav xwm tus nqi qis uas tso cai rau koj txuas ntau qhov ntsuas ntawm koj lub Arduino siv yooj yim-rau-txuas jumper cables.

Nws yog lub rooj tsav xwm yooj yim uas tsis muaj hluav taws xob ntawm nws dua li ob peb tus tiv thaiv thiab LED. Nws lub luag haujlwm tseem ceeb yog txhawm rau muab cov header pins ua kom yooj yim dua rau txuas cov cuab yeej sab nraud zoo li peb cov servo motors.

Nta:

  • Arduino Sensor Shield V5.0 tso cai ntsaws thiab ua si txuas rau ntau yam qauv xws li cov ntsuas, servos, tso tawm, khawm, lub zog thiab ntau ntxiv
  • Haum rau Arduino UNO thiab Mega Boards
  • IIC sib tham
  • Bluetooth module kev sib txuas lus interface
  • SD daim npav module sib txuas lus sib tham
  • APC220 wireless RF module kev sib txuas lus sib tham
  • RB URF v1.1 ultrasonic sensors interface
  • 128 x 64 LCD parallel interface
  • 32 servo maub los interface

Koj tuaj yeem txuas tau yooj yim nrog cov cim ntsuas ib txwm los ntawm kev siv lub rooj nthuav dav no, xws li ntsuas kub. Cov 3-txoj kev txiv neej tus pin tso cai rau koj txuas rau servo motors.

Txhua yam yog ntsaws thiab ua si, thiab nws tau tsim los ua Arduino UNO sib xws. Yog li txhua yam koj yuav tsum ua yog nyeem cov ntaub ntawv los ntawm cov ntsuas hluav taws xob thiab tso tawm PWM los tsav cov servos los ntawm qhov program hauv arduino.

Qhov no yog qhov hloov tshiab tshaj plaws ntawm cov ntaub thaiv npog sensor hauv khw. Qhov kev txhim kho tseem ceeb tshaj nws qhov ua ntej yog lub zog siv. Cov ntawv no muab cov txuas hluav taws xob sab nraud yog li koj tsis tas yuav txhawj xeeb txog kev thauj khoom ntau dhau ntawm Arduino micro maub los thaum tsav tsheb ntau dhau thiab cov ntsuas hluav taws xob.

Yog tias koj tshem tus pin txuas ntawm ib sab ntawm lub hwj chim nkag, koj tuaj yeem siv nws sab nraud. Koj yuav tsum tsis txhob siv lub zog nrog ntau dua 5v lossis koj tuaj yeem ua kom puas rau arduino hauv qab.

Kauj Ruam 2: Nplaim Sensor & L298N Tsav Tsheb

Nplaim Sensor & L298N Tsav Tsav Tsheb
Nplaim Sensor & L298N Tsav Tsav Tsheb

Nplaim Sensor

Cov nplaim hluav taws xob ntsuas hluav taws xob uas muaj cov nplaim hluav taws xob (IR txais), tiv thaiv, lub tshuab hluav taws xob, lub zog hluav taws xob, thiab sib piv LM393 hauv kev sib xyaw ua ke. Nws tuaj yeem kuaj pom lub teeb pom kev deb nrog lub nthwv dej xws li 700nm txog 1000nm. Qhov deb-infrared nplaim taws sojntsuam hloov lub teeb pom kev zoo nyob rau hauv daim ntawv ntawm infrared lub teeb rau hauv kev hloov tam sim no. Qhov rhiab heev tau hloov kho los ntawm onboard sib txawv resistor nrog pom lub kaum sab xis ntawm 60 degrees.

Ua haujlwm voltage yog nruab nrab ntawm 3.3v thiab 5.2v DC, nrog cov digital tso tawm los qhia tias muaj lub teeb liab. Kev paub yog qhov ua tau zoo los ntawm LM393 tus neeg sib piv.

Nta:

  • Cov Duab Siab Zoo
  • Lub Sij Hawm Teb Ceev
  • Raug kho tau

Kev qhia tshwj xeeb:

  • Kev ntsuas hluav taws xob: 3.3v - 5v
  • Tshawb xyuas qhov ntau: 60 degrees
  • Digital/Analog tso zis
  • On-board LM393 nti

L298N Tsav tsheb

L298N yog ob tus H-Choj tsav lub cev uas tso cai rau kev nrawm thiab kev tswj ntawm ob lub tshuab DC tib lub sijhawm. Tus qauv tuaj yeem tsav DC lub cav uas muaj hluav taws xob nruab nrab ntawm 5 thiab 35V, nrog qhov siab tshaj tam sim no txog 2A.

Tus qauv muaj ob lub hau ntswj dav hlau thaiv rau lub cav A thiab B, thiab lwm qhov ntsia hlau dav hlau thaiv rau hauv av pin, VCC rau lub cev muaj zog thiab tus pin 5V uas tuaj yeem yog qhov nkag los lossis tso tawm.

Qhov no nyob ntawm qhov ntsuas hluav taws xob siv ntawm lub cav VCC. Tus qauv muaj lub onboard 5V tus tswj hwm uas tau qhib lossis xiam siv lub jumper. Yog tias lub tshuab hluav taws xob muab hluav taws xob ntau txog 12V peb tuaj yeem ua haujlwm rau 5V tus tswj hwm thiab 5V tus pin tuaj yeem siv los ua cov zis, piv txwv li txhawb peb lub Arduino pawg thawj coj saib. Tab sis yog tias lub tshuab hluav taws xob muaj zog ntau dua 12V peb yuav tsum txuas lub jumper vim tias cov hluav taws xob no yuav ua rau lub hauv paus 5V tus tswj kev puas tsuaj. Hauv qhov no 5V tus pin yuav raug siv los ua tswv yim raws li peb xav tau txuas nws mus rau 5V lub zog xa khoom kom IC ua haujlwm tau zoo.

Peb tuaj yeem sau tseg ntawm no tias IC no ua rau lub zog poob qis txog 2V. Yog li piv txwv, yog tias peb siv 12V lub zog xa khoom, qhov hluav taws xob ntawm lub tshuab hluav taws xob yuav yog txog 10V, uas txhais tau tias peb yuav tsis tuaj yeem tau txais qhov nrawm tshaj ntawm peb 12V DC lub cev muaj zog.

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Rau Kev Ua Haujlwm Tag Nrho Mus ntsib - Alpha Electronz

Pom zoo: