The ultrasonic sensors are to replace the front IR sensors with the purpose of giving a greater distance and being a better potential of detecting different objects in front of it. This started through experimentation of the ultrasonic testing different codes to see if they work and seeing what is possible to do and whether we can add a set distance for detection to do a certain activity depending on which sensor detected it.

After testing the ultrasonic, it was soldered onto a circuit board with the 4 wires for each the section where it it then placed on the micromouse and another test with code implemented into the main code and changes to distinguish the different function.

The positives of this device is that it can detect further away making it easier to get a detection and it can also detect black which was a major draw back for the IR. This detection can be used in combat with other robots.

Ultrasonic emits sound wave, at frequency that humans can’t hear, that bounce back which tells a certain distance for the ultrasonic and using the code we can determine different depending on the distance that comes back.

The following image shows our micromouse with two ultrasonic sensors at the front and this is to allow us to go left, right and then do a u turn if both are detected.