Ishaan Jain
· 1 min read

Mindstorms part 2

Mindstorms part 2

Now that I know a little bit more about coding and the Mindstorms I decided to build a new robot with better balance and re-written code. I ended up making a funny little program. I added a touch sensor and a ultrasonic sensor to detect things. So, when something comes close it can either stop or avoid it. Now that I built a new, more stable robot the coding is much easier and I will continue to use this as a base for future experiments. The Mindstorms has definitely been one of the best gifts I have got. I look forward to making more projects and Legos in the future.

This is my new code for the robot.

The videos below show how this program runs:

robot-step1 from Ishaan Jain on Vimeo.

bye