Electric Boat Project using Arduino with wireless computer control system

(Last Updated On: February 13, 2020)

Electric Boat


Electric Boat Project using Arduino with wireless computer control system- In this tutorial, you will learn how to make an Electric Boat which can be controlled wirelessly using 433 MHz Radio Frequency Transmitter and Receiver modules using a computer application designed in Visual Basic. The wireless control system is based on short-range communication which works up to 15 meters. If you want long-range communication then you can simply replace these radio frequency Transmitter and Receiver modules with Lora Transceiver Modules whose communication range is up to 15 kilometers. Want to learn how to use 15km Lora Transceiver modules? Check the related projects section.

The computer application is very simple; you can use the Arrow keys on the keyboard to control the Forward, Left, and Right Movement of the Electric Boat. The same control system can be used in large size Electric boats.

The Electric Boat can be used in flood situation for rescuing humans and animals. It can be used for the security system, patrolling, etc. It’s totally up to you for what purpose you are going to use the Electric Boat.

A 12v battery is used to power up the Motors. A solar panel can be connected with the battery, which will make this Electric Boat as the Solar Electric Boat or Solar boat, etc. Wireless communication and motors controlling are done by the Arduino. The computer application will not work on the windows 10, the recommended one is windows 7 or XP.

Precautions: In this project, high-speed propellers are used, make sure you keep a safe distance when the motors are ON. Keep it away from children.

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/37oaksm
Mega 2560: https://amzn.to/2ze1kdu
LM7805 Voltage Regulator: https://amzn.to/2IZEl5x
Potentiometer: https://amzn.to/2JSLbfg
330-ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 NPN transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
LDR pack: https://amzn.to/2m2khGR
female DC power jack socket: https://amzn.to/2KEo1gt
470uf capacitors: https://amzn.to/2xDCOzf
5×7 cm Vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / stripboard: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wirecutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Electric Boat Project Circuit diagram:

Electric Boat

In this Electric Boat Project, two DC motors are used to control the Forward, Left, and Right movement using the computer application. These motors are controlled using the H-bridges. Two relays are wired up in such a way that it makes an H-bridge which can be used to control the forward and reverse movement of a DC motor. Each H-bridge consists of two relays.

Both the H bridges are exactly the same. The left side motor is controlled using the Arduino’s pin number 8 and pin number 9. While the right side motor is controlled using the Arduino’s pin number 2 and pin number 4. The relays used in this project are of the type SPDT “Single Pole Double Throw”.

The VCC and GND pins of the Receiver module are connected with the Arduino’s 5v and GND. While the data pin of the Receiver module is connected with the Arduino pin number 11.

Electric Boat

I tested the H bridge connections using the Proteus simulation and I successfully controlled the left and right movement.

Download H-Bridge simulation:  H bridge simulation

Electric Boat

While on the Transmitter side only the Arduino and 433Mhz Transmitter module is used. The data pin of the Transmitter module is connected with the Arduino’s pin number 12, while the VCC and GND pins of the Transmitter module are connected with the Arduino’s 5v and GND.

Electric Boat Project Arduino Programming:

In this project two programs are used, one program is written for the Transmitter side and the other program is written for the Receiver side.  Let’s first start with the Transmitter side programming.

Electric Boat Project Arduino Transmitter Programming:

Electric Boat Transmitter Arduino Program Explanation:

Before you start the programming, first of all, make sure that you download the virtual wire library by clicking on the download library.

Download Library:

The Transmitter module data pin is connected with the Arduino’s pin number 12… The void setup function consists of the same functions which I have already explained in my previous tutorial based on the 433 Mhz Radio Frequency TX and RX modules. In this tutorial, I have explained everything about how to use the Radiofrequency transmitter and receiver modules.

In the void loop function

if(Serial.available()>0) which means if the Arduino has received a command from the computer application, then simply read the serial port and store the received char in variable message. Convert this into a string and then convert this into an array of characters. Finally, this command is sent to the Receiver module wirelessly. Now let’s have a look at the receiver side programming.

Electric Boat Project Arduino Receiver Programming:

The receiver module data pin is connected with the Arduino’s pin number 11. The two H bridges are controlled using the Arduino’s pin 8, 9, 2, and 4…In the void loop function the received character is stored in variable c and then using the if conditions the left and right propellers are controlled accordingly.

Electric Boat Project Computer Application Programming:

Electric Boat

This is the computer application designed in visual basic.

 Download application: vb application

Electric Boat Computer application explanation:

 With the help of the arrow keys the left, right, and forward movement of the Electric Boat is controlled…When the up arrow key is pressed the character l is sent to the receiver, when the left arrow key is pressed the character a is sent, when the right arrow key is pressed the character b is sent to the receiver and similarly when the down arrow key is pressed the character s is sent to the receiver…

With MSComm1

.CommPort = 5

.Settings = “9600,N,8,1”

.Handshaking = comRTS

.RTSEnable = True

.DTREnable = True

.RThreshold = 1

.SThreshold = 1

.InputMode = comInputModeText

.InputLen = 0

.PortOpen = True ‘must be the last

End With

These instructions are used to set up the serial port. Make sure you select the right communication port and you select the same baud rate which you have used in the Arduino programming, otherwise the communication will not work.

Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply