Это видео недоступно.
Сожалеем об этом.

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....

Комментарии • 126

  • @pavanrebel9661
    @pavanrebel9661 6 лет назад +2

    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........

  • @jaspionlopes123
    @jaspionlopes123  9 лет назад +6

    here are the codes:
    letsmakerobots.com/node/37746
    Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

    • @wiredtapfreak
      @wiredtapfreak 9 лет назад

      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

    • @RobertKarreman
      @RobertKarreman 9 лет назад

      Jaspion Lopes Thank you for sharing! Do you perhaps have English version?

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +wiredtapfreak Here you can understand better:
      letsmakerobots.com/node/37746
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

    • @bhuvaneshwaranm7290
      @bhuvaneshwaranm7290 7 лет назад

      very nice........keep on doing like this.

    • @duaabst5661
      @duaabst5661 7 лет назад

      Jaspion Lopes why the cood does n't open with me?

  • @juanarielgodoybaez5071
    @juanarielgodoybaez5071 3 месяца назад

    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

  • @01aragog78
    @01aragog78 6 месяцев назад

    could you get me the code the link is not working

  • @yaseenrehman6751
    @yaseenrehman6751 9 месяцев назад

    where can I find code and schematics brother, the websites are all not working

  • @maxruffo861
    @maxruffo861 9 лет назад +3

    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?

  • @giocarduino4954
    @giocarduino4954 9 лет назад +2

    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.

  • @thethunderentertainer
    @thethunderentertainer 9 месяцев назад

    hi,
    can you please resend the links as they are not working

  • @femidev4038
    @femidev4038 5 лет назад +2

    Hey I'm practically working on this project and I seriously need your help
    Is there any way I can email you.

  • @user-mj8xh7fr8g
    @user-mj8xh7fr8g 10 лет назад +4

    Hi, I do like a robot with three sensors, please give me the code.

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +Антон Михайлов here are the codes:
      letsmakerobots.com/node/37746
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

  • @devyankshaw9365
    @devyankshaw9365 6 лет назад

    It's really very much useful and ease to understand

  • @omarmarquez3937
    @omarmarquez3937 6 лет назад +1

    Tienes la programación con el escudo?

  • @sergiogerardosivinchequint985
    @sergiogerardosivinchequint985 6 лет назад +1

    Disculpa como es la conexión para el shiel de adafried

  • @VapersNgawur
    @VapersNgawur 9 месяцев назад +1

    source code please

  • @user-od1rn5xo9o
    @user-od1rn5xo9o Месяц назад

    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

  • @dankalinov
    @dankalinov 5 лет назад

    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?

  • @EEESushantPrasad
    @EEESushantPrasad 11 месяцев назад

    your previous links for code is not working kindly ping me with new code link for this

  • @Jair04forever
    @Jair04forever 8 лет назад +1

    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

  • @Timvoortaal
    @Timvoortaal 8 лет назад +1

    Is there an English version of the code available?

  • @Jair04forever
    @Jair04forever 8 лет назад +2

    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.

  • @mostafarefaatfaroukabd-elk3495
    @mostafarefaatfaroukabd-elk3495 5 лет назад

    sorry i find it difficult to understand your code can you help me or can i communicate with you

  • @FlashIsLive
    @FlashIsLive 5 лет назад

    Bro what about the enable pins..? Will I remove the cap of both enable pins? Then connect with the Arduino!

  • @MultiTechChauhan
    @MultiTechChauhan 3 года назад

    bro have you code of bluetooth robot using arduino uno
    with l293d motor shield plz reply

  • @haseenabibizulfiqar3198
    @haseenabibizulfiqar3198 7 лет назад +1

    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

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      sorry but this code i dont have anymore, only without motor shield

  • @talhasufyan3902
    @talhasufyan3902 7 лет назад +2

    which type of arduino is this?

  • @NexusrexDev
    @NexusrexDev 9 лет назад +1

    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.

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +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 . . .

  • @markovucemilovic1443
    @markovucemilovic1443 9 лет назад +1

    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?

    • @markovucemilovic1443
      @markovucemilovic1443 9 лет назад +1

      which pins to use on arduino uno?

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +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 .

  • @fundamentalanalysis1327
    @fundamentalanalysis1327 23 дня назад

    None of ur links are working right now

  • @haseenabibizulfiqar3198
    @haseenabibizulfiqar3198 7 лет назад

    Do you have circuit pictures for this project? Please let me know :)

  • @TheDanyel008
    @TheDanyel008 6 лет назад +2

    the code doesnt work...my robot is only rotating like hell

    • @braveknight8278
      @braveknight8278 5 лет назад

      Did you find the reason for that?I have the same problem.

  • @RobertKarreman
    @RobertKarreman 9 лет назад +1

    Very good! That must have been some amount of code X-)

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад +1

      +Robert Karreman Not much, I was doing step by step and it worked.

  • @funduino8322
    @funduino8322 8 лет назад +2

    is that right hand rule?

  • @alialghamdi6816
    @alialghamdi6816 9 лет назад +2

    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

    • @jaspionlopes123
      @jaspionlopes123  9 лет назад +1

      here apcmag.com/arduino-masterclass-part-4-build-a-mini-robot.htm/

  • @sujal9693
    @sujal9693 3 дня назад

    Pliz provide code

  • @s199h
    @s199h Год назад

    I want the code please 💕

  • @JPMENTV
    @JPMENTV 8 лет назад +1

    sir do you have schematic for your robot? thanks

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад +1

      +John Paul Mendoza Yes,
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

    • @JPMENTV
      @JPMENTV 8 лет назад

      +Jaspion Lopes thanks sir! this will help me a lot !

  • @TutocarloCV
    @TutocarloCV 6 лет назад +1

    nice

  • @provocador1997
    @provocador1997 7 лет назад +1

    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

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      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

  • @CrispySkinwalker
    @CrispySkinwalker 6 лет назад

    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

  • @SpiceyMachineGun
    @SpiceyMachineGun 6 лет назад

    are those two 18650 batteries by any chance? Those things look pretty big

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      yes it is
      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @kaleemsmohamed
    @kaleemsmohamed 10 лет назад +2

    hey there your work is amazing ... im currently new to this but if its inst any problem could i see your code . plz :)

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад +1

      +Kaleem Mohamed here are the codes:
      letsmakerobots.com/node/37746
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

  • @nayanablinks917
    @nayanablinks917 7 лет назад

    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

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      i think that infrared is more accurate and precise than ultrasonic

  • @MohamedIbrahim-dm4wb
    @MohamedIbrahim-dm4wb 8 лет назад +2

    How voltage ؟؟؟؟

  • @mohamedsalem4059
    @mohamedsalem4059 7 лет назад

    please I want to know the code that you use

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @sujitthapa2328
    @sujitthapa2328 10 лет назад +2

    can u send me the codes plz

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +sujit thapa here are the codes:
      letsmakerobots.com/node/37746
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

  • @MicGoo101
    @MicGoo101 8 лет назад +2

    very good job Thanks :)

  • @EEESushantPrasad
    @EEESushantPrasad 11 месяцев назад

    can u send me the code it"s urgent now

  • @iMrapple37
    @iMrapple37 8 лет назад

    do you have the dimensions of your maze please?

  • @salehinirfan1861
    @salehinirfan1861 5 лет назад

    can you give me the codes.

  • @nedstar7378
    @nedstar7378 9 лет назад +2

    Very good and nice video, can you show us the code.

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +ned star here are the codes:
      letsmakerobots.com/node/37746
      Codes, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

  • @apolonioamorimdetudoumpouc5836
    @apolonioamorimdetudoumpouc5836 7 лет назад +1

    parabens jaspion voce poderia compartilhar o codigo conosco

    • @jaspionlopes123
      @jaspionlopes123  7 лет назад

      Mais informações:
      letsmakerobots.com/node/37746
      codigo, Schematics in FZZ and PDF: letsmakerobots.com/files/maze_solver_robot.zip

    • @beeruszeerus215
      @beeruszeerus215 8 месяцев назад

      Code please?

  • @medohakoom
    @medohakoom 8 лет назад

    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 .....

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      it is in portuguese Brazil, sorry to know that you dont understand, it´s not very difficult

  • @atllab8439
    @atllab8439 5 лет назад

    HI can you please send me the coding and circuit diagram ... I need it urgently... I will be highly obiliged
    regards
    Siddhant

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @eduardotsm2011
    @eduardotsm2011 7 лет назад

    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.

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      veio no kit encontrei no MercadoLivre
      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @pinkcarots9565
    @pinkcarots9565 7 лет назад

    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!

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      jaspion18@gmail.com
      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @jaspionlopes123
    @jaspionlopes123  9 лет назад

    My new video,: : :
    ruclips.net/video/hAAiZWwDQcY/видео.html

    • @cuongnguyen-ih8kn
      @cuongnguyen-ih8kn 8 лет назад

      +Jaspion Lopes great ! how about code ? u can help me...thanks

    • @jaspionlopes123
      @jaspionlopes123  6 лет назад

      All the instructions are
      www.robotshop.com/letsmakerobots//files/maze_solver_robot.zip

  • @melisacampos4390
    @melisacampos4390 7 лет назад

    materiais?

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @user-uw8ic8by5m
    @user-uw8ic8by5m 5 лет назад

    جميل

  • @kevincortes8674
    @kevincortes8674 8 лет назад +1

    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

  • @himanshusingh4994
    @himanshusingh4994 7 лет назад

    provide me code

    • @jaspionlopes123
      @jaspionlopes123  5 лет назад

      www.robotshop.com/community/robots/show/autonomous-arduino-car-maze-solving-with-3-ultrasonic-sensors

  • @saberioh
    @saberioh 8 лет назад

    the code you used is wrong you cheated a little bit , you must use breadth first searsh algorithm to find the shortest path

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад +2

      This is just one of the ways to solve a maze

  • @mahiralquluyev5599
    @mahiralquluyev5599 2 года назад

    Bu praqram düzqün çalşmyor malesef

  • @abencomo
    @abencomo 10 лет назад +1

    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

    • @jaspionlopes123
      @jaspionlopes123  8 лет назад

      +Al B ReallyAmazing, i saw your video in a another website a month ago.

  • @gurkankoseoglu2093
    @gurkankoseoglu2093 5 лет назад

    TRABALHANDO?

  • @nam84409
    @nam84409 10 лет назад

    o