Bluetooth Controlled Car Using Arduino (L293D Motor Driver) | Max Electronics BD |
List of sensors that will be needed to project:-
- Arduino Mega/Uno/Nano
- Motor Shield (L293D)
- 4WD Smart Robot Chassis Kit
- Bluetooth Module(HC-05)
- 3.7V*2 Battery
- 12Volt 2 amp Adaptr
Circuit Diagram:-
Download App:-
Download App
/*
Project Name :- Bluetooth Controlled Car Using Arduino (L293D Motor Driver)
Full Blog Link :- https://tinyurl.com/y67p9uhs
Github Project Link :- https://tinyurl.com/y3pcfj2e
Author: Shantonu Acharjee
Email: shantonuacharjee@gmail.com
YouTube :- https://tinyurl.com/yf466yws
FaceBook: http://tinyurl.com/y52rgdd4
*/
AF_DCMotor motor1(1);
AF_DCMotor motor2(2);
AF_DCMotor motor3(3);
AF_DCMotor motor4(4);
char t;
void setup() {
Serial.begin(9600);
}
void loop() {
if(Serial.available()){
t = Serial.read();
Serial.println(t);
Serial.print(t);
}
if(t == 'F'){//move forward(all motors rotate in forward direction)
motor1.setSpeed(255);
motor1.run(FORWARD);
motor2.setSpeed(255);
motor2.run(FORWARD);
motor3.setSpeed(255);
motor3.run(FORWARD);
motor4.setSpeed(255);
motor4.run(FORWARD);
}
if(t == 'B'){//move Back(all motors rotate in Back direction)
motor1.setSpeed(255);
motor1.run(BACKWARD);
motor2.setSpeed(255);
motor2.run(BACKWARD);
motor3.setSpeed(255);
motor3.run(BACKWARD);
motor4.setSpeed(255);
motor4.run(BACKWARD);
}
if(t == 'R'){//move Left(all motors rotate in Left direction)
motor1.setSpeed(255);
motor1.run(BACKWARD);
motor2.setSpeed(255);
motor2.run(BACKWARD);
motor3.setSpeed(255);
motor3.run(FORWARD);
motor4.setSpeed(255);
motor4.run(FORWARD);
}
if(t == 'L'){//move RIGHT(all motors rotate in RIGHT direction)
motor1.setSpeed(255);
motor1.run(FORWARD);
motor2.setSpeed(255);
motor2.run(FORWARD);
motor3.setSpeed(255);
motor3.run(BACKWARD);
motor4.setSpeed(255);
motor4.run(BACKWARD);
}
else{
motor1.setSpeed(0);
motor2.setSpeed(0);
motor3.setSpeed(0);
motor4.setSpeed(0);
}
}
Project related tags:-
bluetooth controlled robot using android mobile projects
arduino controlled robot
how to make smartphone bluetooth controlled car useing arduino
arduino bluetooth car with speed control
arduino car projects for beginners
arduino based smartphone controlled robot car
How do I use Bluetooth to control my car with Arduino?
How do I use Bluetooth to control my car with Arduino Nano?
How do you make an Arduino RC car?
How do I make my car Bluetooth with Arduino and l293d?
bluetooth controlled robot using arduino
Max Electronics BD Arduino Bluetooth controlled car L293D Motor Driver
How To Make Bluetooth Car Using Arduino,Bluetooth control car,
how to make car with arduino,
bt car Bangla,
arduino project,
Max Electronics BD
#How_To_Make_Bluetooth_Car_Using_Arduino
#Bluetooth_control_car
#how_to_make_car_with_arduino
#_bt_car_Bangla
#arduino_project
#Max_Electronics_BD
sfdsdbdv