A maze-solving robot based on the UKMARS Gemini platform
Used Google Gemini, Claude, and Qwen Chat to help me write some functions & debug
A maze-solving robot based on the UKMARS Gemini platform
Used Google Gemini, Claude, and Qwen Chat to help me write some functions & debug
I made a micromouse robot that can solve a 16x16 maze autonomously, and has competed in the 2026 national UKMARS competition!
It was very challenging and I learned a lot, including how to build reliable hardware, software & hardware accuracy, debugging skills, accurate positioning and more!
I’m proud it was able to complete the full-size micromouse maze and I highly recommend anyone interested in robotics to look into micromouse!
What have I done since last devlog?
Tomorrow is the real UKMARS national competition!
Log in to leave a comment
What did I do today?
#define to make it easier to store these values in the codecalculateCellPulses() function specifying whether to apply braking compensation or not (learned about default arguments in functions)Log in to leave a comment
What have I done this time (a lot…):
Log in to leave a comment
What did I do in this session:
Log in to leave a comment
What have I been up to?
Log in to leave a comment
What did i just do?
int instead of bool
So now it drives smoothly as long as 1 wall is present
Log in to leave a comment
I made it use the wall sensor to improve driving in a straight line using PID controller!
Log in to leave a comment
What did I do during this session?
Log in to leave a comment
What did I do today?
Next I need to add a fast mode!
Log in to leave a comment
What did I do today?
i worked more on the maze solving loop, trying to fix some issues with wall detection
turns out, it has to go to the sensing point before reading the side walls which interferes with the sense-think-act loop!
so now it reads walls of the next cell while moving from the previous to next cell!
Log in to leave a comment
I did a lot today:
I also vibe-coded an app to watch the floodfill loop from the mouse (but that’s not included in this time bc it’s AI)
Log in to leave a comment
I wrote the floodfill algorithm in Arduino after finishing the learning slides!
I added multiple functions & it compiles!
I learned about how to structure code efficiently & also the std:queue system
Next steps: implement this with the movements of the robot to make it solve a maze!
Log in to leave a comment
What did I do just now?
Log in to leave a comment
I got the MPU to work and added it to the turning
Now it uses encoder-based turning with MPU for checking/compensation
Log in to leave a comment
What did I do today?
Log in to leave a comment
I tried to add the MPU 6050 gyroscope in, but it just hangs & doesn’t give any readings so i don’t know why!
Log in to leave a comment
A quick session where I:
Log in to leave a comment
I worked for 1 hour to:
and now it works (kind of…)
Log in to leave a comment
I added Bluetooth-based configuration to my robot - no more recompiling just to change Kp or Kd values!
Log in to leave a comment