How to Build an Arduino Smart Car (LAFVIN)

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • In this video I show you how to assemble and wire an Ardunio Smart Car made by Lafvin! Most of these arduino cars are pretty similar so even if you don't have the exact same kit you may still be able to use parts of this video.
    Link to Website:
    www.mrmichaelsclass.com/ardui...
    Basic Code for Obstacle Avoidance
    bit.ly/3607ARJ
    Amazon Link
    amzn.to/2OO38j2
    Guide for 2WD arduino that can be modified for 4WD
    www.cs.columbia.edu/~sedwards/...
    Arduino Reference
    www.arduino.cc/reference/en/
    Google Drive for CD contents
    drive.google.com/drive/u/1/fo...
    Music: www.bensound.com

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

  • @moniqueray4925
    @moniqueray4925 4 года назад +6

    THIS IS SOOOOO HELPFUL FOR MY DAUGHTER'S MAKER'S FAIR SCIENCE PROJECT - THANK YOU!!

  • @jimcoogan1529
    @jimcoogan1529 4 года назад +7

    Great video. I just ordered this because I want to teach my grandson about robotics and I have some other sensors I want to play with on it.

  • @mrsmarte9243
    @mrsmarte9243 4 года назад +10

    Thank you very much for this video I REALLLLYYYYYY needed it

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

    Veramente complimenti per il video .semplice e ben dettagliato.

  • @prasannajaywardana3723
    @prasannajaywardana3723 5 месяцев назад

    Excellent video ,Thank you so much.

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

    Thank you. I've made a video of me following your video. 😊😊😊🍕

  • @ThisOne_Astro
    @ThisOne_Astro 3 года назад +16

    Wait what about the infrared sensor..... oof google time I guess lol, but great video thank you so much, easy to follow; thank you

    • @MahBor
      @MahBor 3 года назад +2

      Did you find anything?

  • @DauletGamer
    @DauletGamer 4 года назад +1

    Thank you

  • @DauletGamer
    @DauletGamer 3 года назад +1

    THANK YOU

  • @jasper9811
    @jasper9811 4 года назад +2

    Thanks for the video :D

    • @jasper9811
      @jasper9811 4 года назад

      Could you please send me a photo of CD?

  • @aneerasadiq71
    @aneerasadiq71 11 месяцев назад +1

    Amazing

  • @HaydenBaileyEmergencyResponder
    @HaydenBaileyEmergencyResponder 3 года назад +2

    Thanks so much for the great video and would love to see more...could you please focus on the add-ons e.g. bluetooth and r.f control...16c screen...combining all the source code for the different elements together in one file...Thanks for the great work and effort

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

      Did you find anything on where the Bluetooth shield is supposed to be connected to and the ir control?

  • @petergordon4615
    @petergordon4615 3 года назад +4

    During the lecture, at around 47:26, you connect the 5V line from the H bridge to the shield at position 2V. But 2V is already at 5V so why does it need connecting?
    Really good video!!

  • @kozeek82
    @kozeek82 3 года назад +1

    Thanks a lot, I never would have been able to put this together with the included instructions. Unfortunately for me I think my battery box is broken. I've confirmed the uno board works with my computer, and that the batteries are fully charged, but when I try to power the uno board using the batteries there is no power.

  • @elwnrandom5979
    @elwnrandom5979 2 года назад +1

    I have one the same but this only has one base, can it be assembled with just one or does it have to be both?

  • @vrednerboy
    @vrednerboy 4 года назад +2

    Hello. What about bluetooth module? Is it possible to connect with all the sensors?
    And also. If I reconnect trig and echo to A0 and A1 this will free 2 pins, but IR have 3 pins.

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

    Hi, may you provide me any guideline how to flash/program car kit or webpage where step by step is explained how to program / flash or prepare my own code?

  • @ceegeester
    @ceegeester 3 года назад +1

    Hi Mike. I recently got my kit but without batteries. Watched your great video and noticed that you got batteries with your kit. I have a number of lipo batteries for model aircraft, including some 7.4v of various A/H. Would one of them work as the battery source. Hope you can help.

  • @jesser9528
    @jesser9528 3 года назад +1

    How do you connect the Bluetooth modular in the IR receiver module??

  • @RaviShankar-yb3zj
    @RaviShankar-yb3zj 2 года назад +1

    KINDLY SHARE THE SITE WHERE I CAN BUY THIS KIT

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

    What is the software of lafvin commands are not working with aurdinio software

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

    Hello, I have a problem with uploading the program, I can't find the library with which you wrote the program, I only have a servo motor, nothing more, thank you for the answer

  • @tootiredgamers1816
    @tootiredgamers1816 4 года назад +2

    can you pleeeease do a programming video

  • @RealLifeBrinden
    @RealLifeBrinden 2 года назад +1

    Is this a smart for two

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

    Please where can i find the code, specifically for Human following robot

  • @noa7784
    @noa7784 3 года назад +1

    I already viewed your vids... can you implement this further just like path planning?

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

    Hello sir I going to make this for my college project exhibition but the company that bought from isn’t the same as yours but essentially it’s the same car design with same parts all I’m asking is well it work if I booked it the same as you did here if soo I’ll update you when I get my grade

  • @santoshkumar-py2ul
    @santoshkumar-py2ul Год назад

    Hi Mike this is the best video that I ever saw . Even I too buy this kit . But I could not make a code for this smart car. so , can you please send me the total code of the this kit. And app for the bluetooth connection. thank you.

  • @sirgeorgejordan8398
    @sirgeorgejordan8398 3 года назад +1

    I have the same car as you and I cant get the code I followed every step and it denied me 3 time so may you please send me the code?

  • @RanztynTortor
    @RanztynTortor 7 месяцев назад

    How to connect the IR reciever?

  • @MOHITSHARMADELHI
    @MOHITSHARMADELHI 3 года назад +2

    Hi, thanks for the upload. I have done all the connections and assembly as per the video and ur schematics.. But still the motors fail to rotate.. What am i missing

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад +2

      Can you test motors with direct voltage? Take the leads from the motors and touch them to leads from the battery pack

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

    Hey question, is this automatic or is it required to be controlled manually?

  • @eje546
    @eje546 3 года назад +1

    Great Video! But why won't you connect the Receiver Module ! (Where did you connect the Receiver Module.) Could you please make another video how to programing the smart car ? Why did you say in the video that the green and orange electric wire will be in 12 s only one of them can be there? Thank you!

    • @osman3605
      @osman3605 3 года назад +1

      its 13 S just follow the on video insturction

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

    Once I open the code it says that /#include is wrong, does anyone know how to code and can help me out?

  • @jorgef.
    @jorgef. 4 года назад +1

    According to the instruction manual, I understand that if all the sensors can be connected, splicing the line sensor wires using only four pins for the three sensors?

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      If you are using the shield that comes with the kit each pin has ground(G), power(V), and signal(S) so it's not necessary to splice wires.

  • @SP-kd6iv
    @SP-kd6iv Год назад +1

    Hello Mike...
    Really liked your video...
    Can I get the code for this project....
    Thank you....🙂🙂

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

    Can you teach how to programe it with mblock ? please

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

    Top

  • @mariocalvogarcia7187
    @mariocalvogarcia7187 2 года назад +3

    Pues lo tengo todo bien conectado, pero me da error al compilar en el código en #include ¿Cómo lo arreglo?

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

    Can a have the code?

  • @salem-7402
    @salem-7402 Год назад +1

    I can't write the code can you give me the code in commentś

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

    Cómo meto los códigos de cada lección para que funcione todo?

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

    How to start arduino smart car ?

  • @alesstanek250
    @alesstanek250 4 года назад +2

    Good day,
    I got a shipment without a CD, so I wouldn't be able to assemble a robot without your video. I have a question how to connect an IR sensor?
    Could you please send me a skatch to upload to the board?
    Thank you
    Aleš Staněk

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      I put a link for the contents of the CD under the description.

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

    this code doesn't work with me, because it says that i don't have the SR04.h file. Where can i find it?

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

      There is a link for the cd contents. The zip file for that library is inside a folder called libraries.

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

    Can you send the code

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

    Your response is much appreciated. My battery cell box is broken. Im trying to figure out how to power everything. Can I get two battery boxes and connect one to the Uno and the other to the h-bridge? I can't find a box that has both the DC input and extra leads

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

      Can you verify that there is contact between the batteries and the terminals? Sometimes a spring can be too compressed and not make proper contact. You can use a screw drive to extend the spring a little. If you are sure your battery box is dead then you can use 2 2xAA battery boxes or 1 4xAA battery box. If you use 2 2xAA battery boxes then connect one black and one red lead wire from the 2 battery boxes. Then cut the two lead wire that go from the original battery box and to the DC input (near the middle). Connect the free black and red wires from the connected 2xAA battery boxes to the corresponding leads into the DC input. If you find another box for the original batteries you can follow the same steps. Cover exposed wire with electrical tape.

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

      @@TechwithMikeYT Thanks for replying. I opened the battery box, the negative wire came apart from the metal part inside that touches the batteries. I plan to try and solder the wire back in place.

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

      Just to close on this, i was able to solder the wires back into the battery box, and the board and h-bridge have power now. Thanks again for this video.

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

      Glad to hear you got it working!

  • @jorgef.
    @jorgef. 4 года назад

    I'm waiting for the batteries to come to test it, and the board is already programmed? Greetings from Spain

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад +1

      You have to upload programs to the board. I have a program for obstacle avoidance in the description that works with the wiring I did in the video. I also linked the resources provided with the robot if you prefer to go that route.

  • @MemeScope
    @MemeScope 3 года назад +2

    Hello, hope you are having a good day. I made the car, step by step I got everything done. But, the motors are not running. I restarted all the wiring, and it still does not work. And I took the code, from the description. Can you please help me?

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

      Are any of the other components working? Like servo motor?

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

      @@TechwithMikeYT Yes, the servo motor is working, and the ultrasonic sensor is working. But the motors aren't working. I have the same kit as you.

  • @omarbarrera8071
    @omarbarrera8071 2 года назад +2

    Hola MIKE, muy buenos días!!! Es excelente tu video!!! Muy bien explicado , yo no tengo el kit, pero compre todo por separado lo arme cargue el codigo y me funciono de maravillas lo único que no encuentro es la aplicación de lafvin para que me funcione bluetooth, descargue varias aplicaciones de Arduino y no logro que ande. me podrías ayudar en donde encuentro la aplicación para el bluetooth ? Desde ya muy agradecido. Saludos desde Córdoba Argentina

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

    What type of battery is used here, because I didn't get batteries with it

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад +1

      www.amazon.com/LAFVIN-Include-Ultrasonic-Bluetooth-Tutorial/dp/B07JN46YSW/ref=sr_1_4?crid=1ZVQP0NZT8PRL&dchild=1&keywords=lafvin+arduino+kit&qid=1599061804&sprefix=lafvin+a%2Caps%2C479&sr=8-4
      This is the link for the larger kit they come in. Battery type is listed in product description.

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

    I got this error SR04.h: No such file or directory
    I have installed sr04 library

  • @sergiohidalgo07
    @sergiohidalgo07 4 года назад +2

    I have the same kit, but i have a cuestion, is the car made for working with all the modules connected? I mean can i connect everything and change the mode if i want Line Tracking, or IR Control, or obstacle avoidance? or I just have to connect wires for only one mode?

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      Yes, you can have all the wires connected. You would just have to upload different programs to run the different parts of it.

    • @sergiohidalgo07
      @sergiohidalgo07 4 года назад

      @@TechwithMikeYT all right, do you have any idea of how to link each module's code? or if anybody has the code.
      I'm a starter and don't know that much😅
      Thank you m8

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад +1

      If you are asking if there is one program that will do everything, it may be possible to use the IR controller to select different activities for the robot to do. For example press 1 for obstacle avoidance, 2 for line tracking, etc. This would involve combining the separate programs into a single one. I will try to work on this over the weekend and I will let you know if it works out. Otherwise I have an obstacle avoidance program in the description that works with the wiring I do in the video. If you wired it according to the instructions I also linked the companies code that you can upload. If you have any other questions let me know!

    • @sergiohidalgo07
      @sergiohidalgo07 4 года назад

      @@TechwithMikeYT thank you very much! let me know if you get it. I will try to do it also

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      After working on this for sometime, I don't think this is going to work out. Even trying to just add obstacle avoidance to the IR sketch it become messy very quick. I will continue to work on it, but I don't have high hopes. I still think that the best option is to upload code for the particular function of the robot you want to use at that time.

  • @xabyzianra6568
    @xabyzianra6568 3 года назад +1

    hello, first of all sorry for my english
    I need help, I have a problem programming
    when I try to program my multifunctional smar car kit lavfin, I get a problem or two problems, invalid libraries, libraries not found and an error in one line
    no matter how hard I try, I don't get anything
    it's frustrating
    Thank you so much for everything

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

      In the description I have the CD contents which includes the libraries as .zip files. Open the link and navigate to the libraries folder. Download the zip files.
      Here is a link for installing the libraries. Look for the Importing a .zip Library section.
      www.arduino.cc/en/guide/libraries

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

      muchas gracias,Thank you very much for your help

  • @NothingNothing-nn5pl
    @NothingNothing-nn5pl Месяц назад

    I need help, we had problems with the code and the car does not work, we think that the problem may be the bridge because at first we did not loosen the screws a little to insert the cable, we tried to disassemble it with a small screwdriver, but it does not come out and a cable is loose. The other part is that our servo has a screw loose, so when we try to operate it we get the error that something is broken. Another possibility is that when we connect the board to our computer it does not detect it as an Arduino UNO, but only as a simple USB. I don't know what is wrong. I need some help.

    • @NothingNothing-nn5pl
      @NothingNothing-nn5pl Месяц назад

      Please, I need help, I have little time to deliver this project. If someone can help me I would be very grateful 🙏

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

    Would you recommend buying this car for learning arduino?

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад +1

      It really depends on how you use it. The building part is fun but the included directions are not super clear. It's doable but just requires some extra thought for some steps. As far as programming I would do it by components. First start with the ultrasonic sensor and get it to read data, then move the servo motor left and right to read data on the sides. Then set up conditionals that print go, stop, turn left, turn right, based on the situation. Elegoo is another company that has a similar product but with better resources. Little bit more expensive for their car kit but may be worth it with less frustration.

  • @YellyClips
    @YellyClips 4 года назад

    Do I need soldering

  • @coolkidzieplayzz
    @coolkidzieplayzz 3 года назад +1

    Hello I am 10 years old,
    and I am assembling this kit and I am having a bit of trouble fitting both copper wires of the motors into the H-Bridge and each time the wires finally fit, they just come off despite screwing the screws on the H-Bridge really tight! Maybe the copper wires are a bit too tiny...
    Any suggestions on how to fix this issue?
    Thanks in advance 😁

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

      There is a piece of metal that gets pressed down when you screw in the screw. This can sometimes be bent to close to the top so that is doesn't make good contact with the wire. If you have a small screwdriver try to gentle bend the metal down towards the bottom by getting behind it and pressing it down. This should help it make better contact and stay secured. If you have a wire stripper, you could also try to remove a little more of the rubber coating and expose more wire.

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

      @@TechwithMikeYT Thanks for replying, I will try it out.

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

    peace and blessings..im in need of some help,,i built the robot but cant get the code from the cd because my laptop dont have a cd drive, so i was asking if anyone can help i will pay you for the code.

    • @TechwithMikeYT
      @TechwithMikeYT  3 года назад +1

      I have CD contents in description as a Google drive

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

      @@TechwithMikeYT thanks sir i have found it . now do i put each code in seperately.

  • @Komari_Vosa
    @Komari_Vosa 3 года назад +1

    Not
    Brown 11G
    Red 11V
    Orange 11S
    Because these 3 have fixed order?

  • @LadyNicola
    @LadyNicola 3 года назад +3

    Damn. Mine came without batteries. $40 NZD. So it'll be a couple of months before I can watch part 2. Frustrating.

  • @FlyingButterKnives35
    @FlyingButterKnives35 4 года назад +1

    Mine didn’t come with the battery’s

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

      mines too bro

    • @MemeScope
      @MemeScope 3 года назад +1

      @@georgewilson3776 Ouch

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

      @@georgewilson3776 Then use your computer, and another power source, like your charging cable, with a USB

  • @jorgef.
    @jorgef. 4 года назад +1

    Did you forget to connect the infrared, is the board already programmed?

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      With all the sensors and motors plugged in there weren't any free digital pins. If you want to use the IR sensor you could unplug the servo motor I have on pin 11 and plug the sensor in instead. G -> 11G, R -> 11V, Y -> 11S. Or the same could be done if you aren't using the line tracking sensors. If you would like to keep everything plugged in you could use A0 and A1 for the trig and echo pin from the ultrasonic sensor.

    • @jorgef.
      @jorgef. 4 года назад

      @@TechwithMikeYT So you can't connect everything at the same time?

    • @TechwithMikeYT
      @TechwithMikeYT  4 года назад

      @@jorgef. You can if you move the echo and trig wires from the ultrasonic senor currently (12/13) to A0 and A1. That frees up pins you can use for the IR sensor.

    • @jorgef.
      @jorgef. 4 года назад

      @@TechwithMikeYT I am waiting for the batteries to come to try it, it would be interesting some more video clarifying all this.

  • @ramakrishnangopinath7464
    @ramakrishnangopinath7464 7 месяцев назад

    10:29

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

    Top