background image

 

 

 

9 

29 

 

1Pair 18650 

batteries 

(Optional) 

  

Click here to 

buy 

30 

 

9V Battery Box             

(Optional) 

  

Click here to 

buy 

31 

 

9V Battery                                       

(Not including) 

  

Click here to 

buy 

32 

 

M3*10 Hex 

Screws 

10 

  

  

33 

 

M3*10 screw 

  

  

34 

 

M3 nut 

  

  

35 

 

Copper pillar 

  

  

36 

 

Screw for wheel 

  

  

37 

 

M3 plastic 

screw 

18 

  

  

Summary of Contents for V2.1

Page 1: ...OSOYOO V2 1 Robot Car Kit for Arduino Online Tutorial Index https osoyoo com p 32220 If you have any problem please feel free to contact us our email address is support osoyoo info ...

Page 2: ...tion 19 Software Installation 24 Final Testing 26 OSOYOO V2 1 Robot car kit Lesson 2 IR Remote Control Robot Car 28 Objective 28 Parts and Devices 28 Hardware Installation 29 Software Installation 30 Testing 32 Trouble shooting 33 OSOYOO V2 1 Robot car kit Lesson 3 Object follow Robot car 35 Objective 35 Parts and devices 35 Hardware installation 36 Software installation 39 Adjust the sensitivity ...

Page 3: ...t Car 60 Objective 60 Parts and Devices 60 Hardware Installation 62 Software Installation 66 A STA mode 69 B AP mode 70 Final testing 71 Osoyoo V2 1 Robot Car Lesson 7 Imitation Driving with Bluetooth APP 73 Objective 73 Parts and Devices 73 Hardware Installation 74 Software Installation 76 Explanation of APP UI 78 Drive your Robot Car 79 Arduino V2 1 Robot Car Lesson 8 Fighting Game 81 Objective ...

Page 4: ... due to the risk of fire and malfunction About OSOYOO OSOYOO brand owned by Pinetree Electronics Ltd the only Canadian Owned Science Fair Supplier Circuit Builder IOT Autonomous Smart Machine Home Electronics Workshop and Arduino Accessory Company Pinetree Electronics Ltd established since 2009 in Vancouver Canada We are Engineers and Programmers Ourselves So We Know How Important It Is to CREATE ...

Page 5: ...torial PDF download link https osoyoo com manual V2 1robotcar pdf Customer Service and Tech Support You have following two options to ask for help 1 Leave comments on our tutorial https osoyoo com p 32220 2 Send email to support osoyoo info We guarantee that all inquiries will be replied in 24 hours ...

Page 6: ...low the step by step instruction and gradually become a master Our robotic car is 100 open source If you are an intermediate player and have time to read our code comments you can easily customize this robotic car to make your own project for science fair college homework or even commercial applications This kit contains module parts including OSOYOO MODEL X motor driver module Ultrasonic Sensor m...

Page 7: ...d 1 click here Click here to buy 2 OSOYOO Uart WiFi shield V1 3 1 click here Click here to buy 3 OSOYOO model X motor driver module 1 click here Click here to buy 4 Voltage meter 1 click here Click here to buy 5 IR receiver 1 click here Click here to buy 6 IR remote controller 1 click here Click here to buy 7 Ultrosonic Sensor 2 click here Click here to buy 8 Tracking sensor module 1 click here Cl...

Page 8: ...o buy 12 Buzzer Sensor Module 1 click here Click here to buy 13 HC module 1 click here Click here to buy 14 IR transmitter 1 Click here to buy 15 Gear motor 4 Click here to buy 16 Metal Motor Holders with screws 4 Click here to buy 17 Wheel 4 Click here to buy 18 Upper car chassis 1 Click here to buy ...

Page 9: ...buy 22 OSOYOO 2pin PnP cable 20cm 1 Click here to buy 23 20Pin jumper wire Male to female 20cm some Click here to buy 24 7pin 25cm Female to Female Cable 1 Click here to buy 25 Philips screwdriver 1 Click here to buy 26 Hex Screwdriver 1 Click here to buy 27 18650 battery box 1 Click here to buy 28 Battery charger for 18650 battery Optional 1 Click here to buy ...

Page 10: ...nal 1 Click here to buy 30 9V Battery Box Optional 1 Click here to buy 31 9V Battery Not including 1 Click here to buy 32 M3 10 Hex Screws 10 33 M3 10 screw 4 34 M3 nut 4 35 Copper pillar 5 36 Screw for wheel 4 37 M3 plastic screw 18 ...

Page 11: ...nite possibilities on what you can achieve using simple microcontroller based products Learning how to program using the Arduino platform is a never ending process We believe with this hardware software support you are able to become expert programmer developer very soon So don t waste time just get this kit and start your project right away Lesson 1 what is Arduino link https osoyoo com p 11341 L...

Page 12: ...earn Arduino programming and get hands on experience on robot design and assembly We have developed a step by step tutorial which evolves from a simple car without any control to a multi function robotic car controlled by mobile APP Every lesson has detailed sample code with comments circuit graph assembly instruction and video Even if you have no programming experience you can follow the step by ...

Page 13: ...sson it means Arduino voltage meter motor control module motors batteries chassis and wire connections between these parts are all functioning well As your experiments in future lessons are all based on frame work of Lesson One it is very important to test the installation and sample code in this Lesson properly Please enter the link to watch the video https www youtube com watch v TIk8UDdEtJY lis...

Page 14: ...ick here Click here to buy 3 OSOYOO model X motor driver module 1 click here Click here to buy 4 Voltage meter 1 click here Click here to buy 5 Gear motor 4 Click here to buy 6 Metal Motor Holders with screws 4 Click here to buy 7 Wheel 4 Click here to buy 8 Upper car chassis 1 Click here to buy 9 Lower car chassis 1 Click here to buy ...

Page 15: ...YOO 2pin PnP cable 20cm 1 Click here to buy 13 Philips screwdriver 1 Click here to buy 14 Hex Screwdriver 1 Click here to buy 15 18650 battery box 1 Click here to buy 16 Battery charger for 18650 battery Optional 1 Click here to buy 17 1Pair 18650 batteries Optional 1 Click here to buy 18 9V Battery Box Optional 1 Click here to buy ...

Page 16: ...y Not including 1 Click here to buy 20 M3 10 Hex Screws 10 21 M3 10 screw 4 22 M3 nut 4 23 Copper pillar 5 24 Screw for wheel 4 25 M3 plastic screw 9 26 M3 plastic pillar 10 27 M3 plastic nut 10 Hardware Installation ...

Page 17: ...ch car chassis has one protective film 2 Fix 4 motors with Metal Motor Holders as follow Please check the motor derection before installing metal motor holders 3 Fix 4 motors on lower car chassis with screw M3 10 hex screws via hex screwdriver screws in metal motor holder package ...

Page 18: ... sure you install the OSOYOO MODEL X motor driver module in correct direction 5 Install voltage meter on low car chassis with 2pcs M3 plastic screws plastic pillars and plastic nuts 6 Fix OSOYOO UNO R3 board on upper car chassis with 4pcs M3 plastic screws plastic pillars and plastic nuts Please install UNO R3 board at the side with printer ...

Page 19: ...as the power If you want to use 9V battery as the power please use rechargeable 9V battery Don t use Carbon zinc battery as this can t provide enough current for the robot car A Fix this Battery Box on upper chassis with 4pcs M3 x 10 screws and M3 nuts B Please install this Battery Box on upper chassis with 4pcs M3 x 10 screws and M3 nuts These are the same as screws and nuts for 18650 battery box...

Page 20: ...19 8 Insert OSOYOO Uart WIFI shield V1 3 onto your UNO board Connection 1 Connect 4 motors to OSOYOO MODEL X motor driver module K1 to K4 sockets as per following graph ...

Page 21: ...20 2 Connect Voltage Meter to OSOYOO MODEL X motor driver module with 3pin female to female jumper wire as below connection diagram ...

Page 22: ...EL X motor driver module 6 control pins to OSOYOO Uart WiFi shield V1 3 D6 D7 D8 D9 D11 D12 with 6pin male to 6pin female jumper wire and 12V GND socket to VIN GND socket with OSOYOO 2pin PnP cable 20cm as per following graph ...

Page 23: ...d the plastic pin holder to do operation Never drag the wires to pull the plug out of the socket otherwise it will damage the wires 4 Connect battery box battery box for 18650 batteries or for 9V battery to VIN GND socket of OSOYOO Uart WiFi shield V1 3 according below connection diagram ...

Page 24: ...23 5 Connect upper chassis to lower chassis with five copper pillars and fix copper pillars with 10pcs M3 10 hex screws then install 4 wheels onto the motors ...

Page 25: ...tware IDE Download Arduino IDE here https www arduino cc en Main Software setlang en 7 zip is a free zip utility that un zips zip files Download 7zip here for free https www 7 zip org Step 1 Install latest Arduino IDE If you have Arduino IDE version after 1 1 16 please skip this step Download Arduino IDE from https www arduino cc en Main Software setlang en then install the software ...

Page 26: ...tcar lesson1 zip you will see a folder called v2smartcar lesson1 Step 3 Connect Arduino UNO to PC with USB cable Open Arduino IDE click file click Open choose code v2smartcar lesson1 ino in smartcar lesson1 folder load the code into arduino Step 4 Choose corresponding board port for your project upload the sketch to the board ...

Page 27: ...stall your 18650 batteries in battery box for 18650 as per following instruction Disconnect Arduino from PC put battery into battery box When you put the car on the ground and turn on the switch on OSOYOO Uart WIFI shield V1 3 and the switch on battery box if you install battery box for 18650 the car should go forward 2 seconds then go backward 2 seconds then left turn for 2 seconds then right tur...

Page 28: ...27 ...

Page 29: ... we will use a Infrared Remote to control the car movements including go forward go back left turn and right turn Please enter the link to watch the video https www youtube com watch v eSu8XfcTsEk list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 3 t 0s Parts and Devices No Picture Device Qty Data sheet Buy in Link 1 IR receiver 1 click here Click here to buy 2 IR remote controller 1 click here Click ...

Page 30: ...k as per Smart Car Lesson 1 If you have already completed installation in Lesson 1 just keep it as is Step 2 Add an IR receiver module onto the car Install the IR receiver module with 2pcs M2 5 10 plastic screws M2 5 plastic pillars and M2 5 plastic nuts at the front of upper chassis Step 3 Connect the S pin in IR receiver to D10 pin in UNO board GND to GND VCC to 5V as the following photo Remembe...

Page 31: ...uino cc en Main Software setlang en 7 zip is a free zip utility that un zips zip files Download 7zip here for free https www 7 zip org Step 1 Install latest Arduino IDE If you have Arduino IDE version after 1 1 16 please skip this step Download Arduino IDE from https www arduino cc en Main Software setlang en then install the software ...

Page 32: ...o IDE Open Arduino IDE click Sketch Include Library Add Zip Library Step 3 Download Lesson 2 IRremote smart car sample code fromhttps osoyoo com driver v2smartcar lesson2 zip and unzip the download zip file smartcar lesson2 zip you will see a folder called smartcar lesson2 Step 4 Connect UNO R3 board to PC with USB cable Open Arduino IDE click file click Open choose code smartcar lesson2 ino in sm...

Page 33: ...32 Step 5 Choose corresponding board and port for your project upload the sketch to the board Testing Press IR controller keys to control the car movements as per following instruction table ...

Page 34: ...rder to solve this problem Please take following steps Step A Get the IR code of each button in your IR remote Copy code from following link https osoyoo com wp content uploads samplecode irdemo ino Upload above sketch into your Arduino and open the serial monitor in your upper right corner Press the OK button in your remote you will see their IR code as following picture ...

Page 35: ...troller button define IR_STOP 0x00FF38C7 code from IR controller OK button define IR_turnsmallleft 0x00FFB04F code from IR controller button Please change the value of each button in above lines to match the code from Step A If you don t know how to change just Send Email to us and give us the code of each button from Step A I can help you to change the code and email new sketch file to you Above ...

Page 36: ...based on IR detection object The car receives the signal from the IR Obstacle Avoidance module and then the program will drive the car to take actions You must complete lesson 1 assembling the car before you continue on with this lesson Please enter the link to watch the video https www youtube com watch v 7 mrbLRUjjc list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 4 t 0s Parts and devices No Pictur...

Page 37: ... M3 plastic nut 2 Hardware installation Step 1 Install the smart car basic frame work as per Smart Car Lesson 1 If you have already completed installation in Lesson 1 just keep it as is Step 2 Remove the screws on copper pillars and add 2pcs IR Obstacle Avoidance modules onto the car Install the IR Obstacle Avoidance modules with 2pcs M3 plastic screws M3 plastic pillars and M3 plastic nuts at the...

Page 38: ...37 Step 3 Connect 2pcs IR Obstacle Avoidance modules as below diagram Remember DO NOT remove any existing wires installed in Lesson1 ...

Page 39: ...38 Step 4 Fix the screws on copper pillars to connect upper chassis to lower chassis ...

Page 40: ...ter 1 1 16 please skip this step Download Arduino IDE from https www arduino cc en Main Software setlang en then install the software Step 2 Download Lesson One sample code from https osoyoo com driver v2smartcar lesson3 zip unzip the download zip file v2smartcar lesson3 zip you will see a folder called v2smartcar lesson3 Step 3 Connect Arduino UNO to PC with USB cable Open Arduino IDE click file ...

Page 41: ...40 Step 4 Choose corresponding board port for your project upload the sketch to the board ...

Page 42: ...ndictor is always on even though the object is over detection distance you also need to adjust the potentiometer Final testing Turn on the car move object or your hand ahead of car and then the car will move accordingly looks like you pull it It goes forward when both IR Obstacle Avoidance modules detect object or your hand it turns right when the right IR Obstacle Avoidance modules detect object ...

Page 43: ...42 car all movement directions are contrary to other courses 2 The car can only move forward turn right and turn left but cannot move backward ...

Page 44: ...e not completed installation in Lesson 1 please review Lesson 1 The software in this lesson will read data from these 5 channel black white tracking sensor module and automatically guide the smart car to move along the black track line in the white ground Please enter the link to watch the video https www youtube com watch v cHQxxtyltZI list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 5 t 0s ...

Page 45: ...in Link 1 Tracking sensor module 1 click here Click here to buy 2 7pin 25cm Female to Female Cable 1 Click here to buy 3 Philips screwdriver 1 Click here to buy 4 Hex Screwdriver 1 Click here to buy 5 M3 plastic screw 2 6 M3 plastic pillar 2 7 M3 plastic nut 2 ...

Page 46: ... 2 Install tracking sensor modules under lower car chassis with 2pcs M3 plasctic screws M3 plastic pillars and M3 plastic nuts Step 3 Connect GND VCC pin of tracking sensor module to GND 5V of OSOYOO Uart WiFi shield V1 3 connect IR1 IR2 IR3 IR4 IR5 pins to A0 A1 A2 A3 A4 with 7pin 25cm female to female cable as the following photo shows Remember DO NOT remove any existing wires installed in Lesso...

Page 47: ...tware setlang en 7 zip is a free zip utility that un zips zip files Download 7zip here for free https www 7 zip org Step 1 Install latest Arduino IDE If you have Arduino IDE version after 1 1 16 please skip this step Download Arduino IDE from https www arduino cc en Main Software setlang en then install the software ...

Page 48: ...e download zip file smartcar lesson4 zip you will see a folder called smartcar lesson4 Step 3 Connect UNO R3 board to PC with USB cable Open Arduino IDE click file click Open choose code smartcar lesson4 ino in smartcar lesson4 folder load the code into arduino Step 4 Choose corresponding board port for your project upload the sketch to the board ...

Page 49: ...es Turn on and hold the car and adjust the potentiometer on the tracking sensor with Philips screwdriver until you get the best sensitivity status the signal indicate LED light will turn on when sensor is above black track and the signal LED will turn off when the sensor is above white ground Testing ...

Page 50: ...an 30mm in white ground Please note the bend angle of track can t be larger than 90 degree If the angle is too large the car will move out of the track Turn on the car and put the middle of tracking sensor module facing over black track and then the car will move along the black track ...

Page 51: ...r and measure the distance If the distance is less than predefined threshold value the buzzer will beep and the car will turn around from the obstacle automatically You must complete lesson 1 assembling the car before you continue on with this lesson Please enter the link to watch the video https www youtube com watch v cHQxxtyltZI list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 5 t 0s Parts and Dev...

Page 52: ...ere Click here to buy 3 Mount Holder for Ultrasonic Sensor 1 Click here to buy 4 Buzzer Sensor Module 1 click here Click here to buy 5 Philips screwdriver 1 Click here to buy 6 Hex Screwdriver 1 Click here to buy 7 20Pin jumper wire Male to female 20cm some 8 M3 plastic screw 1 ...

Page 53: ...asic frame work as per Smart Car Lesson 1 If you have already completed installation in Lesson 1 Everything keep it as is except move ENA from D9 to D3 we need D9 for Servo control If you have installed Lesson 2 or 3 please remove the wires If you have installed Lesson 4 please keep it Step 2 Install servo motor at the front of upper car chassis with 2pcs M2 2 8 Self Tapping Screws ...

Page 54: ...53 Step 3 Install Ultrasonic Module to mount holder with 4pcs M1 4 8 screw and M1 4 nuts Step 4 Install mount holder for Ultrasonic Module on servo motor with M2 4 Self Tapping screw ...

Page 55: ...zzer module at the back of upper chassis with 1pc M3 plastic screw M3 plastic pillar and M3 plastic nut Step 6 Connect SG90 servo motor OSOYOO MODEL X motor driver module and OSOYOO Uart WiFi shield V1 3 as following graph ...

Page 56: ...p 7 Connect ultrasonic module Buzzer module with OSOYOO Uart WiFi shield V1 3 as below connection diagram Step 8 Fix the screws on copper pillars to connect upper chassis to lower chassis if you remove these ...

Page 57: ...rsion after 1 1 16 please skip this step Download Arduino IDE from https www arduino cc en Main Software setlang en then install the software Step 2 Download sample code fromhttps osoyoo com driver v2smartcar lesson5 zip unzip the download zip file smartcar lesson5 zip you will see a folder called v2smartcar lesson5 Step 3 Connect Arduino UNO to PC with USB cable Open Arduino IDE click file click ...

Page 58: ...57 Step 4 Choose corresponding board port for your project upload the sketch to the board ...

Page 59: ...ng the long beep the sensor should face front same as following picture If its direction is not straight forward turn off battery and do direction alignment again Final Testing After turning on the battery switch on the battery box if the ultrasonic module turn to front view position that means you no need adjust sensor position anymore Just wait 5 seconds If no obstacle is detected the car will g...

Page 60: ...59 as per link Ultrasonic sensor servo initial direction alignment ...

Page 61: ... Internet This is a typical Internet of Things IoT Application You must complete lesson 5 before you continue on with this lesson Please enter the link to watch the video https www youtube com watch v lWbFD8pTgl0 list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 6 t 0s Parts and Devices No Picture Device Qty Data sheet Buy in Link 1 Tracking sensor module 1 Click here to buy ...

Page 62: ...ck here to buy 4 Servo Motor 1 click here Click here to buy 5 Mount Holder for Ultrasonic Sensor 1 Click here to buy 6 Buzzer Sensor Module 1 click here Click here to buy 7 Philips screwdriver 1 Click here to buy 8 Hex Screwdriver 1 Click here to buy 9 20Pin jumper wire Male to female 20cm some ...

Page 63: ... nut 3 13 M2 4 self tapping screw 1 14 M2 2 8 self tapping screw 2 15 M1 4 8 screw and nut 4 Hardware Installation Step 1 Install the smart car basic frame work as per lesson 5 If you don t install tracking sensor module please completed installation in Lesson 4 ...

Page 64: ...4 UNO software serial TX as per following picture Note Our OSOYOO Uart WiFi shield V1 3 are connected BLE URAT TX RX ports to D4 D5 with jumper caps by default If you find the BLE URAT TX RX ports are connected you need remove these jumper caps and change to connect ESP URAT E TX to D4 and E RX to D5 ...

Page 65: ...64 Step 3 Connect SG90 servo motor OSOYOO MODEL X motor driver module and OSOYOO Uart WiFi shield V1 3 as following graph If you complete wires in lesson 5 please skip this step ...

Page 66: ...65 Step 4 Connect ultrasonic module buzzer module with OSOYOO Uart WiFi shield V1 3 as below connection diagram If you complete wires in lesson 5 please skip this step ...

Page 67: ... as below connection diagram If you complete wires in lesson 4 please skip this step Note 1 Please remember to adjust the sensitivity of tracking sensor modules as per lesson 4 2 Please remember to do Ultrasonic sensor direction alignment as per lesson 5 Software Installation ...

Page 68: ...lang en 7 zip is a free zip utility that un zips zip files Download 7zip here for free https www 7 zip org Osoyoo Wifi Robot APP search Osoyoo Wifi Robot APP in Google Play or Apple Store Step 1 APP installation you need search Osoyoo Wifi Robot APP in Google Play or Apple Store and then install this APP ...

Page 69: ...rom https osoyoo com driver WiFiEsp master zip Open Arduino IDE click Sketch Include Library Add ZIP library then load above zip file into Arduino Step 3 Arduino Sketch code Installation OSOYOO V2 Robot Car can work in two Wifi modes STA mode and AP ...

Page 70: ... car and your APP will use this IP address to access your car 1 Please download STA mode sketch code from http osoyoo com picture V2 1_Arduino_Robot_Car code v2smartcar lesson6A zip Unzip the file you will see a folder v2smartcar lesson6A Open Arduino IDE click file click Open choose code v2smartcar lesson6A ino in v2smartcar lesson6A folder load the code into Arduino 2 You need change the code Li...

Page 71: ...g section no need change default port 80 in APP Now your Robot car is connected to your LAN you can use Mobile phone under same LAN to control the robot car If your APP is in WAN you need to go to your Router Control Panel forward Port 80 to Robot car LAN IP address then you can use Router IP to control the car This feature makes our robot car A REAL INTERNET OF THING device B AP mode Sometimes we...

Page 72: ...me osoyoo_robot its IP address is 192 168 4 1 3 Connect your cell phone to osoyoo_robot wifi hot_spot and set IP address as 192 168 4 1 to your APP Setting section Now your Robot car become a Wifi Hot Spot you can use Mobile phone control the robot car Final testing Turn on the car Now click Setting to set up robot IP address In STA mode you need connect cell phone to the same LAN ssid of your rob...

Page 73: ...72 Note F1 F6 are further development functions in the future ...

Page 74: ...iving we will use a virtual steering wheel and gear in our APP to imitate their counterparts in real car You must complete lesson 1 assembling the car before you continue on with this lesson Please enter the link to watch the video https www youtube com watch v uRat79tvHUE list PLvCUFipQZCUtstVBU 7gLYCLhI1fRuca3 index 8 t 0s Parts and Devices No Picture Device Qty Data sheet Buy in Link ...

Page 75: ...o Uno R3 board Step 2 Connect Bluetooth TX RX ports to D4 D5 with jumper caps Note Our OSOYOO Uart WiFi shield V1 3 are connected BLE URAT TX RX ports to D4 D5 with jumper caps by default If you find the Bluetooth TX RX ports is not connected to D4 D5 you need use a jumper cap or jumper wire to connect B TX to D4 and B RX to D5 Step 4 Insert Bluetooth Module into OSOYOO Uart WiFi shield V1 3 Bluet...

Page 76: ...ct is lesson 1 2 3 4 your motor control system is same as Lesson 1 no need do anything If your last project is lesson 5 6 you need change ENA wire from D3 to D9 keep wiring in D6 D7 D8 D11 D12 at same position and remove all other wires in OSOYOO Uart WiFi shield V1 3 I suggest you run the sketch code in Lesson 1 and make sure motor connection is correct This is very important for next steps ...

Page 77: ...tallation Open source Arduino Software IDE Download Arduino IDE here https www arduino cc en Main Software setlang en 7 zip is a free zip utility that un zips zip files Download 7zip here for free https www 7 zip org ...

Page 78: ... OSOYOO imitation driving download the APP as following and install it in your smart phone If you can not use Google Play to find the APP please Download the APP from following link https osoyoo com driver v1car apk 2 Install APP on Apple IOS device as following In Apple APP store search APP name OSOYOO imitation driving download the APP as following and install it in your smart phone ...

Page 79: ...s osoyoo com driver v2smartcar lesson7 zip Unzip this file and you will see a folder called v2smartcar lesson7 Open Arduino IDE click file click Open choose code v2smartcar lesson7 ino in v2smartcar lesson7 folder load the code into Arduino Explanation of APP UI ...

Page 80: ...ctive Even you do not touch any button just change your cell phone angle position like you move the steering wheel the car will move again Direction Steering Wheel When you rotate your mobile phone angle the steering wheel will change angle as per your mobile phone rotation angle This will make your car change direction For example when steering wheel make clockwise rotation car will move to left ...

Page 81: ...80 ...

Page 82: ...et to shoot at Team B robots and vice versa IR Bullet from Team A will kill only Team B robots and no harm to TEAM A So does Team B bullet Players use Mobile APP in Lesson 7 to control their robots to kill enemy team robots as possible You can complete and run the sketch code in Lesson 7 and make sure motor connection is correct Parts and Devices No Picture Device Qty Data sheet Buy in Link 1 IR r...

Page 83: ...ic screw 5 6 M3 plastic pillar 5 7 M3 plastic nut 5 Hardware Installation Step 1 This project needs at least two Osoyoo V2 Arduino Robots In each robot Lesson 7 hardware installation must have been completed Step 2 Install IR receiver Lesson 2 and buzzer module lesson 5 and add IR transmitter with 2pcs M3 plastic screws pillars and nuts as following ...

Page 84: ...83 Step 3 Connect IR receiver IR transmitter and buzzer module with OSOYOO Uart WiFi shield V1 3 as following graph Software Installation ...

Page 85: ...on8B ino in v2smartcar lesson8B folder for Team B robots Step 3 If you have installed APP in Lesson 7 please skip this step Otherwise go to Google Play and search the APP name Osoyoo imitation driving and install the APP to your mobile phone Step 4 After install the APP pair the HC 02 bluetooth module to your mobile phone and then open Osoyoo Imitation driving APP You will find a BTSearch list cli...

Page 86: ...85 ...

Reviews: