Arduino ile Çizgi İzleyen Robot

2017-10-19 1

In this tutorial, you will make line follower robot. This tutorial involves building a line follower robot with an QTR-8RC Reflectance Sensor Array.\r
\r
\r
Required Hardware:\r
\r
Arduino Board - \r
Motor Shield L293D - \r
QTR-8RC Reflectance Sensor\r
DC Motor and wheel x2 - \r
Bovine Wheel\r
Chassis\r
Battery 9V\r
Battery Buckle - \r
Wires - \r
Button\r
Glue Gun\r
\r
Recommended Shopping Site -- \r
Arduino Starter Learning Kit -- \r
Arduino Compatible Tools -- \r
Arduino Modules Boards -- \r
Professional Tools -- \r
3D Printer and Tools -- \r
Flash Deals for Electronic -- \r
Mobile Device Deals -- \r
\r
--------------------------------------------------------------------\r
\r
Assembly of the Chassis:\r
\r
1) The DC motors attach to the chassis\r
2) The Arduino attach to the chassis\r
3) The Motor Shield attach to the Arduino.\r
\r
About the Motor Shield:\r
- The motor controllers on this shield are designed to run from 4.5V to 25V.\r
- There are two places you can get your motor high voltage supply from. One is the DC jack on the Arduino board and the other is the 2-terminal block on the shield that is labeled EXT_PWR.\r
- To connect a motor, simply solder two wires to the terminals and then connect them to either the M1, M2, M3, or M4.\r
\r
4) The QTR-8RC Reflectance Sensor attach to the chassis.\r
\r
--------------------------------------------------------------------\r
\r
Connections : \r
\r
1) DC Motors connect to the Motor Shield\r
2) Left Motors connect to M1\r
3) Right Motors connect to M2\r
4) The QTR-8RC Reflectance Sensor Connections\r
\r
- The Sensor VCC connect to the Arduino +5V\r
- The Sensor GND connect to the Arduino Ground\r
- The Sensor pin 2 connect to the Arduino Analog 0\r
- The Sensor pin 3 connect to the Arduino Analog 1\r
- The Sensor pin 4 connect to the Arduino Analog 2\r
- The Sensor pin 5 connect to the Arduino Analog 3\r
- The Sensor pin 6 connect to the Arduino Analog 4\r
\r
5) Battery and on / off button connection\r
\r
- The (+) from the battery is connect to a leg of the button\r
- Connect a cable to the other legs of the button. This cable is for Motor Shield (+)\r
\r
6) Attach wheels\r
\r
--------------------------------------------------------------------\r
\r
Copy the Source Code and install the Library:\r
\r
1) Open the new Arduino IDE page and Delete everything on the page\r
2) Get the code from my blog page and Paste empty Arduino IDE page\r
3) First Install the Arduino Libraries\r
3.1) Install the AF_Motor Arduino library\r
\r
- Close the Arduino IDE\r
- Download the library;\r
\r
- Uncompress the ZIP file onto your desktop\r
- Place the AFMotor folder into your arduinosketchfolder/libraries folder\r
- Rename the uncompressed folder AFMotor\r
\r
3.2) Install the QTRSensors library\r
\r
- Download the library;\r
\r
- Rename the folder “qtr-sensors-arduino-xxxx” to “QTRSensors”\r
- Drag the “QTRSensors” folder into the “libraries” directory inside your Arduino sketchbook directory\r
\r
4) After installing the library, restart the Arduino IDE\r
5) Now you can see the libraries you have installed\r
6) When you verify, you will not see any errors\r
\r
--------------------------------------------------------------------\r
\r
Get the Source Code - \r
\r
--------------------------------------------------------------------

Free Traffic Exchange