In this task we have fine tuned a code to have our micromouse go straight for at least 300cm and then when left sensor detected turns right and then the right sensor detected turns left. If both detcets and object forward then it must do 180 degree turn.

The hardware to use the micromouse was first IR where it use one sensor each and is quite small to be able to fit them in and it also have one touch bar where one is pressed it does retreat and then turns in the opposite direction of the bar that is touched.

This was completed on the 08/12/24

It was later changed to involve the ultrasonic instead where we can apply the following advantages of a greater distance which have a small affect but can detect the black now. However the main function does not impact and change for the code apart from the different pins that the ultrasonic is connected to.

Categories:

Tags: