Lego has released the firmware for the NXT Intelligent Brick as open source, along with schematics for all hardware components. A black version of the brick was made to celebrate the 10th anniversary of the Mindstorms System with no change to the internals. The Intelligent Brick remains unchanged with NXT 2.0. Power is supplied by 6 AA (1.5 V each) batteries in the consumer version of the kit and by a Li-Ion rechargeable battery and charger in the educational version. It also has a speaker and can play sound files at sampling rates up to 8 kHz.
It has a 32-bit ARM7TDMI-core Atmel AT91SAM7S256 microcontroller with 256 KB of FLASH memory and 64 KB of RAM, plus an 8-bit Atmel AVR ATmega48 microcontroller, and bluetooth support. The brick has a 100×64 pixel monochrome LCD and four buttons that can be used to navigate a user interface using hierarchical menus. The plastic pin to hold the cable in the socket is moved slightly to the right. It can take input from up to four sensors and control up to three motors, via a modified version of RJ12 cables, very much similar to but incompatible with RJ11 phone cords. The main component in the kit is a brick-shaped computer called the NXT Intelligent Brick.
Hint: If you look at the highlighted menu item, on the right you’ll see F5, that’s the Keyboard Shortcut for Compile and Download Program.Īfter the program compiles it will bring up the Robot Virtual Worlds login window.
Single click on the file Moving Forward.c and then clicking OpenĪt this point you should see Moving Forward.c in the main code window in the ROBOTC IDE.Double click on the file Moving Forward.c.Next, inside the File Open Dialog double click on Basic Movements Next we’re going to run a sample program to make sure we have everything set up correctly.įirst, go to the File menu and select Open Sample Program Note: If you don’t see Select Virtual Worlds to Use or Open RVW Level Builder Utility under the Window menu item then you probably haven’t chosen Virtual Worlds as the compiler target, go back to Step 2.
Now that we’ve set the Compiler Target to Robot Virtual Worlds we can chooose the correct World for our purposes: You’ll know you have that correct when the dot is next to Virtual Worlds. Set the compiler target to Virtual Worlds: Not Graphical and not Robot Virtual Worlds: To bring up the ROBOTC IDE find and double click on the ROBOTC for VEX Robotics shortcut. Run a sample program to make sure everything works.Set the Compiler Target to Robot Virtual Worlds.
There’s a few steps we need to take care of: We’re going to be doing all of our programming inside the ROBOTC IDE and running are programs on virtual robots inside Robot Virtual Worlds. Chapter 1 - Getting Started Getting Started