Nxt 2.0 Race Car Program



  • Download the LEGO MINDSTORMS EV3 Education Software (for free)

    You can now download the LEGO MINDSTORMS EV3 Education and Wedo 2.0 software for free from the LEGO website: [Using this link] This includes all of the instructions and programs for the education models. No LEGO account or license required!
  • SNATCH3R: Autonomous Robotic Arm

    The SNATCH3R is one of the most advanced robots in the EV3 Discovery Book. It can autonomously find, grab and lift the infrared beacon. If you like, you can also drive it around using the remote control and pick up objects on the way! You can find step-by-step building instructions in the LEGO MINDSTORMS EV3...
  • Star Wars BB8

    This BB8 from Star Wars is a self-balancing robot I developed with Anton Vanhoucke and Ellen Pennings. It’s based on the previous generation of the balancing ball bot, but this one uses omniwheels to drive. In addition to balancing, this allows the robot to turn its head. Balancing happens autonomously using a control loop that...
  • MINDSTORMS EV3 Ball Balancing Robot

    This robot is able to balance itself on a ball, using a mechanical design and software that is very similar to two segway type of robots running at the same time. One of these “segways” uses two motors and a gyroscopic sensor to control the ball in the forward/backward direction, while another set of motors...
  • Balancing Robots in Python and C

    The ev3dev Python source code for the EV3 Balancing robot and the C code for VEX IQ is now available on Github! The code is a simplified version of previously released code, leaving out unnecessary calculations, making it easier to write and tune. The plan is to release EV3-G and RobotC versions of the new...
  • Tutorial: Segway IQ

    The VEX IQ robotics kit comes with several cool sensors, including a gyroscope. Perhaps not surprisingly, I wondered if it could be used to create a self balancing robot. And it can! I’ve provided the program and building instructions below so you can build your own balancing robot. You can build it with the basic...

After watching the little race car by NXT Programs I decided that I had to build that one. This Race Car is built using the standard parts of Mindstorms set.

As you can see aspect isn’t completely finished and well, the one at NXT Programs looks slightly better. I did on the other hand a tune so I can upload programs to the NXT Brick using USB.

The car is fairly easy to build just with the parts supplied at LEGO Mindstorms 8547 Set. So I launched building it and just skipped the external look part.

NXT Race Car Program

Use the program Bumper Car for your bumper car. This simple program tells the robot to go straight until the bumper hits something, then back up a little, turn right, then go back to going straight again (repeating forever). This program would be easy to modify with your. Download lego mindstorms nxt 2.0 for free. System Utilities downloads - LEGO MINDSTORMS NXT by LEGO and many more programs are available for instant and free download. I built the Snatcher (from the NXT 2.0 Discovery Book), and have run into a problem I can’t seem to fix. It goes through the motions of finding the object (a colored paper tube), but never seems to actually recognize it, completing 2 180 rotations and dropping its arm at a random location.

Nxt

Uploading and running the program. Using the commands above, you obtain the HelloWorld.nxj file. You can now upload it to the NXT brick to execute it. To do that, use the following command: nxjupload -r HelloWorld.nxj. The parameter -r means, that the program will be executed after it has been uploaded to the NXT. By omitting the parameter. NXT Race Car Program. I wrote just two small programs for the Race car. Find the line and speed up. First program is a very simple one, the race car will move forward at 50% of the motor power until it finds the black line. Then it will accelerate to 100% Power for 3 seconds and coast. The program as you see is quite simple but it has two big.

I wrote just two small programs for the Race car.

Find the line and speed up

First program is a very simple one, the race car will move forward at 50% of the motor power until it finds the black line. Then it will accelerate to 100% Power for 3 seconds and coast.

The program as you see is quite simple but it has two big problems. By design there is no easy way of knowing if the car is going straight or not, and as you can see on the video, a small error on direction means that the car will crash against a wall.

Also, the car can’t detect if it has collided against a wall and so stop the motors. This is an easy to fix feature. We can either add a press sensor on the front of the car bumper so that when it hits anything the car stop or we can just use a Loop to move the car so that when the motors rotation sensor values don’t change we can suppose that the car has collided.

Nxt 2.0 race car programming

LEGO Mindstorms NXT file: Download

Nxt 1.0 software

Remote control using Touch sensor

Ok, the above one was promising but not very impressing, so I decided to give a try to the remote control using the press sensor for the task.

I coded a very simple behaviour, left button pressed go left, right button pressed go right. Quite clever, eh?! The car is always moving forward at a limited speed.

With this one I had the problem that if you steer too much the car the wheel is almost perpendicular to the chassis and the car stops. Checking the code from NXT Programs I saw they limited the amount of degrees that the wheel can turn. #clever

Nxt

LEGO Mindstorms NXT file: Download

Nxt 2.0 race car program reviews

So what I say?! The car is very simple to build, and fun, but I am really dissapointed with the result. With my programs it was really hard to get the car going straight and the remote control wasn’t fun at all.

Nxt 2.0 Projects

Building experience
Value for money
Playability
Parts

Nxt Race Car Robot Designs

I was planning to feature a line follower with this model but after checking the results I decided it wasn’t worth the work. My next MOC will do nice line following I promise.





Comments are closed.