Lego Mindstorms NXT explained
Lego Mindstorms NXT is a programmable robotics kit released by Lego on August 2, 2006.[1] [2] It replaced the Robotics Invention System, the first-generation Lego Mindstorms kit. The base kit ships in two versions: the retail version[3] and the education base set.[4] It comes with the NXT-G programming software or the optional LabVIEW for Lego Mindstorms.[5] A variety of unofficial languages exist, such as NXC, NBC, leJOS NXJ, and RobotC. A second-generation set, Lego Mindstorms NXT 2.0, was released on August 1, 2009, with a color sensor and other upgrades. The third-generation EV3 was released in September 2013.
NXT Intelligent Brick
The kit's main component is the NXT Intelligent Brick computer, which can accept input from up to four sensors and control up to three motors with a modified version of RJ12 cables (similar to, but incompatible with, RJ11 phone lines). The plastic pin to hold the cable in the socket is moved slightly to the right. The brick has a 100×64 pixel monochrome LCD and four buttons that can navigate a user interface with hierarchical menus. It has a 32-bit ARM7TDMI-core Atmel AT91SAM7S256 microcontroller with 256 KB of FLASH memory and 64 KB of RAM, an 8-bit Atmel AVR ATmega48 microcontroller, and Bluetooth support. The kit has a speaker, and can play sound files at sampling rates up to 8 kHz. Power is supplied by 6 AA batteries (1.5 V each) in the consumer version of the kit, and a rechargeable Li-Ion battery in the educational version. The brick is compatible with sensors and motors of its successor Lego Mindstorms EV3.[6]
Development kits
Lego has released open source firmware for the NXT Intelligent Brick and schematics for all hardware components.[7]
Several developer kits are available with documentation for the NXT:
- Software Developer Kit (SDK), with information on host USB drivers, executable file format, and bytecode reference
- Hardware Developer Kit (HDK), with documentation and schematics for the NXT brick and sensors
- Bluetooth Developer Kit (BDK), documenting protocols used for Bluetooth communications
Programming
Simple programs can be created using the menu on the NXT Intelligent Brick. More complicated programs and sound files can be downloaded with a USB port or Bluetooth. Files can be copied wirelessly between two NXT bricks, and some mobile phones can be used as a remote control. Up to three NXT bricks can communicate simultaneously via Bluetooth when user-created programs are run.
The kit's retail version includes software for writing programs that run on Windows and Mac OS personal computers. The software, based on National Instruments LabVIEW, provides a visual programming language for writing simple programs and downloading them to the NXT Brick; instead of requiring users to write lines of code, they can use flowchart-like blocks to design their program.
Ch is a C/C++ interpreter running C/C++ code to control Lego NXT or EV3. No firmware upload/download or compilation is needed. A C/C++ code running in Ch can control a Lego NXT, EV3, or multiple of NXT/EV3.[8]
Sensors and actuators
The Lego Mindstorms NXT base kit includes:[9]
- Three servo motors with built-in reduction gear assemblies and internal optical rotary encoders which sense their rotations within one degree of accuracy.[10]
- A touch sensor detects whether it is pressed, has been bumped, or is released. The orange enter button and the gray right and left NXT buttons can be programmed as touch sensors. In the NXT-G programming software, a value of 0 is given when it is not pressed and a value of 1 is given if it is pressed.[11]
- A light sensor detects the light level in one direction, and includes an LED for illuminating an object. It can sense reflected light values with the built-in red LED, or ambient light. In the NXT-G programming software, it senses light on a scale of 0 to 100; 100 is very bright, and 0 is dark.[12] If calibrated, the sensor can be used as a distance sensor.
- A sound sensor measures volume on a scale of 0 to 100; 100 is very loud, and 0 is silent.
- An ultrasonic sensor can measure the distance from the sensor to something it is facing and detect movement. It can show distance in centimeters and inches. The maximum distance it can measure is, with a precision of . The sensor sends ultrasonic sound waves that bounce off an object ahead of it and then back, and senses the time it took.[13]
Other parts may be bought separately.[14] Third-party companies manufacture sensors such as a compass, gyroscope, infrared tracker, RFID reader and accelerometer sensors sold by Lego. The temperature sensor can measure in Celsius or Fahrenheit.
Connector
Sensors are connected to the NXT brick with a six-position modular connector with analog and digital interfaces. The analog interface is backward-compatible (using an adapter) with the older Robotics Invention System. The digital interface is capable of I2C and RS-485 communication.
Pin number |
1 | ANALOG | Analog interface, +9V supply | White | |
2 | GND | Ground | Black |
3 | GND | Ground | Red |
4 | IPOWERA | +4.3V supply | Green |
5 | DIGIAI0 | I2C clock (SCL), RS-485 B | Yellow |
6 | DIGIAI1 | I2C data (SDA), RS-485 A | Blue | |
NXT 2.0
Lego Mindstorms NXT 2.0 is the second set in the Lego Mindstorms series, introduced on August 5, 2009, at the Lego Shop in the U.S. The set contains 619 pieces, including a sensor that can detect colors. It was followed by the Lego Mindstorms EV3.[15]
Features
- A sound editor for recording a sound and programming the NXT brick to play it.
- An image editor for downloading an image to the NXT brick to appear on the screen.
NXT intelligent brick
- 32-bit Atmel AT91SAM7S256 main microcontroller (256 KB flash memory, 64 KB RAM)
- 8-bit Atmel ATmega48 microcontroller @ 4 MHz (4 KB flash memory, 512 Bytes RAM)
- 100×64 pixel LCD screen
- Four RJ12 input ports (ports 1–4)
- Three RJ12 output ports (ports A-C)
- USB port
- Bluetooth Class II V2.0
- Loudspeaker – 8 kHz sound quality, 8-bit resolution, 2–16 kHz sample rate
- Four push buttons to navigate menus and use in programs
- Powered by six AA batteries or the NXT rechargeable battery
See also
External links
Notes and References
- What's NXT? LEGO Group Unveils Lego Mindstorms NXT Robotics Toolset at Consumer Electronics Show . . 2007-09-17 . January 4, 2006 . . https://web.archive.org/web/20090708131613/http://www.lego.com/eng/info/default.asp?page=pressdetail&contentid=17278&countrycode=2057&yearcode=&archive=false . July 8, 2009 . dead .
- LEGO MINDSTORMS NXT Robotics Toolset Now Widely Available . . July 3, 2022 . August 2, 2006 . . https://web.archive.org/web/20060911025537/http://www.lego.com/eng/info/default.asp?page=pressdetail&contentid=21257&countrycode=2057&yearcode=2006&archive=true . September 11, 2006 . dead .
- Web site: 8527Mindstorms NXT Kit. Mindstorms.lego.com. LEGO Group. 2008-12-26. 2009-02-03. https://web.archive.org/web/20090203224929/http://mindstorms.lego.com/Products/. dead.
- Web site: Lego Mindstorms Education NXT Base Set. Education.lego.com. 2011-09-30. https://web.archive.org/web/20111210153002/http://education.lego.com/en-gb/products/mindstorms/9797/. 2011-12-10. dead.
- Web site: LEGO Education | Products > Middle School > NI LabVIEW for LEGO MINDSTORMS Software . 2011-11-16 . 2011-12-16 . https://web.archive.org/web/20111216105420/http://www.legoeducation.us/eng/product/ni_labview_for_lego_mindstorms_software/2257 . dead .
- Web site: 2013-11-01 . Using EV3 software to run the NXT – LEGO Engineering . 2024-08-05 . en-US.
- Web site: All the tools to take your Lego Mindstorms NXT to the Extreme! . https://web.archive.org/web/20091006202012/http://mindstorms.lego.com/Overview/NXTreme.aspx . 6 October 2009 .
- Web site: UC Davis Center for Integrated Computing and STEM Education » Ch Robot Controller. Ucdavis.edu.
- Web site: Home – LEGO MINDSTORMS® - LEGO.com – Mindstorms LEGO.com. Lego.com. 2009-01-15. 2012-05-29. https://web.archive.org/web/20120529013030/http://mindstorms.lego.com/eng/Overview/default.aspx. dead.
- Web site: Home – LEGO MINDSTORMS® - LEGO.com – Mindstorms LEGO.com. Lego.com.
- Web site: Home – LEGO MINDSTORMS® - LEGO.com – Mindstorms LEGO.com. Lego.com. 2009-01-15. 2012-02-17. https://web.archive.org/web/20120217215501/http://mindstorms.lego.com/eng/Overview/Touch_Sensor.aspx. dead.
- Web site: Home – LEGO MINDSTORMS® - LEGO.com – Mindstorms LEGO.com. Lego.com.
- Web site: Home – LEGO MINDSTORMS® - LEGO.com – Mindstorms LEGO.com. Lego.com.
- Web site: Home – Lego Mindstroms - LEGO.com. Lego.com. 2009-01-15. 2009-10-06. https://web.archive.org/web/20091006194016/http://mindstorms.lego.com/Products/Sensors/Default.aspx. dead.
- Web site: LEGO Mindstorms NXT 2.0 launches. Pocket-lint. November 6, 2018. January 28, 2009. Stuart. Miles.