Arduino Agv With Infared Sensors Powered by Wind

by 創杰邱 in Workshop > Cars

3477 Views, 10 Favorites, 0 Comments

Arduino Agv With Infared Sensors Powered by Wind

圖片1.jpg
video 1493553626 online video cutter com

This is a application of arduino.We make a line-following toy car,using the wind for thrusting.The car can turn and go straight along the line.Our motivation is eager to catch on the train trend that AGV is becoming more an more popular. It is a basic level of AGV,and is also a commencement of our future work.

All Material Needed

18362177_120300003615133469_306353410_o.jpg

Servo Motor

Brushless motor ESC

Arduino UNO

紅外線避障模組IR sensor*5

fan

wheel*4

Breadboard

Jumper wires

Setup

圖片2.png

Connect a red wire from the 5V pin on the Arduino to the positive channel of the breadboard.

Connect a black wire from the GND pin on the arduino to the negative channel of the breadboard

IR sensor pin

dRR (最右側IR腳位) = pin 8
dR (右側IR腳位)=pin 6

dM (中間IR腳位 )=pin11

dL (左側IR腳位 )=pin1

dLL (最左側IR腳位)=pin 5

servo_pin = pin 10

ESC控制訊號 = pin 9

Create the Chassis and the Steering Wheels

擷取.PNG
擷取1.PNG

1. The servo motor ,Arduino,ESC,battery,,breadboard,attach to the chassis.

2.The servo motor attach to the linkage mechanism linking two front wheels for changing direction.

About the ESC and the Dc Motor

18378849_120300003625915917_980109403_o.jpg

The ESC is used to control the speed of the brushless DC motor,and is connected to brushless DC motor,11.1V -battery,and arduino with pin 9.However,there is no need to connect the 5v on the arduino,because it is powered by the more powerful battery.

About the Fan

18379245_120300003630811129_1750223775_o.jpg

Using 3D printer to create a fan as the source of thrusting power is quite easy and efficient.Remember to create a hole of 3mm diameter on the axis.And then hook it up to the dc motor.

Copy the Code and Install the Arduino Libraries

圖片3.png

Open the new Arduino IDE page and Delete everything on the page

Get the code and Paste empty Arduino IDE page.

We set up a lot of cases in advance so that if the IR sensors meet the case,the car can do the accurate motion as we wish.

Downloads