Это видео недоступно.
Сожалеем об этом.
Autonomous Arduino Car Maze Solving with 3 Ultrasonic Sensors
HTML-код
- Опубликовано: 24 июл 2013
- Codes, Schematics in FZZ and PDF:
• Video
www.robotshop....
www.robotshop....
My new video,: : :
• Video
This is the third video I made for my project of the university, where I create a maze and the car get out of it without human intervention, autonomously and computer logic .Project still in progress.
Saiba mais:
letsmakerobots....
i used the arduino uno to this project its not working to me the buzzer is continuosly buzzering without any obstacle infront of the ultrasonic sensor
plse help me........
here are the codes:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
sir how can i control the speed of the motor? in your code, you put pin 10 and 11 to control speed but where it should be connected in the motor?? pls i wanna know.. tnx a lot
Jaspion Lopes Thank you for sharing! Do you perhaps have English version?
+wiredtapfreak Here you can understand better:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
very nice........keep on doing like this.
Jaspion Lopes why the cood does n't open with me?
As I could see, the code is the right hand trick to solve mazes, but the problem is that when the objective is in the middle of the maze, sometimes they never get there, can you try with the A* algorithm? This last algorithm is something that I don't know much but I think it can help to improve the code
could you get me the code the link is not working
where can I find code and schematics brother, the websites are all not working
Nice work. Would you be able to speed up that application like crazy? Have you tried working with longer range tof sensors like teraranger one?
complimenti, ottimo lavoro. Anch'io ho in mente un progetto simile, con tre sensori ultrasonici, due motori passo passo, ed un po' di intelligenza artificiale. Sono pero' ancora lontano dal tuo risultato. Ancora complimenti.
Thanks
hi,
can you please resend the links as they are not working
Hey I'm practically working on this project and I seriously need your help
Is there any way I can email you.
Hi, I do like a robot with three sensors, please give me the code.
+Антон Михайлов here are the codes:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
It's really very much useful and ease to understand
Tienes la programación con el escudo?
Disculpa como es la conexión para el shiel de adafried
source code please
Hey thanks for the video, can you share the link to your code again, actually it is showing a 404 page not found error. Thanks again
you think the code will work with the left and right sensors directly on the sides, with 180 degrees facing apart as oppose 120 degrees like you have it in the video?
your previous links for code is not working kindly ping me with new code link for this
Interesante Modelo,Felicitaciones,Gran ingenio,pero tengo una duda con el codigo,porque razon el arduino UNO no reconoce los Analogos A0 y A1 conectados al sensor HCSR-04 de la derecha o hace falta agregar una libreria.Gracias
Is there an English version of the code available?
not yet
@@jaspionlopes123 Now?
Interesting pattern , Congratulations, great wit, but I have a doubt with the
code because the arduino UNO reason does not recognize Analogs A0 and A1
connected to HCSR -04 sensor right or need to add a libreria.Thanks.
Hey
Can i have the code please?
sorry i find it difficult to understand your code can you help me or can i communicate with you
Bro what about the enable pins..? Will I remove the cap of both enable pins? Then connect with the Arduino!
bro have you code of bluetooth robot using arduino uno
with l293d motor shield plz reply
I have a question as I can see from the video you are using Arduino motor shield but in your PFD file where you are showing the circuit diagram, you're not mentioning Arduino motor shield. so I can please get the new or correct pdf file of the circuit diagram
sorry but this code i dont have anymore, only without motor shield
which type of arduino is this?
Uno R3
Nice, one question..I am working on a robot (avoid obstacles and maze solver for learning about arduino and C++ and also for having fun) and i could buy only one ultrasonic sensor because its expensive in my country and one 180° servo..so can i change the code to use the servo? And thanks.
+Nexusrex Games Yes, you can use servo , i did this at first time , but i bought the ultrasonic sensor from large web shops , like ebay , aliexpress . from china resellers , really cheap , try too . . .
Hello, I tried to use your codes with L293D but it's not working because you dont use his #include , can you please send code with this mod included?
which pins to use on arduino uno?
+Marko Vucemilovic Yes, you have reason , these codes are robot did after that ,
Here 's the video :
ruclips.net/video/hAAiZWwDQcY/видео.html
I found much more interesting using the IC L293D , try too, hugs .
None of ur links are working right now
Do you have circuit pictures for this project? Please let me know :)
the code doesnt work...my robot is only rotating like hell
Did you find the reason for that?I have the same problem.
Very good! That must have been some amount of code X-)
+Robert Karreman Not much, I was doing step by step and it worked.
is that right hand rule?
yes
Hi, great actually i like your car can you told us how to build it
which parts i should buy? to do somthing similar?
regards
Ali
here apcmag.com/arduino-masterclass-part-4-build-a-mini-robot.htm/
Pliz provide code
I want the code please 💕
sir do you have schematic for your robot? thanks
+John Paul Mendoza Yes,
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
+Jaspion Lopes thanks sir! this will help me a lot !
nice
Boa tarde Jaspion!
Não me consegue arranjar o codigo mas com o shield? Preciso mesmo, ja tentei adaptar com o shield mas ele anda sempre ás voltas
eu fiz o código sem shield por questoes de desempenho e menor consumo de energia usando apenas um CI L293D
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
Looks like a program where it constantly stays to the right wall and if it encounters a wall head on, it turns until one of the sensors don't detect a wall
exactly, this is one way of solve a maze
are those two 18650 batteries by any chance? Those things look pretty big
yes it is
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
hey there your work is amazing ... im currently new to this but if its inst any problem could i see your code . plz :)
+Kaleem Mohamed here are the codes:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
which one is a better option? using ultrasonic or infrared as the sensor. Currrently, i m using infrared but it doesnt work well? Can you suggest me a solution admin? PS: I really hope you can answer me TT
i think that infrared is more accurate and precise than ultrasonic
How voltage ؟؟؟؟
12v
please I want to know the code that you use
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
can u send me the codes plz
+sujit thapa here are the codes:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
very good job Thanks :)
Thanks man
can u send me the code it"s urgent now
do you have the dimensions of your maze please?
I think that the maze has 4x3 meters
can you give me the codes.
Very good and nice video, can you show us the code.
+ned star here are the codes:
letsmakerobots.com/node/37746
Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
parabens jaspion voce poderia compartilhar o codigo conosco
Mais informações:
letsmakerobots.com/node/37746
codigo, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip
Code please?
hi ,
ireally like your work but there is a smale probleem that i did every thig you said but the car didnt do the right way ...
so please can you translae the code because i cant understnd the comments you write in spanish .....
it is in portuguese Brazil, sorry to know that you dont understand, it´s not very difficult
HI can you please send me the coding and circuit diagram ... I need it urgently... I will be highly obiliged
regards
Siddhant
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
Ola, me tira uma duvida, as rodas que comprei no kit sao muito fofas, e notei que a sua e reta e dura, modificou ou ja veio com o kit.
veio no kit encontrei no MercadoLivre
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
WAAAHHHH. how can i contact you? i have a few coding using arduino uno as my microcontroller. i hope you see this comment and will reply me. i hope i can ask you something thankyu!
jaspion18@gmail.com
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
My new video,: : :
ruclips.net/video/hAAiZWwDQcY/видео.html
+Jaspion Lopes great ! how about code ? u can help me...thanks
All the instructions are
www.robotshop.com/letsmakerobots//files/maze_solver_robot.zip
materiais?
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
جميل
Hola, Alguien podria colaborar corrigiendo este codigo.seguro que varios estariamos muy agradecidos
Hello , someone could collaborate correcting this codigo.seguro that several would be very grateful
// definições e declarações de variáveis do código do robô resolvedor de labirintos;
#define vel_motor_esq 10 // controla velocidade do motor esquerdo;
#define vel_motor_dir 11 // controla velocidade do motor direito;
#define e1 8 // controla sentido de rotação do motor esquerdo;
#define e2 9 // controla sentido de rotação do motor esquerdo;
#define d1 12 //controla sentido de rotação do motor direito;
#define d2 7 // controla sentido de rotação do motor direito;
int trigger_frente = A4; // controla o impulso enviado do sensor da frente
int echo_frente = A5; // controla o impulso recebido do sensor da frente
int trigger_esq = A2;// controla o impulso enviado do sensor da frente
int echo_esq = A3;// controla o impulso recebido do sensor da frente
int trigger_dir = A0;// controla o impulso enviado do sensor da frente
int echo_dir = A1;// controla o impulso recebido do sensor da frente
// configuração dos tipos de entrada das variáveis declaradas;
void setup()
{
pinMode(trigger_frente, OUTPUT); // saída de sinal do arduino do trigger_frente
pinMode(echo_frente, INPUT);// entrada de sinal do arduino do echo_frente
pinMode(trigger_esq, OUTPUT);// saída de sinal do arduino do trigger_frente
pinMode(echo_esq, INPUT);// entrada de sinal do arduino do echo_frente
pinMode(trigger_dir, OUTPUT);// saída de sinal do arduino do trigger_frente
pinMode(echo_dir, INPUT);// entrada de sinal do arduino do echo_frente
pinMode(vel_motor_esq, OUTPUT);// saída de sinal do arduino da velocidade do motor esquerdo
pinMode(vel_motor_dir, OUTPUT);// saída de sinal do arduino da velocidade do motor direito
pinMode(e1, OUTPUT);// saída de sinal do arduino do controle do sentido de rotação do motor esquerdo
pinMode(e2, OUTPUT);// saída de sinal do arduino do controle do sentido de rotação do motor esquerdo
pinMode(d1, OUTPUT);// saída de sinal do arduino do controle do sentido de rotação do motor direito
pinMode(d2, OUTPUT);// saída de sinal do arduino do controle do sentido de rotação do motor direito
delay(5000);
}
// código em repetição infinita do projeto;
void loop()
{
// declaração de variáveis utilizadas para controle do projeto;
long duracao_frente, duracao_esq, duracao_dir, direita, esquerda, frente;
digitalWrite(trigger_frente, LOW); // é declarada as respectivas entradas e saídas de sinal do
delayMicroseconds(2); // sensor ultrassônico e armazenada pela variável do sensor
digitalWrite(trigger_frente, HIGH); // que converte a velocidade do som que é de 340 m/s ou
delayMicroseconds(5); // 29 microsegundos por centímetro, como o sinal vai e volta
digitalWrite(trigger_frente, LOW); // esse tempo é a metade sendo sensor= tempo/29/2 ;
duracao_frente = pulseIn(echo_frente, HIGH); // assim segue também nos outros dois sensores .
frente = duracao_frente / 29 / 2;
digitalWrite(trigger_esq, LOW);
delayMicroseconds(2);
digitalWrite(trigger_esq, HIGH);
delayMicroseconds(5);
digitalWrite(trigger_esq, LOW);
duracao_esq = pulseIn(echo_esq, HIGH);
esquerda = duracao_esq / 29 / 2;
digitalWrite(trigger_dir, LOW);
delayMicroseconds(2);
digitalWrite(trigger_dir, HIGH);
delayMicroseconds(5);
digitalWrite(trigger_dir, LOW);
duracao_dir = pulseIn(echo_dir, HIGH);
direita = duracao_dir / 29 / 2;
analogWrite(vel_motor_esq, 0); //bloco para inicializar as entradas com pulso 0 ou desligado;
analogWrite(vel_motor_dir, 0); //
analogWrite(e1, 0); //
analogWrite(e2, 0); //
analogWrite(d1, 0); //
analogWrite(d2, 0); //
if (frente > 8) // se caso houver caminho livre a frente ele segue esta lógica abaixo:
{
// o uso dos quatro if´s abaixo dentro deste if são para o controle da dirigibilidade do robô,
// a fim de mantê-lo seguindo a parede direita em linha reta;
if (direita > 7 && direita < 13) // se caso a distância da parede a direita estiver entre 9 e 12 cm, o robô se
// mantém em linha reta;
{
analogWrite(vel_motor_esq, 120);
analogWrite(vel_motor_dir, 150);
analogWrite(e1, 255);
analogWrite(e2, 0);
analogWrite(d1, 0);
analogWrite(d2, 255);
}
if (direita >= 13) // se caso a distância da parede a direita estiver maior ou igual a 13 cm, o robô aumenta
// sua velocidade do motor esquerdo para se aproximar da parede direita;
{
analogWrite(vel_motor_esq, 255);
analogWrite(vel_motor_dir, 60);
analogWrite(e1, 255);
analogWrite(e2, 0);
analogWrite(d1, 0);
analogWrite(d2, 255);
}
if (direita 20 && frente
lo hiciste?de donde sacaste toda la informacion?
provide me code
www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors
the code you used is wrong you cheated a little bit , you must use breadth first searsh algorithm to find the shortest path
This is just one of the ways to solve a maze
Bu praqram düzqün çalşmyor malesef
Nice work! We built a similar project. However, we used a RC car and the IOIO board instead to control the vehicle autonomously. Here is the result:
ruclips.net/video/vkvkfcqEUkk/видео.html
+Al B ReallyAmazing, i saw your video in a another website a month ago.
TRABALHANDO?
o