Skip to main content

Review: NXT Temperature Sensor

I realized I have a lot of sensors. I should really review them :).

I've been using the new NXT temperature sensor (mentioned here in the blog a while back) for a couple of projects, and decided to blog my opinion of it. Note this isn't even remotely authorized, approved, or perhaps even noticed by LEGO et. al... these are just my experience and opinions, your mileage may vary.

Both the old analog temperature sensor (product ID W979889, $38.95, although you need a conversion cable to use it with the NXT) and the newer digital temperature sensor (product ID W979749, $39.95) are available from LEGO Education (they're not normally distributed through the retail arm of LEGO). I've been using these for a number of projects, including monitoring the temperature in my house and freezer, and recently for instrumenting a model geyser (in my kitchen... yeah, it's messy around here).

The old sensor is analog - it actually put out a voltage that changed with the temperature that the NXT or RCX had to digitize, resulting in only 1024 possible temperature values. This worked fine, but it has a number of limitations: -20 to +50 °C (so it won't work in boiling water), poor accuracy at the extremes, and limited resolution (0.2° C, but the actual accuracy is somewhat less than that). Physically the sensor also has a fairly "short" safe temperature probe: 2.4 cm long, but only the last 8 mm are "sealed" in metal, so it can't extend very far into liquids. On top of this, to use it with the NXT requires the conversion cable, another (separately order) part.

The new sensor is digital: it converts the measured temperature to a number with far more precision (up to 12 bits), potentially resulting in a temperature resolution of 0.0625° C... and in addition, the with the sensor itself doing the measurement it is much more accurate across the entire range of measured temperatures. Furthermore, the new sensor has a much higher range: -40 to 125 °C (although LEGO recommends only -20 to 110 °C), not only a drastic expansion, but one that now includes the boiling point of water. And to use this new high-temperature range, physically the sensor is improved as well, with 6.4 cm of sealed metallic probe to protect the probe from liquids (more than twice as long as the older version). Both versions come with the cable integrally attached to the sensor (probably to avoid problems with using electrical connections around liquids), but the new version sports a much longer 50.5 cm cable.

Actually testing the sensors points out some other very important improvements. I put both sensors on a common mount, and dipped them into icewater, followed a short time later by dipping them in a cup of hot tap water. The results were dramatic: despite appearing larger (and therefore, perhaps, taking a longer time to reach equilibrium), the new temperature sensor responded much faster (about 5 or 6 times faster) to changes in temperature than the old version. Dipping the probe deeper into the cup of hot water (something you can't even do with the yellow one) showed another interesting fact: the actual electronic sensor seems to be at or very near the tip of the probe, allowing you to memeasure, for instance, how the temperature changes with depth in the cup of water, or at very specific points on a surface. A detailed look at the reported temperatures also shows the much smoother profile generated by the higher-resolution sensor, compared to the more course measurements of the previous version. Dipping the sensors into near boiling water showed the improvements even more clearly... and showed the younger sibling clearly outperforming the older time-tested version in a bath of near-boiling water.

For science teachers and others who use the NXT to record environmental variables, there's no question in my mind: the new sensor is far superior to the old one. this doesn't mean the old one is worthless (far from it), but when choosing between the two in a new purchase it's hard to find any reason to select the analog version. If pressed, I'd say the only downside of the new version is the fixed cable length - with the RCX sensors, you could always add another cable end-to-end to extend it, while this is very difficult with the NXT sensors (and really, may not work well over a meter in length anyway due to I2C issues). As I mentioned above, I've been studying how a geyser operates by building a small model (a meter or two tall) in my kitchen (note: I'm probably safe in saying working with explosive, boiling liquids is NOT what LEGO recommends doing with the NXT). I placed the sensor tip in the geyser outlet, where it was exposed to splashing, boiling water and live steam off and on for more than 12 hours of run time, protected only by a plastic sandwich bag over the sensor body. It handled this sort of abuse just fine, and revealed the striking regularity of the model eruptions, as well as allowing an estimate of how much hot water was discharged. This would not have been possible with the old sensor, due to both the sensor housing and the limited temperature range.


Analog (old) Temperature Sensor:
  • Analog reading (10 bit digitization onboard the RCX/NXT)
  • Range: -20 to 50 °C
  • Resolution: 0.2° C
  • Probe length: 2.4 cm (0.8 cm metal)
  • Cable length: 15.5 cm
  • Note: poorer accuracy and resolution near sensor limits.
Digital (new) Temperature Sensor:
  • On-sensor digital conversion (up to 12 bit resolution, communication via I2C)
  • Range: -40 to 125 °C (can handle boiling water)
  • Resolution: 0.0625° C
  • Probe length: 6.4 cm (all metal)
  • Cable length: 5o.5 cm
  • Note: much faster thermal response than older version (low thermal mass)
OK, what can I do NeXT :) ?

Brian Davis

Popular posts from this blog

Celebrating MINDSTORMS with a Remix - Part 2

The ROBOTMAK3RS continued their celebration of the 25th Anniversary of MINDSTORMS through these summer and fall remix projects. Each ROBOTMAK3R was tasked with selecting one LEGO set of their choice and combining it with a MINDSTORMS set. Below are the five amazing models they came up with. Remote controlled material handle r by Jozua van Ravenhorst (aka Mr Jo) This remix combines the LEGO Technic Material Handler (42144) with MINDSTORMS EV3 (31313) It uses the power of pneumatic cylinders to move objects around. By using a bluetooth remote control, very precise movements can be made with this model. Touch sensors in the base chassis prevent the turret twisting the cables that go through the turntable to much. The program has several protections to prevent over pressurizing the system for each of the 3 individual pumps and valves that control the 2 booms and claws. The real version of this machine is mostly used in waste material sites to bring the material to machines that sort and


2023 is the 25th Anniversary of the MINDSTORMS brand. For 25 years, MINDSTORMS has educated and inspired a generation of robot builders, both children and adults. Unfortunately, the LEGO Group decided to end the line on December 2022. Many ROBOTMAK3RS have been passionately involved with the development of MINDSTORMS through the MUP and MCP programs. Even with the newest Robot Inventor line, several ROBOTMAK3RS were invited to submit additional bonus models that were included in the official app. Regardless of the retirement of a major LEGO robotics product line, ROBOTMAK3RS continue to MAKE-SHARE-INSPIRE using all LEGO robotics platforms available to us. Here is the official statement from LEGO. Since its launch in September 1998, LEGO MINDSTORMS has been one of the core ‘Build & Code’ experiences in the company’s portfolio, carrying with it significant brand equity and becoming a stand-out experience for the early days of consumer robotics and leading to current Build & Code

Celebrating 25 Years of MINDSTORMS

In celebration of the 25th Anniversary of MINDSTORMS, we take a trip through history. Please also visit ROBOTMAK3RS Community every week as we highlight different projects all through 2023 in celebration of the anniversary. Some of the early history is based on the content shared by  Coder Shah  in our  MINDSTORMS EV3 Community Group . Some of the text and links may have been edited from his original posts for consistency and clarity.  1984 - Kjeld Kirk Kristiansen watched a TV program called "Talking Turtle," where MIT professor Seymour Papert demonstrated how children could control robot "turtles" using LOGO, a programming language he developed. 1988 - The collaboration between MIT and LEGO resulted in LEGO TC Logo in 1988, which allowed students to control LEGO models using computer commands. The video shows Papert demonstrating TC Logo. 1990 - LEGO TC Logo was hampered since the robots you built had to be tethered to a personal computer. LEGO and MIT