Skip to main content

Taking the NXT hiking... as an altimeter

I recently returned from a wonderful week-long vacation in the Rocky Mountains here in the US, and of course took along the NXT. I mentioned before that I was trying to get the NXT to function as a pedometer to record footsteps for a project I was working on. Well, I didn't get the pedometer working, but I certainly had fun on the project...

The HALE mission is rapidly approaching, and one of the things I wanted to do on my payload was fly a good pressure sensor. A really good one, with possible vertical resolution in the range of a meter or better. After some discussion with the folks over at Hitechnic, they were able to put together a prototype for me to fly with very high resolution. But how to test it? First, I made a small vacuum chamber from a Tupperware bowl, aquarium supplies, and a large-bore syringe, testing it out under hot sun & in my freezer (my wife did look at me a little funny...). It worked rather well, but I wanted more. Since ultimately the HALE pressure data would be useful to determine altitude, I decided to test the pressure sensor by taking it hiking. First was Picacho Peak in the Dale Ball trails just outside of Santa Fe, NM. It worked wonderfully here, logging the pressure & temperature for over 2.5 hours, and allowing me to reconstruct a very accurate profile of my hike. But for HALE, I'd need more - more calibration points, & more data storage. So with the help of some friends on NXTasy, I developed an NXT-G data compression scheme & took the NXT to Rocky Mountain National Park. Ultimately the NXT could be toggled between two logging speeds, and a touch sensor allowed the user to input "notes", a brief numeric code that would be time-stamped to a record to notate important places during the hike. This way, I'd be able to calibrate the sensor at known elevations (ones much higher than those available to me in Indiana) under "field conditions"... and have a lot of fun generating profiles of my hikes to boot. Think of it as the LEGO geek's answer to commercial altimeters (I had one of those along as well, for calibration).

This worked out better than I could have hoped. Not only was I able to capture a good elevation profile (as good as the commercial units, actually), but I could do it at a far higher time resolution (on the order of a few seconds) over the entire day, and under my control, adding notes when I wanted (such as at important trail junctions, on top of peaks, or to mark rest breaks, etc.). The result is a gallery of trail profiles (altitude vs. time - your speed may differ) for a number popular trails in the Rocky Mountains, like Twin Sisters peak, Flattop, and up to 12,700' on Hallett Peak (as well as some off-trail bushwhacking adventures my wife had some strong words with me about). You could see when I rested, or what my ascent rate was (at times around 1,400' per hour, not bad for me, a "lowlander", at that elevation). I could record the profiles of the car drives, and even the airline flights as well. The unit also recorded the sensor temperature, so I had a rough record of what the temperature was at each step in my hike as well. Ultimately the sensor was precise enough that I could watch it change even as I went up the steps in the hotel (or if I threw the unit high in the air), & on the trail it showed every hill and minor rock outcrop I climbed.

Now admittedly I did this with a very special, high-resolution sensor, and it took some calibration on my part as well. But it's a nifty example of taking the NXT out of the world of toys and into environments & situations that LEGO almost certainly never intended it (& I don't recommend this for survival situations - the right gear for the right job!). In a future post, I'll review some of the existing commercial pressure sensors out there to determine how well they work (I have two that I purchased from Vernier and one from Mindsensors). Even the battery life surprised me - I used Lithium E2's for their light weight and long lifetimes, and was not disappointed, with the unit logging for more than 54 hours worth of run-time before the batteries finally died on the trip home... and even then, the NXT preserved the data.

Not bad for a toy :).

Brickshelf Gallery of RMNP graphs

--
Brian "now, if Long's Peak would just clear of snow..." Davis

Popular posts from this blog

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...

ROBOTMAK3RS Review: LEGO River Steamboat

I thought the LEGO River Steamboat would be an interesting set for a ROBOTMAK3R review for a few reasons. First, the LEGO designer of the model is Marina Stampoli, a long-time collaborator of the late ROBOTMAK3R Vassilis Chryssanthakopoulo s. From earlier collaborations with Vassilis, I  knew Marina was incredibly talented, with an eye for aesthetics and functionality. Her background in architecture is particularly useful for her relatively new position at LEGO. Her other sets include the Magic of Disney (21352), Message Board (41839), and Red London Telephone Box (21347). Second, watching Marina's reveal video  and reading her designer interview made this set even more tempting to build. The gearing mechanisms running through the model gave way to many opportunities for automation using LEGO robotics elements. Since ROBOTMAK3RS is all about adding interactivity and automation to LEGO brick, I thought it would be fun to see where and how LEGO robotics could be added to this s...

Ghostbusters R.T.V Remix

Nino Guba is from Torrance, California, USA. He played with LEGO as a kid, but growing up in the Philippines, it wasn’t something he had easy access to. He only got reintroduced to LEGO when he moved to the US and had kids of his own. When his sons were younger, they received LEGO sets as gifts, but as they grew older, the sets got put into storage as their interest faded. Fast forward a few years, he started coming up with his own product ideas and thought about how he could quickly prototype them. That’s when he discovered LEGO MINDSTORMS—and was hooked! He raided his kids’ old collection, got everything organized, and now he's designing and building his own creations, blending his coding skills with LEGO robotics to bring ideas to life. Tell us about your Ghostbusters Remote Trap Vehicle (R.T.V) project. This project is a LEGO Technic adaptation of the Ghostbusters R.T.V.—a ghost trap converted into a remote-controlled vehicle. Its companion build is a prop replica of the Futaba...