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
THIS IS SOOOOO HELPFUL FOR MY DAUGHTER'S MAKER'S FAIR SCIENCE PROJECT - THANK YOU!!
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.
Thank you very much for this video I REALLLLYYYYYY needed it
Veramente complimenti per il video .semplice e ben dettagliato.
Excellent video ,Thank you so much.
Thank you. I've made a video of me following your video. 😊😊😊🍕
Wait what about the infrared sensor..... oof google time I guess lol, but great video thank you so much, easy to follow; thank you
Did you find anything?
Thank you
THANK YOU
Thanks for the video :D
Could you please send me a photo of CD?
Amazing
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
Did you find anything on where the Bluetooth shield is supposed to be connected to and the ir control?
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!!
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.
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?
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.
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?
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.
How do you connect the Bluetooth modular in the IR receiver module??
KINDLY SHARE THE SITE WHERE I CAN BUY THIS KIT
What is the software of lafvin commands are not working with aurdinio software
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
can you pleeeease do a programming video
Is this a smart for two
Please where can i find the code, specifically for Human following robot
I already viewed your vids... can you implement this further just like path planning?
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
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.
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?
How to connect the IR reciever?
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
Can you test motors with direct voltage? Take the leads from the motors and touch them to leads from the battery pack
Hey question, is this automatic or is it required to be controlled manually?
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!
its 13 S just follow the on video insturction
Once I open the code it says that /#include is wrong, does anyone know how to code and can help me out?
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?
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.
Hello Mike...
Really liked your video...
Can I get the code for this project....
Thank you....🙂🙂
Can you teach how to programe it with mblock ? please
Top
Pues lo tengo todo bien conectado, pero me da error al compilar en el código en #include ¿Cómo lo arreglo?
oye tienes aun el codigo??
lo ocupo
Can a have the code?
I can't write the code can you give me the code in commentś
Cómo meto los códigos de cada lección para que funcione todo?
How to start arduino smart car ?
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
I put a link for the contents of the CD under the description.
this code doesn't work with me, because it says that i don't have the SR04.h file. Where can i find it?
There is a link for the cd contents. The zip file for that library is inside a folder called libraries.
Can you send the code
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
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.
@@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.
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.
Glad to hear you got it working!
I'm waiting for the batteries to come to test it, and the board is already programmed? Greetings from Spain
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.
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?
Are any of the other components working? Like servo motor?
@@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.
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
Puedo pasarte el codigo bluethoot de mi lafvin podria funcionarte si aun lo requeires (la apk)
@@josenieveshinojosramirez4621 could you pass me?
Sure! one moment!
@@hd_informatica
What type of battery is used here, because I didn't get batteries with it
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.
I got this error SR04.h: No such file or directory
I have installed sr04 library
DID you get it i have the same prblem
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?
Yes, you can have all the wires connected. You would just have to upload different programs to run the different parts of it.
@@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
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!
@@TechwithMikeYT thank you very much! let me know if you get it. I will try to do it also
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.
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
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
muchas gracias,Thank you very much for your help
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.
Please, I need help, I have little time to deliver this project. If someone can help me I would be very grateful 🙏
Would you recommend buying this car for learning arduino?
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.
Do I need soldering
No soldering required
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 😁
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.
@@TechwithMikeYT Thanks for replying, I will try it out.
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.
I have CD contents in description as a Google drive
@@TechwithMikeYT thanks sir i have found it . now do i put each code in seperately.
Not
Brown 11G
Red 11V
Orange 11S
Because these 3 have fixed order?
é qual?
Damn. Mine came without batteries. $40 NZD. So it'll be a couple of months before I can watch part 2. Frustrating.
Mine didn’t come with the battery’s
mines too bro
@@georgewilson3776 Ouch
@@georgewilson3776 Then use your computer, and another power source, like your charging cable, with a USB
Did you forget to connect the infrared, is the board already programmed?
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.
@@TechwithMikeYT So you can't connect everything at the same time?
@@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.
@@TechwithMikeYT I am waiting for the batteries to come to try it, it would be interesting some more video clarifying all this.
10:29
Top