Usage Policy

These programs are designed for recreational and educational use by non-competitive individuals only. The use of these programs in competitive events (e.g. FLL) is prohibited. NXT-progs is not responsible for the misuse of these programs.
Showing posts with label Programs. Show all posts
Showing posts with label Programs. Show all posts

Thursday, September 27, 2012

Breakout and Tic Tac Toe

I have been learning NXC (Not eXactly C) for the NXT using BricxCC. I have programmed NXT versions of Breakout and Tic Tac Toe.

Downloads:
Breakout nxc, Breakout rxe (Requires NXC Enhanced Firmware. The enhanced firmware works fine with NXT-G.)
Tic Tac Toe nxc, Tic Tac Toe rxe

If you don't know what to download, just download  "Tic Tac Toe rxe" and use NXT-G to download it to your brick:

  1. Open NXT-G.
  2. Create a New Program.
  3. Click the NXT brick in the in the bottom right corner.
  4. Connect to your brick.
  5. Click the Memory tab.
  6. Click Download.
  7. Locate your file, and click OK.
  8. Click Close.

Please comment on how it works!

Friday, January 27, 2012

Automatic Light Calibration

This program drives forward for 2.5 seconds, with the sensor on. If it sees an area that is lighter then it is currently calibrated at, it will calibrate the minimum to that level, and vice versa for dark areas.
Click here to download the program.

Thursday, December 8, 2011

Perpendicular alignment

Here is a program that lines a robot up perpendicular a black line. It can align both forward and backward. This program requires two light sensors placed next to the two drive wheels. Enjoy!

Thursday, June 23, 2011

Speed and Acceleration calculator

This program is designed to be placed inside another program in order to tell you the rotation speed (in degrees per second), and the acceleration (in degrees per second per second). I hope you will find this useful. DPS and DPSPS

Friday, March 25, 2011

UltraSonic Finder


If you have these pieces, you can build them onto a robot and then use the following program.
This program finds an object, and then centers it's self on it. It then will proceed to shoot the object. These instructions are for the A motor, and B & C are used for driving. You will have to attach the motor on your robot, with an UltraSonic Sensor in Port 4 The shooter piece (above) is not in Lego Digital Designer, but it is obvious where it belongs in the model.

Friday, March 4, 2011

Magic 8 brick

And now on the fun side, here is a magic 8 ball spoof. Run the program, ask your question, press the button, and get your answer. Magic 8 brick download

Wednesday, March 2, 2011

Simon program

Alright, this program has been tested and it works. Here is the Simon program that need  no motors or sensors. Simon download

Wednesday, February 23, 2011

Stopwatch

This stopwatch program uses the enter button to start and stop, and the right button for the lap time.
Stopwatch download

Thursday, February 17, 2011

Saturday, February 12, 2011

Bop It Game

Here is an NXT Bop-It. It is like the Bop-It! made by Hasbro. Click here to download the Bop-It sounds, programs and building instructions. Please note that after building the Bop-It that you have to put a rubber band on it, like shown in red in the pictures to the right.

Friday, February 4, 2011

Read a txt File

Here is a program to read a text file.
How to use:
Create a text file, name it 'text.txt', open it, write 10-25 lines in it and save it.
Open 'Read a txt File.rbt' using NXT-G, click the NXT Brick.
Connect to your brick, then select the Memory Tab.
Click Upload, and upload 'text.txt'.
Run 'Read a txt File' on your NXT. Enjoy.

Tuesday, February 1, 2011

Line following PID controller

This zip file contains a Line following program based on the PID controller concept, plus a Calibration program that should run before running the other program.
Line following PID download
For more information about PID controllers, please visit: www.inpharmix.com

Monday, January 31, 2011

Remote control bot

This File contain two programs; one for the controller and one for the actual robot. It also contains a model of a controller for those who have Lego Digital Designer.
Remote control bot download
This has not been tested because it takes two NXTs

Friday, January 28, 2011

Games

Contained in this download is four games I created. Most of them require motors in the B and C ports. (attaching a tire to the motor will help you turn) The included games are as follows: Games download

Pong 2: Based of the original Pong game. Turn the motors to move the paddles up and down to keep the ball in play.

Salt-on-snail: An original game created by me. Turn the motor to move the snail back and forth to avoid the falling salt flakes.

Space invaders: Turn the motor to move your ship back and fourth and press the enter button fire. Destroy the enemy ship before it reaches the bottom.

Whack-a-pirate: A lot like Whack-a-mole, as the jolly rogers appears, press the corresponding as fast as you can.

Etch-a-sketch

Here is a basic Etch-a-sketch program. Only needs two motors in the B and C port. (it's included int the games file)