Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatitable with Arduino

Authorized Online Retailers

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Objective:

In this lesson, we will use Mobile to control our robot car and make an imitation driving. Since is a mock driving, 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.

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 , please remove all wires on Osoyoo basic board

Step 2: Connect Bluetooth TX/RX ports to D4,D5 with jumper caps

Note: Our WIFI Shield Bluetooth TX/RX ports are connected to D4,D5 with jumper cap by default. If you find the Bluetooth TX/RX ports is not connected to D4,D5, you need use a jumper cap or female to female jumper wire to connect B-TX to D4 and B-RX to D5

Step 3: Insert to Osoyoo WIFI Shield onto your board and connect OSOYOO MODEL X motor driver module and OSOYOO Wifi Shield as following graph:

Remember following tips restore your motor control system to lesson 1:

I suggest you run the sketch code in Lesson 1 and make sure motor connection is correct. This is very important for next steps.

Step 4: Insert Bluetooth Module into Osoyoo WIFI Shield Bluetooth slot as following graph:


Software Installation;

Open-source Arduin
Software(IDE)
Download Arduin 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/
OSOYOO imitation driving Robot APP
search “OSOYOO imitation driving” in
Google Play Google Play or Apple APP store

Step 1: Install APP into your mobile phone:
Go to your   Apple APP store and search APP name “OSOYOO imitation driving”, Download the APP as following and install it in your smart phone.

If you are using Android cell phone, please Download the APP from following link :
https://osoyoo.com/driver/v1car.apk.

Step 2: Download and install sketch code from v2smartcar-lesson7. Unzip this file, and you will see a folder called v2smartcar-lesson7. Open Arduin IDE -> click file -> click Open -> choose code “v2smartcar-lesson7.ino” in v2smartcar-lesson7 folder, load the code into Arduin (Notice: Shut off your battery or Unplug your power adapter when upload sketch code to Arduin.)

Now you have installed your hardware and software for this lesson, let’s drive our car!

Drive your Robot Car
Step 1)Put your robot car onto the ground and turn on the battery switch.

Step 2)Go to your mobile phone ->Setting ->Bluetooth setting and search a Bluetooth device called HC-02, pair it with code 1234

Step 3)Open OSOYOO imitation driving Robot APP, Click BT Search button and find the bluetooth you have paired

Step 4)Turn on Engine toggle, and When you rotate your mobile phone angle, your car will change direction.

Explanation of APP UI

Enjoy your driving!