|Buy from US||Buy from UK||Buy from DE||Buy from IT||Buy from FR||Buy from ES||Buy from JP|
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.
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 Uno R3 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 UNO 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.
|Download Arduino IDE here:
|7 zip is a free zip
utility that un-zips zip files
|Download 7zip here for free
| OSOYOO imitation driving Robot APP
(Only support Android system now,
and will release Apple iOS APP in future)
| search “OSOYOO imitation driving” in
Step 1: Install APP into your mobile phone (Right now this app only support Android system, and will release Apple iOS APP in future):
Go to your Google Play and search APP name “OSOYOO imitation driving”, Download the APP as following and install it in your smart phone.
Step 2: Download and install Arduino sketch code from v2smartcar-lesson7. 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
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, and When you rotate your mobile phone angle, your car will change direction.
Enjoy your driving!
DownLoad Url osoyoo.com