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

Authorized Online Retailers:

With Battery:

Buy from USA Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES ここでご購入を!

Without Battery:

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES ここでご購入を!

Description:

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.

Parts and Devices

No. Picture Device Qty. Accessories Link
1 HC module 1 Click here to buy

Hardware Installation

Step 1: Install the smart car basic frame work as per Lesson 1 . If you have already completed installation in Lesson 1 , just keep it as is.

Step 2: Insert Bluetooth Module
please insert Bluetooth slot (Remember: DO NOT remove any existing wires installed in Lesson 1):


Software Installation:

Open-source
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/
OSOYOO imitation driving Robot APP
Search “OSOYOO imitation driving” in
Google Play or Apple APP store

Step 1: Install latest IDE (If you have IDE version after 1.1.16, please skip this step). Download IDE from https://www.arduino.cc/en/software, then install the software.

Step 2: Download https://osoyoo.com/picture/2WD_Car_V2.0/code/lesson6.zip. unzip the download zip file lesson6.zip, you will see a folder called lesson6.

Step 3: Connect OSOYOO Basic Board for Arduino to PC with USB cable, Open IDE -> click file -> click Open -> choose code “lesson6a.ino” in lesson6 folder, load the code into OSOYOO Basic Board for Arduino. (Notice: Remove the bluetooth module and Shut off your battery or Unplug your power adapter when upload sketch code to OSOYOO Basic Board for Arduino.)

Step 4: Choose corresponding board/port for your project,upload the sketch to the board.

Step 5:Install APP into your mobile phone:

1) Install APP on Android device as following

In Google Play store search APP name “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

Explanation of APP UI (UI is different between Android and IOS)

Connect APP to HC-02 Bluetooth Module

Drive your Robot Car

Now you have installed your hardware and software for this lesson, let’s drive our 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, click Speed+ to make the robot speed up as the robot car is very slow at first. When you rotate your mobile phone angle, your car will change direction.

Enjoy your driving!