Two phones and one app. One phone rides on the robot, films and drives the Arduino. The other is your remote with live video.
Which phone are you setting up?


Install VideoControl on both phones and choose a different mode on each. They talk over Wi-Fi; the robot phone passes your commands to the Arduino over Bluetooth.
Open VideoControl and tap Controller. The app remembers your choice; to change it later go to Settings › Change mode.

Tap the gear to open Settings, then Address IP internal, and type the IP shown on the Robot Head phone, for example 192.168.1.35.

Go back and tap the big Play button. The first time, the robot phone asks whether to allow this controller; tap Allow there. The video appears in a few seconds.
When the robot is ready, tap Connect (chain button) so the robot phone connects to the Arduino.

The numbers on the screenshot match the list below. Letters in quotes are what the Arduino receives.
1
2
3
4
5
6
7
8
9
10
11
12
Away from your Wi-Fi, the controller reaches the robot through the internet:
On the phone that goes on the robot, open VideoControl and tap Robot Head. Allow the camera and Nearby devices (Bluetooth) when Android asks.

The screen shows the phone's address under Enter this IP on the controller phone, and the port. Type it on the controller.
If two addresses are shown, use the one that starts like your home network, usually 192.168.

Power the robot, then tap Choose device. Pick your HC-05 or HC-06 under Paired devices.
Not in the list? Tap Scan and tap the module to pair it. The PIN is usually 1234 or 0000. Then tap Connect.

When the controller taps Play for the first time, the robot asks Allow this controller? Tap Allow. Next time it connects straight away.
Only allow phones you know. Forget controllers removes every allowed phone.

The Arduino reads one letter at a time from the Bluetooth module and drives the motors. The sketch is ready to use.
Download it here, or get it from the app: Instructions › How to load sketch to Arduino, then Save sketch or Share sketch.

Unzip it and open videorobot_v2.ino in the Arduino IDE. Choose your board in Tools › Board and its port in Tools › Port, then click Upload.
Connect the parts as in the diagram below. Join every GND together.
| TXD | D5 |
| RXD (through 1k + 2k divider) | D6 |
| VCC | 5V |
| GND | GND |
| EN1 and EN2 (pins 1, 9) | D4 |
| IN1, IN2 (pins 2, 7): motor 1 | D9 D10 |
| IN3, IN4 (pins 10, 15): motor 2 | D11 D12 |
| VSS (pin 16) | 5V |
| VS (pin 8) | Battery + |
| IN1, IN2 | D8 D7 |
| IN3, IN4 | D3 D2 |
| + and − | 5V, GND |
Each command is one letter at 9600 baud. Use the free letters for your own extras, such as a horn or LEDs.
| Forward | A |
| Right | B |
| Left | C |
| Back | E |
| Stop | D |
| Step left / right | F Q |
| Face forward | Y |
| Face back | V |
| Release motor | H |
| A1 | O |
| A2 | P |
| A3 | R |
These videos show an older version of the apps, when the robot used a separate VideoRobot app. Today VideoControl does both jobs, but the robot, the parts and the wiring are the same.
Everything in this guide works in the free version.
Connect the robot phone to Wi-Fi; mobile data is not enough. Then tap Refresh on the Robot Head screen.
Check that both phones are on the same Wi-Fi, that the IP in Address IP internal is the one on the robot screen, and that the port is the same on both.
Keep the Robot Head screen open, and allow the camera on the robot phone. Guest networks often block phones from seeing each other.
Close the app on the robot phone and open it again, then tap Play on the controller. The robot asks again; tap Allow.
Choose the module with Choose device, then tap Connect on the robot phone or the Connect button on the controller. The Arduino must be powered.
Check that it's powered: its LED blinks fast while it waits. Tap Scan. On Android 11 and older, Location must be on to scan.
Check that module TXD goes to D5 and RXD to D6, that the module uses 9600 baud, and that the L293D gets battery power on VS and shares GND with the Arduino.
Lower Settings › Video quality, move closer to the router, or use 5 GHz Wi-Fi.