Projectreport
Projectreport
net/publication/352559409
CITATIONS READS
0 35,210
1 author:
Kishore Kumaar K S
REC
2 PUBLICATIONS 0 CITATIONS
SEE PROFILE
All content following this page was uploaded by Kishore Kumaar K S on 21 June 2021.
1st Year
In this project we make use of the Bluetooth technology to control our machine
car. We don’t call this as a robot as this device doesn’t have any sensors.
Thereby, sensor less robots are machines. This machine ccan be controlled by
any human using his android mobile phone, by downloading an app and connecting
it with the Bluetooth module present inside our car. User can perform actions
like moving forward, backward, moving left and right by the means of command
using his-her mobile phone app. The task of controlling our car is taken car by
the Arduino UNO with micro controller ATMEGA32, 16 mHz processor, 2 KB
SRAM (Static Random Accessible Memory) and 32 KB flash memory. Arduino
play a major role in the control section and had made it easier to convert digital
signals and analogue signals into physical movements. The major reason for using
a Bluetooth based tech is that we can change the remote anytime – mobiles
phones, tablets and laptops and physical barriers like wall or doors do not affect
the car controls.
Materials Used
Model or Specifications
Materials Model Picture
(if any)
Bluetooth Technology
Bluetooth wireless technology is a short range communications technology
intended to replace the cables connecting portable unit and maintaining high
levels of security. Bluetooth technology is based on Ad-hoc technology also
known as Ad-hoc Pico nets, which is a local area network with a very limited
coverage.
WLAN technology enables device connectivity to infrastructure based services
through a wireless carrier provider. The need for personal devices to
communicate wirelessly with one another without an established infrastructure
has led to the emergence of Personal Area Networks (PANs). Bluetooth
specification details the entire protocol stack. Bluetooth employs Radio
Frequency (RF) for communication. It makes use of frequency modulation to
generate radio waves in the ISM band.
The usage of Bluetooth has widely increased for its special features. Bluetooth
offers a uniform structure for a wide range of devices to connect and
communicate with each other. Bluetooth technology has achieved global
acceptance such that any Bluetooth enabled device, almost everywhere in the
world, can be connected with Bluetooth enabled devices. Low power
consumption of Bluetooth technology and an offered range of up to ten meters
has paved the way for several usage models. Bluetooth offers interactive
conference by establishing an adhoc network of laptops. Bluetooth usage model
includes cordless computer, intercom, cordless phone and mobile phones.
Rotation of motor depends on Enable Pins. When Enable 1/2 is HIGH , motor
connected to left part of IC will rotate according to following manner:
0 0 Stop
0 1 Anti-Clockwise
1 0 Clockwise
Pin Diagram and Connections
Working
Take a closer look on the Wiring Diagram. We could notice the power source,
four 1.5 volt batteries connected to the 12V power pin of L298 Motor Drive and
ground of Motor Drive and Arduino UNO. This supplies essential power to the
circuit. A total of 6 volts is being supplied to this system, where the maximum
permissible amount is 12 volts. Digital wires of Arduino are connected with the
input1, input2, input3 and input4 of the motor drive. Motors are connected to
the either sides of Motor Drive which are the outputs terminals. To complete
the power source circuit, 5V of Motor Drive is connected to Vin power pin of
Arduino UNO. Followed by this, HC05 Bluetooth Module’s Vcc is connected to 5V
pin of Arduino UNO, which supplies power to Bluetooth Module. Ground to
Ground connections are also made. Transistor Transistor logic pins, Transmitter
(TX) and Receiver (RX) of Arduino UNO are connected to RXD and TXD of
HC05 respectively. The program is uploaded to Arduino before connecting the
Bluetooth module.
After all successful connections, switch on the power source. Lights at Motor
Drive, Arduino UNO and HC05 would indicate the correct connection. Upon
successful connection of your Bluetooth module with any android device, we
could control this device. By passing the command, for example, to move
forward we pass ‘F’. This command is transmitted by our device to Bluetooth
module, which in turn transmits to Arduino UNO. Arduino receives is and passes
the same to Motor Drive through its digital pins. Motor Drive will get this
through their input pins and exercise them through their output pins were
motor is connected.
Source Code
#include<SoftwareSerial.h>
SoftwareSerial MyBlue(0,1); else if(t == 'L')
char t; {
digitalWrite(13,HIGH);
void setup() digitalWrite(12,LOW);
{ digitalWrite(11,LOW);
pinMode(13,OUTPUT); digitalWrite(10,HIGH);
pinMode(12,OUTPUT); }
pinMode(11,OUTPUT);
pinMode(10,OUTPUT); else if(t == 'R')
MyBlue.begin(9600); {
} digitalWrite(13,LOW);
digitalWrite(12,HIGH);
void loop() digitalWrite(11,HIGH);
{ digitalWrite(10,LOW);
}
if(MyBlue.available())
{
t = MyBlue.read(); else if(t == 'S')
} {
digitalWrite(13,LOW);
digitalWrite(12,LOW);
if(t == 'F') digitalWrite(11,LOW);
{ digitalWrite(10,LOW);
digitalWrite(13,HIGH); }
digitalWrite(12,LOW); delay(100);
digitalWrite(11,HIGH); }
digitalWrite(10,LOW);
}
The present product however could show some latency. The reason is, due to
many connections and least power source of 6V, which result in loss of energy.
So in future, we could use rechargeable batteries like Ni-Cd Battery or Li-ion
battery that could avoid the present disadvantage.
Also, we could make use of this RC Motor Car as a surveillance system or rovers
by adding a few more sensors and updating the code. This would make them into
robots. These robots could self monitor under any human supervision, thereby
reducing man power. These are just the alternatives, on which this project could
be improvised and updated.