Build Your Own Mobile Robot and control

Start Making Something!

Introduction

In today’s technological era, robots are becoming increasingly common. Robotics has become a popular hobby. There are many robotics kits in the market but they can be very costly. Most people cannot afford to buy these expensive kits. Here, we would like to teach you to build your own robot using Maker UNO board and other affordable components. You can even control your robot using your android phone.

Hardware

1. Prepare the components as the list above.

Mobile Robot Components
Mobile Robot Components

Mobile Robot Body

2. Solder a male to male jumper wire to each motor terminal.

soldering the motor terminal

3. Assemble the robot body by referring to this guide.

Assembled Body

4. Arrange and place the boards on the body.

Assembled Robot
Assembled Robot

5.  Connect the wires according to the circuit diagram.

WhatsApp Image 2018-02-09 at 12.09.15

Coding

This guide is assuming that you have already read the Getting Started for Maker UNO and installed the Arduino IDE. If not, you can refer it here.

1. Open the Arduino IDE and paste the following code into the sketch

2. Plug in the Maker UNO and upload the code.

Remote Control using Android Phone

1. Install the Apps

Download App

2. Pair your phone with the robot, the bluetooth ID is HC-06. Use passkey 1234. This is usually done in the bluetooth settings.

3. Open the apps and press the connect button. Connect to the robot that we have just paired.

BT Joystick App

4. Press the directional button to move the robot.

5. Let’s play and have fun!

Plug in the Maker UNO and upload the code.

Comments (6)

non complete guide. 3.7v battery not in the list of component. How you power up your maker uno? what is the purpose of the battery case for 4 AA battery?

Hi, Thanks for your feedback. For battery,we give the freedom to user to choose and the base come with battery case. We power up the Maker UNO using output from L298N Dual H Bridge Motor/Stepper Driver.

“stray ‘\222’ and stray ‘\221’ found in program”

what should I do ?

Hi Ammar Stephen, that error because of this ‘ symbol…

When you copy the code provided, that symbol “convert” to something that Arduino IDE can’t recognise even the shape is same. I have update using Gist which is much more better for code sharing. Try to update code again and let us know the result.

Arduino: 1.8.4 (Windows 8.1), Board: “Arduino/Genuino Uno”

sketch_feb16b:25: error: stray ‘\342’ in program

if(data == ‘1’){

^

sketch_feb16b:25: error: stray ‘\200’ in program

sketch_feb16b:25: error: stray ‘\230’ in program

sketch_feb16b:25: error: stray ‘\342’ in program

sketch_feb16b:25: error: stray ‘\200’ in program

sketch_feb16b:25: error: stray ‘\231’ in program

sketch_feb16b:28: error: stray ‘\342’ in program

if(data == ‘2’){

^

sketch_feb16b:28: error: stray ‘\200’ in program

sketch_feb16b:28: error: stray ‘\230’ in program

sketch_feb16b:28: error: stray ‘\342’ in program

sketch_feb16b:28: error: stray ‘\200’ in program

sketch_feb16b:28: error: stray ‘\231’ in program

sketch_feb16b:31: error: stray ‘\342’ in program

if(data == ‘3’){

^

sketch_feb16b:31: error: stray ‘\200’ in program

sketch_feb16b:31: error: stray ‘\230’ in program

sketch_feb16b:31: error: stray ‘\342’ in program

sketch_feb16b:31: error: stray ‘\200’ in program

sketch_feb16b:31: error: stray ‘\231’ in program

sketch_feb16b:34: error: stray ‘\342’ in program

if(data == ‘4’){

^

sketch_feb16b:34: error: stray ‘\200’ in program

sketch_feb16b:34: error: stray ‘\230’ in program

sketch_feb16b:34: error: stray ‘\342’ in program

sketch_feb16b:34: error: stray ‘\200’ in program

sketch_feb16b:34: error: stray ‘\231’ in program

C:\Users\UER\Documents\Arduino\sketch_feb16b\sketch_feb16b.ino: In function ‘void loop()’:

sketch_feb16b:38: error: ‘stop’ was not declared in this scope

stop();

^

exit status 1
stray ‘\342’ in program

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

error when upload code..

Hi Umapathy, that error because of this ‘ symbol…

When you copy the code provided, that symbol “convert” to something that Arduino IDE can’t recognise even the shape is same. I have update using Gist which is much more better for code sharing. Try to update code again and let us know the result.

Leave a comment