Buy from OSOYOO | Buy from USA | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
Buy from OSOYOO | Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
In this lesson, we will use mobile to control our robot car and make an imitation driving. Since it is a mock driving, we will use a virtual steering wheel and gear in our APP to imitate their counterparts in a real car.
You must complete Lesson 1 (assembling the car) before you continue on with this lesson.
No. | Picture | Device | Qty. | Accessories | Link |
1 | HC module | 1 | Click here to buy |
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 the Bluetooth slot as the following diagram (Remember: DO NOT remove any existing wires installed in Lesson 1):
Also make sure the two jumper caps in following red square are to be connected to D11, D4(if they are connected to D1,D0, move the caps to D11, D4).
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 (Note: If you can not find this APP in Google Play, |
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/driver/lesson6a.zip. unzip the download zip file lesson6a.zip, you will see a folder called lesson6a.
Step 3: Connect OSOYOO Basic Board for Arduino to PC with USB cable, Open IDE -> click file -> click Open -> choose code “lesson6a.ino” in lesson6a 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 smartphone
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 smartphone
If you are using an Android device and have not yet paired the Bluetooth module with your cell phone, please pair the Bluetooth module first before opening the APP. In your cell phone Settings -> Bluetooth, find a Bluetooth device called HC02 and pair it with the password 1234. Once the HC02 device is paired, open the APP and click the “BT Search” button to connect the APP to the HC02 device.
Note: For Android device, when you click BT search button and get the following error pop, Please follow the next steps:
1. long-press the APP inco, then click “APP info”
2. click “Permissions”
3.click “Nearby device”, then change the option as “Allow” (To learn more about settings, you can visit the video: https://osoyoo.com/picture/V2.1_Arduino_Robot_Car/Lesson7/APP.mp4)
Now that you have installed your hardware and software for this lesson, let’s drive our car!
Step 1) Put your robot car on the ground and turn on the battery switch.
Step 2) Go to your mobile phone -> Settings -> Bluetooth settings and search for a Bluetooth device called HC-02. Pair it with the code 1234.
Step 3) Open the OSOYOO imitation driving Robot APP, click the “BT Search” button, and find the Bluetooth device you have paired.
Step 4)Turn on the Engine toggle and click Speed+ to increase the speed of the robot car, as it is very slow at first. When you rotate your mobile phone, the car will change direction.
Enjoy driving!
DownLoad Url osoyoo.com
You must be logged in to post a comment.
Helloo, i have a problem. The bluethoot doesn’t appear in the configuration.
I turn on the HC module but still the same.
1. Please make sure the two jump caps connected D11, D4
2. Please make sure you have turned on the bluetooth of your phone.
3. Please scan bluetooth device and match HC02 in setting of Phone
Thx. It works.
I did everything correctly and made sure of it, however when I try to drive the car it won’t work, despite it being connected to the HC module.
Are you willing to take a video about this and send to my email address: [email protected]
Sure.
Hi, Can I use an HC-05 bluetooth module instead of the HC-02 they give you? I want to try another bluetooth control app, but none of them support the HC-02 module.
Please confirm whether the Pins definition of HC-05 is the same with HC-02
Is there any error when you use HC-02 module with other bluetooth control APP?
Android and IOS device can connect with HC-02.
Yes, the pin definitions of the HC-05 do match with the HC-02
When I try connecting my robot to another Bluetooth control APP, it says that it doesn’t support the HC-02 module, and it only supports HC-05, and HM-10.
I even tried putting the HC-05 directly into the HC-02 slot, but the module doesn’t connect to the Arduino.
So if I connect the HC-05 module to the Osoyoo bluetooth slot with Male-To-Female wires, will it work?
You can put HC-05 to replace OSOYOO HC-02 and run our lesson 6 sketch code and APP. But if you want to put HC-05 in our car then use other people’s APP and run other people’s sketch code, we can not guarantee it will work.