Это видео недоступно.
Сожалеем об этом.
How to Make Bluetooth Controlled Car using Arduino !!
HTML-код
- Опубликовано: 16 мар 2023
- Hello everyone, in this video I have explained about how to make a Bluetooth controlled car using Arduino. I have used L293D motor shield. You can also use L298N motor driver module if motor shield is not available.
App - Bluetooth RC Controller (PlayStore)
Components List-
1) Arduino uno - amzn.to/3QGhzpm
2) Motor shield - amzn.to/47bzHgi
3) L298N module - amzn.to/46QznUo
3) Hc-05 Bluetooth module - amzn.to/3FCWpSS
4) Li-ion battery - amzn.to/3seT7SK
5) Battery holder - amzn.to/3s8E118
6) Wheels(4x)and DC Motor - amzn.to/3FEgsA6
8) Acrylic Sheet - (Offline Store)
9) Male-Female Jumper wire - amzn.to/49fJdkm
10) DC Power Switch - amzn.to/46WqFUI
Video gear
camera : amzn.to/3Tb5EBR
camera stand : amzn.to/3RcwWGy
mic: amzn.to/3sNOEGY
------------------------------------------------------
Code is uploaded on the telegram channel :- (t.me/robo301)
------------------------------------------------------
Thanks for watching this Video. If you like this video then hit the LIKE button, share it and also make sure you don't forget to subscribe my channel.
---------------------------------------------------
🎵 Background Music:
Song: Sexy Fashion Beats (No Copyright Sounds)
Music provided by NCM [No Copyright Music].
Creative Commons - Attribution 3.0 Unported | Attribution 4.0 International
Video Link: • Sexy Fashion Beats [NO...
Song: Atch - Daydream
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution-ShareAlike 3.0 Unported
Video Link - • Atch - Daydream (Vlog ...
Agdal - Soyb / soybmusic
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/agdal-soyb
Music promoted by Audio Library - • Agdal - Soyb (No Copyr...
chill. by sakura Hz / sakurahertz
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
Free Download / Stream: bit.ly/chill-sa...
Music promoted by Audio Library - • Chill - sakura Hz (No ...
► Music Credit: LAKEY INSPIRED
Track Name: "Blue Boi"
Music By: LAKEY INSPIRED @ / lakeyinspired
Original upload HERE - • LAKEY INSPIRED - Blue Boi
Official "LAKEY INSPIRED" RUclips Channel HERE - / @lakeyinspired
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0) License.
Full License HERE - creativecommon...
Music promoted by NCM goo.gl/fh3rEJ
---------------------------------------------------
#diyprojects #robot #electronic #smartcars
Can you give me the code please. I can not access
//Bluetooth Controlled Car
//Install Adafruit Motor Shield library before uploading the code
//Disconnect the Bluetooth Module before hiting the upload button otherwise you'll get compilation error message.
#include
//initial motors pin
AF_DCMotor motor1(1, MOTOR12_1KHZ);
AF_DCMotor motor2(2, MOTOR12_1KHZ);
AF_DCMotor motor3(3, MOTOR34_1KHZ);
AF_DCMotor motor4(4, MOTOR34_1KHZ);
char value;
void setup()
{
Serial.begin(9600); //Set the baud rate to your Bluetooth module.
}
void loop(){
if (Serial.available() > 0) {
value = Serial.read();
Serial.println(value);
}
if (value == 'F') {
forward();
} else if (value == 'B') {
back();
} else if (value == 'L') {
left();
} else if (value == 'R') {
right();
} else if (value == 'S') {
Stop();
}
}
void forward()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(FORWARD); //rotate the motor clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(FORWARD); //rotate the motor clockwise
motor3.setSpeed(255);//Define maximum velocity
motor3.run(FORWARD); //rotate the motor clockwise
motor4.setSpeed(255);//Define maximum velocity
motor4.run(FORWARD); //rotate the motor clockwise
}
void back()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(BACKWARD); //rotate the motor anti-clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(BACKWARD); //rotate the motor anti-clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(BACKWARD); //rotate the motor anti-clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(BACKWARD); //rotate the motor anti-clockwise
}
void left()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(BACKWARD); //rotate the motor anti-clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(BACKWARD); //rotate the motor anti-clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(FORWARD); //rotate the motor clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(FORWARD); //rotate the motor clockwise
}
void right()
{
motor1.setSpeed(255); //Define maximum velocity
motor1.run(FORWARD); //rotate the motor clockwise
motor2.setSpeed(255); //Define maximum velocity
motor2.run(FORWARD); //rotate the motor clockwise
motor3.setSpeed(255); //Define maximum velocity
motor3.run(BACKWARD); //rotate the motor anti-clockwise
motor4.setSpeed(255); //Define maximum velocity
motor4.run(BACKWARD); //rotate the motor anti-clockwise
}
void Stop()
{
motor1.setSpeed(0); //Define minimum velocity
motor1.run(RELEASE); //stop the motor when release the button
motor2.setSpeed(0); //Define minimum velocity
motor2.run(RELEASE); //rotate the motor clockwise
motor3.setSpeed(0); //Define minimum velocity
motor3.run(RELEASE); //stop the motor when release the button
motor4.setSpeed(0); //Define minimum velocity
motor4.run(RELEASE); //stop the motor when release the button
}
@@prateekverma22which app should we enter the code
@@komaliyadrapu8436 Arduino ide
Fabulous work parteek ❤
awesome bhai proud of you bro! 😍😍😌😌🙌
Really amazing and knowledgeable videos
Bro while fitting in Bluetooth txd wire was grey and while fitting in motor sheild it became purple one and same opposite with purple pls clear me the connection THANK YOU🫡
Badiya bhai 💥🔥🤩🤩
Good going
🔥🔥🔥
Link for placing code or we have to use that who all are using in arduino.
Nice bro🔥🔥
Sir ji osm
🔥♥️😘👑
Bro while fitting in Bluetooth txd wire was grey and while fitting in motor sheild it became purple one and same opposite with purple pls clear me the connection THANK YOU🫡 pls share connection one more time in comment
RX and TX of the bluetooth go in the opposite pins of the arduino so put the tx of the bluetooth into the arduinos rx pin or solder it to the top of the motorshield on that pin and the same with the other
❤❤
Ek number 🤌
Bro please make human follow robot car bro please with code in description please bro
Code is not working
Sheet size pls tell
15cm x 10cm
@@prateekverma22 thx
M Maruti Suzuki walo ko project dena hai sir please
Please sir
Code sir plz
Telegram is error showing
*Promo SM* 😔
Give the code
See the pinned comment