Why can you not use encoders?
Awesome. 1. Can you post the details of the assignment? It will help if we have a good understanding of your requirements. All details are relevant and should be listed. The specs on mouse and the maze specifically, but give the entire assignment.2. Are you given a set of hardware or is it up to you to determine what to use?3. When was the assignment given? 4. When is it due? 5. What is your arduino coding experience?Most forum members will not do your homework for you, but are more than happy to help you do it. So you will be writing the code. We will help you with questions you have along the way.
1. The assignment is just like the contest of micromouse. But the start and end cells are at (0,0) and (4,4) respectively.
2. The hardware is listed below: I. Arduino Uno II. TT motor x2 III. L298N (for TT motors) IV. ultrasonic module x3 (for front, left, and right)
3,4: It was given almost two weeks ago, and will end in three days...
5. I'm good at C++ (I've joined some big contests in our country)
1. OK, the rule of the micromouse is quite simple: build a self-running robot and solve the maze, for each maze, you have three times to attempt. The goal is to solve the maze as fast as possible.
The assignment is just like the contest of micromouse. But the start and end cells are at (0,0) and (4,4) respectively
For the approach part:The section of straight line is OK, but for the turning process, it's not quite accurate as I want. (I'm still working on this part)
And what I'm looking for is how to know how far it goes if I don't use any encoder. Because as it started to run, the voltage might drop, and I'm afraid that if I hard code the PWM value for every action, it might get inaccurate at last.
And...Sorry that I can't take pictures of it. My teammates don't let me do so (Don't know the reason...)
If you get 3 shots at the maze, consider having the mouse alternate the left hand/right hand rule on each execution.That way if one results in a faster solution, you will hit it.
And if it's impossible for knowing how far it goes without an encoder, I'll just try right(left) hand rule instead.Thank you for answering my questions!