background image

 

14)

 

Program upload 

Well, take off the USB cable, put your robot on the ground and see what will happen, it avoid the 

obstalce itself, doesn’t it? 

 

4.Pin Map of Connecting 

Line follow sensor

 

A0--IR0 

No.1 count from the left

 

A1--IR1 

No.2 count from the left

 

A2--IR2 

in middle

 

A3--IR3 

No.2 count from the right

 

A4--IR4 

No.1 count from the right

 

 

Follow light: A5 

 

Motors 

D5-- PWM control from left motor          D12--EN1          direction control from left motor 

D6-- PWM control from right motor        D7--EN2            direction control from right motor 

 

RGB LED : D10 

 

Infrared obstacle avoidance

 

Download Button 

Download Successfully 

Содержание MiniQ II

Страница 1: ...tteries USB cable 2 Introduction First of all congratulations to you for getting such an attractive robot This is an interesting and fully functioning robot at the same time it also can help you learn...

Страница 2: ...2 LEDs on the bottom of MiniQ II Components on the car 3 Components and their locations...

Страница 3: ...simple song 8 Controller runs your code 9 Motor can be controlled to run forward or backward so that the car can turn left or right freely 10 Reset button Reset the robot the program in the robot wil...

Страница 4: ...age You should download the right version to fit your system of your computer take windows for example if you finish the download and open the software you will see 6 ArduinoIDE OK connect miniQ to yo...

Страница 5: ...ou will see the leds on the bottom of the MiniQ will be ligthed this shows that the robot gets power successfully Next step install the driver Open the device manager Right click my Computer Propertie...

Страница 6: ...driver you can install it by windows itself but it is faster do it yourself right click Arduino Leonardo Browse my computer for driver software C arduino 1 0 4 windows arduino 1 0 4 drivers Next you w...

Страница 7: ...on above open the Arduino IDE you will see 11 Arduino Serial Port Click Tools Board to choose Leonardo and Tools Serial Port to choose the port Now open the file ObstacleAvoidance ino 12 You need to o...

Страница 8: ...13 Program has bee opened Click the upload button and wait for the the message below...

Страница 9: ...No 1 count from the left A1 IR1 No 2 count from the left A2 IR2 in middle A3 IR3 No 2 count from the right A4 IR4 No 1 count from the right Follow light A5 Motors D5 PWM control from left motor D12 E...

Страница 10: ...nsmitter D13 IRL left transmitter sensor D8 IRR right transmitter sensor Receiver D17 IRS receiver sensor Receiver IRS D17 Button D4 Encoder D0 INT2 Right Motor D1 INT3 Left Motor Buzzer D16 MOSI Buzz...

Отзывы: