BT CR.bbhjhbjgsbxnansvyufafxkjaxxbcasxghfasusxgxash

shubhamKumarSingh380463 34 views 7 slides Jul 31, 2024
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

bftssvxgfasyagsjavxghaxfuagxk


Slide Content

Bluetooth Controlled Car This is my first Arduino-based, Bluetooth-controlled RC car. It is controlled by a smart phone application .

ABSTARCT:- The goal of the project is to create an Android interface, an Arduino bot, and a programme for the Arduino microprocessor. An Arduino microcontroller with basic mobility features is housed in the Arduino car. Arduino programmes include instructions that act as a bridge between the android controller and the Arduino car. To supervise motion,theAndroid mobile controller employs a varietyof mobile sensors. To interact with the android controller, an appropriate programme in the Arduino microprocessor must be created. The programme was successfully compiled to the Arduino microprocessor and loaded into it after proper logic checking to minimise hardware loss/damage. We must develop an Android application that will allow users to interact with the Arduino-powered car. The interface is simple to use and provides feedback from the Arduino microprocessor via Bluetooth after sending instructions to Arduino via the interface via Bluetooth module. The android application will be developed with the assistance of Android Studio, which provides us with greatercapability and stability. After all of this, we thoroughly tested the project and discovered the greatestnumber of errors and incorrect logic in the microprocessor programme. Only after this can we say that we have created in accordance with our stated goal. Keywords: Arduino Uno, Hc-05 Bluetooth Module, Motor Driver Module L293d, Micro Motors And GripWheels, Jumper Wires, Bluetooth Controller Car.

INTRODUCTION :- This is a Bluetooth-controlled RC car powered by Arduino. A smartphone application controls it. Instead of using buttons or gestures, a Bluetooth-controlled car is controlled by an Android mobile phone. To control the car in forward, backward, left, and right directions, one must touch the button on the android mobile app as well as with the help of a proximity sensor built into the android mobile app. So, in this case, the Android phone serves as a transmitting device, and the Bluetooth module installed in the car serves as a receiver. The Android phonewill send commands to the car via Bluetooth so that it can move in the desired direction, suchas forward, reverse, left, right, and stop. II. METHODOLOGY This section discusses the hardware used, software development, and system operation. Electronics 1. Arduino UNO The Arduino Uno is an open-source microcontroller board developed by Arduino.cc that is based on the Microchip ATmega328P microcontroller. The board has a number of digital and analogue input/output (I/O) pins that can be used to connect to various expansion boards (shields) and othercircuits . [1] The board has 14 digital I/O pins (six of which are capable of PWM output) and 6 analogue I/O pins, and it can be programmed using the Arduino IDE (Integrated Development Environment) via a type B USB cable. It can be powered by a USB cable or an external 9-volt battery, and it accepts voltages ranging from 7 to 20 volts. The Arduino Uno board is the first in aseries of USB-based Arduino boards; it, along with version 1.0 of the Arduino IDE, served as the reference versions of Arduino, which have since evolved to newer releases. The board's ATmega328 is pre-programmed with a bootloader that allows new code to be uploaded without the use of an external hardware programmer. There are numerous versions of Arduino boards available on the market, including the Arduino Uno, Arduino Due, Arduino Leonardo, and Arduino Mega, but the most popular are the Arduino Uno and Arduino Mega

Code for operate a car :- void setup() { pinMode(13,OUTPUT); //left motors forward pinMode(12,OUTPUT); //left motors reverse pinMode(11,OUTPUT); //right motors forward pinMode(10,OUTPUT); //right motors reverse pinMode(9,OUTPUT); //Led Serial.begin(9600); } void loop() { if( Serial.available ()){ t = Serial.read (); Serial.println (t); }

if(t == 'F'){ //move forward(all motors rotate in forward direction) digitalWrite(13,HIGH); digitalWrite(11,HIGH); } else if(t == 'B'){ //move reverse (all motors rotate in reverse direction) digitalWrite(12,HIGH); digitalWrite(10,HIGH); } else if(t == 'L'){ //turn right (left side motors rotate in forward direction, right side motors doesn't rotate) digitalWrite(11,HIGH); } else if(t == 'R'){ //turn left (right side motors rotate in forward direction, left side

, right side motors doesn't rotate) digitalWrite(11,HIGH); } else if(t == 'R'){ //turn left (right side motors rotate in forward direction, left side motors doesn't rotate) digitalWrite(13,HIGH); } else if(t == 'W'){ //turn led on or off) digitalWrite(9,HIGH); } else if(t == 'w'){ digitalWrite(9,LOW); } else if(t == 'S'){ //STOP (all motors stop) digitalWrite(13,LOW); digitalWrite(12,LOW); digitalWrite(11,LOW); digitalWrite(10,LOW); } delay(100); }
Tags