Arduino Robot

Summary of Arduino Robot


This project is a simple smartphone-controlled robot using Arduino Uno, designed initially for soccer robot competitions but currently functioning for remote control via Bluetooth. The builder uses an HC-05 Bluetooth module, L298N motor driver, and two motors mounted on a robot platform. The robot is controlled via an Android phone app created with App Inventor 2. The author provides detailed wiring instructions and code, along with advice to disconnect Arduino's RX and TX pins during code upload to ensure proper functionality.

Parts used in the Smartphone Control Robot project:

  • Arduino Uno R3
  • HC-05 Bluetooth module
  • L298N motor control module
  • 2 motors
  • Android phone or laptop with Bluestacks
  • Small breadboard
  • Wires
  • 3.7V UltraFire batteries x 2
  • Battery holder
  • Robot platform
  • Wheels

first of all, i am sorry if i have grammar mistakes, i am asian and i am 13 years old, i study arduino by my self (mostly my self) and this is my first project and also my first instructables. this is the robot that i used to compete with my friends in soccer robot. i did some modifications when i used it but it is broken now, so what i show you here is just a smartphone control robot. i will upload the improved, actual soccer robot soon. Thank you to Phan Hoang Anh- my tutor, he helped me alot with the code

Step 1: Materials

here is what you’re going to need

-Arduino uno r3

-hc-05 (bluetooth module)

-l298n motor control module

-2 motor

-android phone( i don’t know how to control with ios) or a laptop with Bluestacks

-small bread board

-wires

– 3.7v ultra fire batteries x 2

– battery holder ( yes, i don’t know what it is called)

-robot platform(picture 6)

Step 2: Hard-ware

arduino pin 6->in1 or a (of l298n module)

arduino pin 7->in2 or b (of l298n module)

arduino pin 8->in3 or c (of l298n module)

arduino pin 9->in4 or d (of l298n module)

l298n pin +5-> arduino pin 5v ->

l298n pin gnd-> power source (-)-> arduino power plug(-) (arduino power plug is the first picture )

l298n pin vcc->power source (+) ->arduino power plug(+)

arduino pin gnd -> hc-05 gnd

arduino pin tx-> hc-05 rxd

arduino pin rx-> hc-05 txd

(note: i am very sorry for the bad image that i made in ‘paint’, the circuit simulator does not have an icon for l298n motor driver)

Step 3: Software

here is the code, you can just copy and paste it into the arduino software

(note: when you upload the code, plug of tx and the rx of the arduino, if you don’t, it will not work, i know why but it is very hard to explain it in english)

this is the app inventor code:

go to gallery in app inventor 2 and search for ‘robot project’ with this robot’s picture

Step 4: Finishing Step

put every thing on a platform, put on the motor and the wheels like this and you’re ready

Source: Arduino Robot


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top