Is it mandatory for me to connect the stepper motor driver to use the ultrasonic sensor or I can use a remote control cars mother board? To replace the stepper motor driver?
Hi bro, i like your videos very much. I really need your help. I have got all the parts. I am making the same car for my science Exhibition. Pls help me
Hlo bro I make this project but servo is not moving and ultrasonic sensor also only motor is moving plz help me I install library from control+shift+I from arduino app plz help me my servo and ultrasonic sensor is in working condition but my car is not working
Vai ye car kaise left right move karr rahi hai??Motor ka dierection to front aur back ho rahi hai?Mujhe samaj nahi aa raha hai..BTW your car is very innovative👍👍👍👍
I got stuck at one point though . It doesn't work when just connected to battery . The light on the top circuit board glows with battery but the light is off on the bottom board . When he connects the USB cable to bottom circuit board , the light is on and the motors , sensor starts rotating . Why it doesn't work with just the battery . Is I am missing any step ?
If your car is not running, even after connecting by phone ,you can add ( 4700uf 25v ) capacitor to motor driver input. And connect your Bluetooth module to direct Arduino Uno's positive and negative if your phone is disconnecting always after few seconds, and also add ( 470uf 25v ) × 2 capacitors in parallel to that bluetooth module and Arduino's positive and negative, and after this all remove that jumper from the motor driver and give another same power supply to direct Arduino Uno, this all things will guaranteed solve your problem.
ब्रो क्या यह प्रोजेक्ट किसी पहाडी पर भी यह काम करेगा क्या ,जैसे कोई वाहन पहाडी से नीचे गिर जाता है तो उस स्तिथि में यह सिस्टम किसी वाहन को गिरने से रोकेगा प्लीज़ कमेन्ट करें आप
help me please mane wireing or code ek dam same dala hai ardunio ke sare parts bhi sahi hai per vo kam nhi kar raha sahi se mae kya karu please tell agle hafte school me project leker jana hai please bta do
very nice explanation
// Before uploading the code you have to install the necessary library//
//AFMotor Library learn.adafruit.com/adafruit-motor-shield/library-install //
//NewPing Library github.com/eliteio/Arduino_New_Ping.git //
//Servo Library github.com/arduino-libraries/Servo.git //
#include
#include
#include
#define TRIG_PIN A0
#define ECHO_PIN A1
#define MAX_DISTANCE 100
#define MAX_SPEED 150 // sets speed of DC motors
#define MAX_SPEED_OFFSET 20
NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE);
AF_DCMotor motor1(1, MOTOR12_64KHZ);
AF_DCMotor motor2(2, MOTOR12_64KHZ);
AF_DCMotor motor3(3, MOTOR34_64KHZ);
AF_DCMotor motor4(4, MOTOR34_64KHZ);
Servo myservo;
boolean goesForward=false;
int distance = 100;
int speedSet = 0;
void setup() {
myservo.attach(10);
myservo.write(115);
delay(2000);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
}
void loop() {
int distanceR = 0;
int distanceL = 0;
delay(40);
if(distance=distanceL)
{
turnRight();
moveStop();
}
else
{
turnLeft();
moveStop();
}
}
else
{
moveForward();
}
distance = readPing();
}
int lookRight()
{
myservo.write(50);
delay(500);
int distance = readPing();
delay(100);
myservo.write(115);
return distance;
}
int lookLeft()
{
myservo.write(170);
delay(500);
int distance = readPing();
delay(100);
myservo.write(115);
return distance;
delay(100);
}
int readPing() {
delay(100);
int cm = sonar.ping_cm();
if(cm==0)
{
cm = 250;
}
return cm;
}
void moveStop() {
motor1.run(RELEASE);
motor2.run(RELEASE);
motor3.run(RELEASE);
motor4.run(RELEASE);
}
void moveForward() {
if(!goesForward)
{
goesForward=true;
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
{
motor1.setSpeed(speedSet);
motor2.setSpeed(speedSet);
motor3.setSpeed(speedSet);
motor4.setSpeed(speedSet);
delay(5);
}
}
}
void moveBackward() {
goesForward=false;
motor1.run(BACKWARD);
motor2.run(BACKWARD);
motor3.run(BACKWARD);
motor4.run(BACKWARD);
for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
{
motor1.setSpeed(speedSet);
motor2.setSpeed(speedSet);
motor3.setSpeed(speedSet);
motor4.setSpeed(speedSet);
delay(5);
}
}
void turnRight() {
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(BACKWARD);
motor4.run(BACKWARD);
delay(500);
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
}
void turnLeft() {
motor1.run(BACKWARD);
motor2.run(BACKWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
delay(500);
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
}
Bro mujhe code chaiye
Plz dedo
@@technicalmaanrawat5269
Ye program alag hai sir jo aap use kiye Hai video me
Aaisa kyu sir
@@technicalmaanrawat5269 This is that code
This is that code
good sharing dear
amazing video...
always likes ur video keep it up
It has really helped me complete my project. Thanks.
please can you type the codee
Bro can u give me the code for this project
Code kon dega ?
Bhai code comment box me pin kiya hua hai.
@@technicalmaanrawat5269
Bhai code nahi mil rah hay
. Please tell code
Very beautiful n creative work...keep sharing more interesting videos
thank you bro you were the who helped me finnaly
U r very talented person ....u make this easily at home
Done with such an perfection......these is really treat to see
wow it is really amazing diy robot car ...i will try this for my niece
wow great... u r very creative have logical mind....keep it up
Thanks 🙏🙏🙏❤❤❤
Khup chan car banvli tumhi
Is it mandatory for me to connect the stepper motor driver to use the ultrasonic sensor or I can use a remote control cars mother board? To replace the stepper motor driver?
THANKS A LOT
May god bless you and your family
बहुत सुन्दर प्रस्तुति
u r way too creative and intelligent
Oho very gud will try this weekend
always love to watch your creative video .. like this robot car
This is beautiful piece of diy project
amazing project superb idea
well done, amazing creativity
You are so creative 👍👍👍
Very beautiful and creative work
Nice voice and nice work
Is arduino device work with 12v
Superb video 👍👍👍
vg
very well explained
always likes ur video keep it up
Do you have more ideas for robotics
Outstanding work👌👌👍
great , but i have a question can we do the same project by using atmegaa32 instead of arduino
Very amazing work done by you
you always come with very creative and amazing mind.. amazing robot car
Hi bro, i like your videos very much.
I really need your help. I have got all the parts. I am making the same car for my science Exhibition. Pls help me
Ok
How can i talk with you ?
At 8:57 , can we use a female to male wire to connect the trig and echo directly to the holes in the motor driver?
Male Hedar pin
well explained thanks for sharing
Hlo bro I make this project but servo is not moving and ultrasonic sensor also only motor is moving plz help me I install library from control+shift+I from arduino app plz help me my servo and ultrasonic sensor is in working condition but my car is not working
Please check properly conction
Vai ye car kaise left right move karr rahi hai??Motor ka dierection to front aur back ho rahi hai?Mujhe samaj nahi aa raha hai..BTW your car is very innovative👍👍👍👍
Simpal hai bhai arduino me jo code dala hai or ultrasonic sensor ki vajhe se uske motor kam karte hai
addorable you are great man
Nice, you made look so easy
creative. i am impressed
Hey is this type called electronic engineering?
It's called mechatronics
Very nice project. But Can we add the buzzer in this circuit?
Yes, of course
Superb ❤
Sir ye sara Saman chahiye kitne me hoga
Amazon ya flipkart me mil jayega
Which wire you connect with motar
👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍
Sir aapne cod io copy kia hh aan vo coda kaha de milega jo aapne copy kia h
Hallo iska total price kitna hoga
Sir iske code ka direct pdf laga diniye n description box me jisse aur help ho pls sir
great job keep it up
Hello it was really perfect !
But where can we get the code for the Arduino?
Sand your mail id
@@technicalmaanrawat5269 bhai muja b code chaiye ye
Comments me diya hai bro
Hi.. great work ...Where can I get the Auduino code?
😂
Brother mobile phone se keshe uploading kre
I got stuck at one point though . It doesn't work when just connected to battery . The light on the top circuit board glows with battery but the light is off on the bottom board . When he connects the USB cable to bottom circuit board , the light is on and the motors , sensor starts rotating . Why it doesn't work with just the battery . Is I am missing any step ?
#include
#include
#include
#define TRIG_PIN A0
#define ECHO_PIN A1
#define MAX_DISTANCE 100
#define MAX_SPEED 150 // sets speed of DC motors
#define MAX_SPEED_OFFSET 20
NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE);
AF_DCMotor motor1(1, MOTOR12_64KHZ);
AF_DCMotor motor2(2, MOTOR12_64KHZ);
AF_DCMotor motor3(3, MOTOR34_64KHZ);
AF_DCMotor motor4(4, MOTOR34_64KHZ);
Servo myservo;
boolean goesForward=false;
int distance = 100;
int speedSet = 0;
void setup() {
myservo.attach(10);
myservo.write(115);
delay(2000);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
distance = readPing();
delay(100);
}
void loop() {
int distanceR = 0;
int distanceL = 0;
delay(40);
if(distance=distanceL)
{
turnRight();
moveStop();
}
else
{
turnLeft();
moveStop();
}
}
else
{
moveForward();
}
distance = readPing();
}
int lookRight()
{
myservo.write(50);
delay(500);
int distance = readPing();
delay(100);
myservo.write(115);
return distance;
}
int lookLeft()
{
myservo.write(170);
delay(500);
int distance = readPing();
delay(100);
myservo.write(115);
return distance;
delay(100);
}
int readPing() {
delay(100);
int cm = sonar.ping_cm();
if(cm==0)
{
cm = 250;
}
return cm;
}
void moveStop() {
motor1.run(RELEASE);
motor2.run(RELEASE);
motor3.run(RELEASE);
motor4.run(RELEASE);
}
void moveForward() {
if(!goesForward)
{
goesForward=true;
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
{
motor1.setSpeed(speedSet);
motor2.setSpeed(speedSet);
motor3.setSpeed(speedSet);
motor4.setSpeed(speedSet);
delay(5);
}
}
}
void moveBackward() {
goesForward=false;
motor1.run(BACKWARD);
motor2.run(BACKWARD);
motor3.run(BACKWARD);
motor4.run(BACKWARD);
for (speedSet = 0; speedSet < MAX_SPEED; speedSet +=2) // slowly bring the speed up to avoid loading down the batteries too quickly
{
motor1.setSpeed(speedSet);
motor2.setSpeed(speedSet);
motor3.setSpeed(speedSet);
motor4.setSpeed(speedSet);
delay(5);
}
}
void turnRight() {
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(BACKWARD);
motor4.run(BACKWARD);
delay(500);
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
}
void turnLeft() {
motor1.run(BACKWARD);
motor2.run(BACKWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
delay(500);
motor1.run(FORWARD);
motor2.run(FORWARD);
motor3.run(FORWARD);
motor4.run(FORWARD);
}
Show quoted text
sir mujhe with bluetooth module code chahaiye jisse hum apne hum apne mobile se controlled kar sake
This is an amazing work
last wali clip me bhai wo robot khud chal raha hai ya aap chala rahe ho
Kud hi chalta hai
Wow, very cool 👍✌️👌 thanks my friend
👋👋👋
Thanks bro
@@technicalmaanrawat5269 where's the code link..plz share...
If your car is not running, even after connecting by phone ,you can add ( 4700uf 25v ) capacitor to motor driver input. And connect your Bluetooth module to direct Arduino Uno's positive and negative if your phone is disconnecting always after few seconds, and also add ( 470uf 25v ) × 2 capacitors in parallel to that bluetooth module and Arduino's positive and negative, and after this all remove that jumper from the motor driver and give another same power supply to direct Arduino Uno, this all things will guaranteed solve your problem.
How Is the car moving sideways.
Sir kya mai eske code ko mobile se bhi karsaktahun mere pass laptop nhi hai bhai mai kya karu pls reply
Wow nice video 👍
ब्रो क्या यह प्रोजेक्ट किसी पहाडी पर भी यह काम करेगा क्या ,जैसे कोई वाहन पहाडी से नीचे गिर जाता है तो उस स्तिथि में यह सिस्टम किसी वाहन को गिरने से रोकेगा प्लीज़ कमेन्ट करें आप
Han ji bilkul karega isko bde lebal pe bnana hoga
Will a single-shaft motor work in this ?
Yes bro but speed is high
@Technical Maan Rawat And bro can we use a 9 volt battery like hw or everyday for powering it instead of rechargeable cells ?
Bro 7v to 12v
Bur 9v battery is not working. Current is verry low
So which batteries can we use instead of the rechargeable cells ?
Sir detail ke sath btaya mtlb jese moter ka nsi Leni h wire kese Sabhi Sahi se btay
Awesome work
Sir g programing ky code kaha sa liay han
Amazing work....
Really useful video
❤ very nice 👍👍👍👍👍👍👍
Can we use 9V battery instead of leathim iron battery
9v battery ko used kar sakte hai but wo discharg bhut jaldi ho jayegi
This is amazing work and well explained
is it can also used as
computer modal
Sir aap kisi bhi computer and laptop se code upload Kar sakte ho
Bhai ye code khudhse bhrna pdega kya
Copy pest karo
Amazing work
Bhai ya samaan khaya pa milta hai please batao
Sir tell me what is size of cardboard
6×4 inch
Can you please give code link for me
Can you share code
Yes
Please tell that which Arduino you had use clone or original? Please tell
Im useing Clone Arduino uno
@@technicalmaanrawat5269 can I buy clone Arduino from offline market? pls tell
brilliant bro
Really Nice,WOW!
isko kaise order kare
Sir code kaha se milega description me dedo na
Comment box me hai bhai
You always come with creative ideas
sir can i get code of ardino uno
Kitna kharcha hua approximate?
8 to 9 hundreds
Bro what will be the cost of arduino
Arduino uno 400 Arduino nano 250b
can you give me the code please.. i want to use it for my students
Bhai vo coding kaise karna hai ye bata do
Bhyya iski coading kese krnege
Computer se hoga comment box me coding diya hai mainev
Battery खरीदने का भी लिंक भेज दीजिए
help me please mane wireing or code ek dam same dala hai ardunio ke sare parts bhi sahi hai per vo kam nhi kar raha sahi se mae kya karu please tell agle hafte school me project leker jana hai please bta do
Muje email I'd bej dijiye
Bhai ya saman khaya say milega
Robu.in se
Bro ye project mujhe bhi banana hai kya app mujhe help kar sakte hai please bro help me 🙏
Bro you can send me what program you kept in Arduino i want fast
Bro insta me muje msg kijiye
Is this code still working ?
Can it work with 9 volt battery
Nahi bro qki uska amper namaste bhut kam hota hai
ह्यात कोड घालावाच लागतो का?
Provide the link
Are u using original ardunio
No
Ok I will try surely
mene try kiya tha par motor work nahi kar raha hai mene 9V ki battery use kiya tha vo li-on battery use kar na jaruri hai kya???
9v battery me current kam hota hai .lion battery used kana sasti mil jati hai