NXT Self Driving Car

Standard

The Project

In this project I am making a self-driving car using Lego Mindstorms NXT and programming it using the Lego Mindstorms NXT programming software.

Video

How To Do It Yourself

Step 1 Build the Car:
To build the car first you need a Lego Mindstorms NXT set. You need to build a car with two motors. The one on the right of the car should be connected to port A on the Mindstorms NXT brick and the one on the left of the car should be connected to port C. The ultrasonic sensor should be at the front of the car and should be connected to port 4 of the NXT Brick.
Here’s a short video explaining it:

Step 2 Write the Program:
The program is written using the NXT Software. In the program I tell the car to keep moving if there isn’t a obstacle in front of it and go backwards and turn in a completely different direction if there is an obstacle in front of it. The car also makes a noise when an obstacle is encountered.

Advertisements

Ask a Question or Comment Here

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s