Home > Projects > Arduino Android > How to build an Arduino WiFi 4×4 with Android Controller

How to build an Arduino WiFi 4×4 with Android Controller

Summary of How to build an Arduino WiFi 4×4 with Android Controller


This article details a DIY project converting a cheap RC jeep into a WiFi-controlled vehicle using an Arduino microcontroller and Android. The author removed the original circuit board to install a custom motor control system powered by a 7.2V battery, enabling remote operation via a Windows application or an Android app utilizing orientation sensors.

Parts used in the WiFi RC Jeep Project:

  • Multimeter
  • Soldering Iron
  • Solder Wick
  • Screwdrivers
  • PCB etching supplies
  • Copper Clad Boards
  • Pliers
  • Arduino
  • AsyncLabs WiFi Sheild
  • RJ45 ends
  • Motor control H-Bridge
  • Caps.

RC cars can be WiFi Cars…?

RC cars are cool, but cheap RC cars have limited range and can only be controlled with the particular controller that was included with the car.
Arduino WiFi
I purchased a RC jeep, complete with 4 wheel drive, flexible suspension, and off-road tires for about 30 bucks. Not long after playing with the car I determined that I could improve it by using WiFi and Android. So I wasted little time, and completely remove the circuit board that make up the cars electronic system. Using the existing electronics I determined the voltages and devised a motor control system that could be operated by the Arduino using a custom shield that I developed. The motor control system does not implement any PWM to control the speed. The car is design to crawl over obstacles, with very low gearing as a result it is very slow.  This meant that just having the motors turn on and off would work just fine. The circuit I designed will however support PWM by using the enable pins.

I have been using the Arduino microcontroller in projects for a few months. I also purchased the asynclabs (http://asynclabs.com/) WiFi Sheild for the Arduino Duemilanoe to experiment with WiFI and microcontrollers . It comes with a package installs into the Arduino IDE. Building off of the “SocketServer” example I was able to build sketch that lets me control the motors and steering over WiFi.

I then used Visual Studio to put together a quick windows form application that connects to the car server and issues commands to control the motors, steering and lights. Then got bit with the android bug, after building a couple test apps I finally managed to get a working version that uses the orientation sensor to determine the desired car function.
Here is the step by step,

Schematic Arduino WiFi

Step 1: Tools and Parts

This is a general list of the tools and parts that were used to complete this project.
Look at the Eagle Documents for exact specs of the components used.

Multimeter
Soldering Iron
Solder Wick
Screwdrivers
PCB etching supplies
Copper Clad Boards
Pliers
Arduino
AsyncLabs WiFi Sheild
RJ45 ends
Motor control H-Bridge
Caps.

Step 2: Design Motor Control Circuit…

Using Eagle,

I put together this circuit to function as a motor controller and power regulator for the arduino board.

It allows use of the standard 7.2V battery pack to power the drive motors, steering motors and the arduino.

This circuit uses the sn754410 dual h-bridge chip to switch the drive motors and steering motors. The control lines for the motor controller are pinned out for direct soldering to the end of a RJ45 cable that plugs into the shield. This allows for easy removal of the Arduino and WiFi Sheild.

Eagle Files are included here.

Major Components in Project
Multimeter
Soldering Iron
Solder Wick
Screwdrivers
PCB etching supplies
Copper Clad Boards
Pliers
Arduino
AsyncLabs WiFi Sheild
RJ45 ends
Motor control H-Bridge
Caps.

For more detail: How to build an Arduino WiFi 4×4 with Android Controller

Quick Solutions to Questions related to WiFi RC Jeep Project:

  • How can I control an RC car over WiFi?
    By removing the original circuit board and using an Arduino with a WiFi shield to create a custom server that connects to a client application.
  • Can I use an Android device to control the car?
    Yes, a working Android app was developed that uses the phone's orientation sensor to determine desired car functions.
  • What chip is used for motor control in this project?
    The sn754410 dual h-bridge chip is used to switch the drive motors and steering motors.
  • Does the motor control system implement PWM?
    The current design does not implement PWM because the car has very low gearing, though the circuit supports it via enable pins.
  • What voltage powers the drive motors and Arduino?
    A standard 7.2V battery pack powers the drive motors, steering motors, and the Arduino board.
  • How do I connect the motor controller to the Arduino shield?
    The control lines are pinned out for direct soldering to the end of an RJ45 cable that plugs into the shield.
  • Can I control the car using a Windows computer?
    Yes, a Windows form application was created to connect to the car server and issue commands for motors, steering, and lights.
  • What software is used to design the circuit board?
    Eagle software was used to design the motor controller and power regulator circuit.

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
Scroll to Top