I’m building a robot (has three wheels)which will go through multiple waypoints which are in cartesian terms. Ex ( 3,5),(-3,5),(2,5)
My teacher said that i shoud use a compass and odometry.
How should i do it? I’m new to arduino,and don’t know where to start.
That is a pretty difficult problem for a beginner with Arduino, and not easy for someone with a lot of experience.
We strongly recommend that you first work through the simple examples that come with Arduino (learn to blink an LED without using delay(), read a button, a voltage, a sensor and control a motor, etc.) in order to learn the language and the special features of the Arduino.
The most difficult part of this project is the robot itself, which in your case has to know where it is and which direction it is moving at all times. GPS usually won't work indoors and is not very accurate.
Using wheel encoders with odometry works OK if the wheels don't slip, but they will. You can use an electronic compass to determine orientation, except that the compass will be confused by nearby iron objects and the magnetic fields from the motors.
Start small and work your way one by one through the many difficult problems that will arise.
Thanks for the reply first of all!
i need to complete this project at July 2019.
So im going to buy arduino uno,a rotary encoder,a robot kit and a digital compass am i right?
I couldn’t find solo odometer for breadboard,i hope it is integrated in encoders..
My teacher wants from me to decide the components and sensors for my project and complete the modelling of the sensor which will be used in robot. So if you have any suggestion for this modelling,i would really appreciate it.
So you are saying that, odometry and compass is OK but its not going to be that easy. I need to work on calibration problem as i understand.
If i complete this project he said that we will add a feature: object avoidance and going through waypoints.
bugra0694:
i need to complete this project at January 2019.
If you are not already familiar with Arduino programming that is an unlikely target - even if you can spend 8 hours per day working on it.
Even if you are familiar it will be challenging.
Order coffee.
...R
You should probably plan on June, 2019 for project completion, especially if you don't have a robot yet. There is absolutely no way a beginner could have it working by January.
This 4WD robot chassis is a good starting point. You can get motors with encoders for all four wheels. This motor driver work with those motors (one motor driver for each side required, with two motors in parallel).
The cheaper L293 or L298 drivers WILL NOT work with those motors.
Yeah i miswrite it at the post,i edit it guys.
i really need help to decide steps.
So step 1: Learn arduino!
Whats going to be other steps if i can get enough experience?
Can you say the components i’ going to use? I will buy them this week.
thanks for the suggestion by the way,but he said that its going to be three wheeled: like above
https://goo.gl/images/PSTqeu
Does encoder has an odometer? Or is it doing the same job with encoder? i couldn’t find an odometer for a breadboard.
Does encoder has an odometer?
An encoder sends a signal that allows your Arduino program to count (fractions of) wheel rotations. The program converts signals from each wheel to figure out how far the robot has moved, and THAT is the odometer.
bugra0694:
Can you say the components i’ going to use? I will buy them this week.
My strong recommendation is NOT to plan to buy all the parts now. Just buy what you need to start learning about using an Arduino. As you gain experience you will be better placed to decide what parts you should get.
The one exception to that advice may be to buy an Arduino wheeled robot kit. Don't worry if it does not have everything you think you will need. You can add (or subtract) things when you have more experience.
...R