Это видео недоступно.
Сожалеем об этом.
DIY GPS Based Self Driving Autonomous Robot Car Using Arduino
HTML-код
- Опубликовано: 5 апр 2023
- Hello Friends,
This is a DIY GPS Based Self Driving Autonomous Robot Car Using Arduino. This is 100% homemade with minimal tools and items required. If you like this video please subscribe and share this with as many people as you can.
Code: www.mediafire....
really great work bhaiya inspiring and i need to enable this in my robot to the navigation system too
Thanks a lot ! i am trying to build a auto pesticide spraying robot that will move itself ,and your video really help me
Glad I could help
Obrigado pelo vídeo, me tirou bastante dúvidas 🎉🎉🎉🎉
makasih bang kamu sangat berjasa untuk saya
Good project
Appreciate your but work u should use 4 wheel drive and better wheels as these wheels are not for outdoor purposes
Yes you are absolutely right. I think i even mentioned the same in the video. However due to lack of time i was unable to do so. But i may remake the project in the future and do it properly.
@@arccoplayz9550 is this gps module precise enough for this purpose?
I mean if we move the robo for example 1meter will the latitude and longitude values change or will be the same as in initial position?
No…. Yes. You see the gps has a radius of 2.5m for accuracy however moving it 1 m will change the coordinates just not to the right location. This happens because when you are moving the robot the view of the sky changes ever so slightly and due to that some satellites get farther and some get nearer, again very slightly. As this is a very low power gps those slight changes are enough to lose or gain satellites hence changing the coordinates. So that is why we have to demo the vehicle in an open field where there can be room for error. But if you want something more accurate you can try the neo m8n.
@@arccoplayz9550 I am very interested in making this for sure I will use neo m8n for better results
How accurate your robo was ?
Mine as it stands was about good for 3 - 4 meter radius but i cant tell what the m8n will do. I guess it would be sub 1 meter? Btw i would highly recommend a gps compass combo as the compasses are really fragile. I personally broke 3 to finally get this to work. Additionally beware that some hmc labelled compasses are actually qmcs.
hello! can you also integrate an obstacle avoidance system with the gps waypoint system?
Hi, no it will not work to integrate a obstacle detection system with one single arduino as the obstacle detection systems be it ultrasonic or ir uses interupts and delays to work so that will cause the rest of the loop to not work properly. The only option is to use a second microcontroller and do it.
So I'm currently experimenting with your code ,obstacle detection, with a mega 2560, with a modulo operator that queries every second, of course if I
Yes i also tried that. See the only viable soln is the dual board as an single arduino even the mega will not do multitasking. With the interupts it will work but that will lower the accuracy of the robot. If you really want to do it, i suggest just put another arduino (like a nano) and then just have it pull pin 13 to ground to stop the robot if an obstacle is detected.
can i change the coordinates via phone which is connected with Bluetooth while operating?
Check out the 2nd video i made on this.
Link pls
ruclips.net/video/ltvang6QfmY/видео.htmlsi=pzlXUPKRvll0i-lB
Hello there is esp32 enough for this?
Can you provide guidance on the most accurate GPS device available?(better than N8M)
See for hobby applications the neo8m is the most accurate gps. You can try using a gps from a drone like a dji mavic pro etc which will be more accurate but that will be very expensive also it wont work with the tinygps library so there will be a huge amount of software work to make that work.
Hi there, first of all great video, can you tell us if the robot car capable of waypoint mission? if yes how do you upload it to the robot car?
Yes it is.. just put the list of waypoints in the code.
@@arccoplayz9550 it`s possible via BT Transfer waypoints, with Laptop on Field not so good ;) ....
bro try to use the jhonson a grade 12v motors or orange brand these robo 12v motor are 3rd grade does'nt produce a better force to our robot
the problem is not with the motors themselves, infact these are overpowered as they keep spinning in the sand. the problem is with the wheels not being able to put the power down and move the robot.
Thank you very much for the video, I have a question. I want to make something similar but I want to write my own code, would you tell me how you made the code like the steps like what should I do first maybe the gps or the compass. Also, can I replace the bluetooth module with an esp32? Because I have a website that could display the given data from the Mega. Thank you!
Well i suggest you just start with getting all the seperate modules (like gps navigation, esp etc) then in a seperate doc get the math working first then integrate the two( the worst part).
@@arccoplayz9550 Okay then, thanks!
@@arccoplayz9550 I have another question. How should I position the compass module?
Uhh just have the x axis (usually marked on the top) facing the front of the robot
the code give me a lot of errors! why?
have you installed all the libraries?
Where can i find the code and schematic??
in the description theres a link it will take you to mediafire page just click download.
good
can you explain the function of "if (stringComplete)" section?
Well i dont exactly remember the code right now, but that will be used to trigger a action after the condition is satisfied (string is completed.)
can you provide circuit diagram for this
pllzzzz can you give circuit diagram fir arduino uno with code
hi, where you find from original code..? any have indonesia language in you code..
Hi the original code was from another channel but i had basically modified everything to make it work.
hallo can you share how the bluetooth work ,where is the display bluetooth?
You have to use a serial terminal app on your phone. Just type bluetooth serial terminal in the play store, there are many options
bro which battery you used
i used a 12v lipo for the motors and a powerbank for arduino
And some info about the project
Sure
Nice project :) !!, but very bad sound in the video, and spoken too fast, transcript is pointless, I use Neo 6M GPS, HMC5883 (chip QMC) compass, 4WD car with AFMotor.h can I adjust the motor.ino? , maybe later for ln298d ? for tracked vehicle (mission offroad)
?? int sensorVal = digitalRead(13); my neo is on rxtx 19,18 serial1 atmega2560
Serial2. // Bluetooth for ? Data transfer to BT-Serial Terminal App? RANGE ?. wouldn't an i2c OLED display make more sense as an output for now or with nr24FL 2.4Ghz telemetry data output? (Mission Planner)
Sorry i have no extra Arduino youtube, my account musican ;)
Greetings from Vienna
Hi if you have sound problems in this video you can check out the upgraded version video i uploaded some time back. About the tracked vehicle thing, yes you can do that just change the outputs in the functions defined a s forward, right, left, etc. While i agree that a oled or a nrf would make more sense as a monitoring method it just adds complexity and this is just a POC so i thought its better to do it with the least amount of work. Infact i am working on a more complex version which allows live waypoints settings hot swapable lists etc. That video will take some time tho but that may help.
Question: when the car reach the first waypoint stops thats ok, but a little bit later turn arround on the same stop point and drives not to the next waypoint ??
Seems like a problem with the gps. Or the waypoints are too near to eachother.
thx, waypoint's 15m different
hello how can I upload the code ? there are 2 codes, and only 1 code can be uploaded at a time
Hi, there are two options for different compasses one of them being the hmc5883l and one being qmc5883l. Inside the folders you will further find 2 codes. Just open one and you will see the second one as a seperate tab. Just upload any one and both will be uploaded.
@@arccoplayz9550 in your project, we supply power then the robot will go to the waypoint ?
If the robot has gps then remove ground from pin 13 then it will yes.
@@arccoplayz9550 i love your project, can i connect with you via Facebook ?
@@arccoplayz9550 what compas and gps used
can u provide the code for that?
Yes it is in the video discription
Circuit diagram for this bro pls give me crkt diagram bro I am also want to do this
the wiring is described in the video and in the code.
Can i get reference paper of rhus project
There was no reference paper like this wasn’t taken from anywhere.
Can you send working video of this project with actual working on a plane floor where car will own it's own
Watch my V2 video it shows it working properly like withouth assistance.
Bro I want circuit diagram
I keep getting error "Could not find a valid HMC5883L sensor, check wiring!". Can you share the wiring diagram?
Yes because i mentioned some hmc5883l are actually qmc5883l. Use the qmc code it will work.
@@arccoplayz9550 Thanks, it finally worked. But i keep stuck in condition where "SensorVal==LOW" and my motor doesn't work
Connect ground to pin 13, it will put the rover to stop mode where you can see the sats available and current cordinates, removing the ground will cause it to move. Check the wiring for motors, also power them from something like a powerbank or battery the Arduino cant supply enough power to run them.
can i have the circuit diagram ?
The wiring is fully explained in the code. Also the video also tells about all the wiring. Hope this helps
@@arccoplayz9550 but your voice hear kinda strange so i can't hear the wiring and the code only have the motor driver pin
Ok here,
Compass:
Scl-scl
Sda-sda
Gps:
Rx-Tx3
Tx-Rx3
Bluetooth:
Rx-Tx2
Tx-Rx2
Hope this helps
@@arccoplayz9550 thank you!
@@arccoplayz9550 help my car not running for no reason =((
zip file is password protected