• Lego Mindstorms NXT Barometric Sensor
The NXT Barometric Sensor can be used as part of a weather station or to monitor altitude. The sensor can be used to read both atmospheric pressure and temperature. The pressure value from the sensor is in 1/1000th of inch Mercury (inHg) and the temperature is in 1/10th degree Celsius. The NXT-G block allows the NXT to read the pressure in either inHg or hPa (hectopascals) and temperature in either Celsius or Fahrenheit degrees. Once adjusted for current conditions, the block can also calculate altitude in feet or meters.
 
The sensor measures atmospheric pressure and temperature.
 
Programming
 
Mindstorms NXT-G
 
The Barometric Sensor Block gives you access to both the pressure and temperature data from the sensor. The block let's you select either metric or imperial units. For pressure, the data can be in either in 1/1000th inch of mercury or 1/10th hectopascals. For temperature, the data is either in 1/10th degree Fahrenheit or 1/10th degree Celsius. Note that the native temperature data from the sensor is in Celsius so the Fahrenheit value does not represent actual resolution.
 
In addition to pressure and temperature data, the NXT-G block also gives you a calculated altitude value in either feet or meters. By default, the altitude calculation is based on a "standard atmosphere" with an altitude pressure at sea-level of 29.921 inHg. The NXT-G block let's you adjust this base altitude pressure by either specifying the known current altitude or by supplying an altitude pressure at sea-level that represents your current conditions.
 
This and other HiTechnic sensor programming blocks are available from the Mindstorms NXT-G Programming Blocks page.
 
 
  1. The number shows which of your NXT's ports is connected to the Barometric sensor. You can change this number in the configuration panel if you need to.
  2. The block's data hub will open automatically when the block is placed in the work area. This value output will be either the current absolute barometric pressure, the current temperature, or the current calculated altitude based on the current Action setting.
Configuring the Barometric Sensor Block
 
 
The sensor may be connected directly to an NXT sensor port or via the HiTechnic Sensor Multiplexer (MUX). When configuring the sensor via the multiplexer, there are two port selections to make. The first is the NXT to MUX connection and the second, the MUX to SENSOR connection.
 
The Barometric Sensor block supports seven actions:
 
  1. Read Pressure - The value output will be the absolute barometric pressure in 1/1000th inHg (inches of Mercury) or in 1/10th hPa (hectopascals).
  2. Read Temperature - The value output will be the temperature in 1/10th degrees of either Fahrenheit or Celsius.
  3. Read Altitude - value will be the approximate altitude based on current barometric pressure and altitude pressure setting.
  4. Calibrate to Input - Calibrate the barometric pressure using the passed in Input value in either inHg or hPa. This will value will become the current barometric pressure. This calibration will override previous calibrations and will affect future Pressure and Altitude readings. This calibration is saved in the sensor's EEPROM memory.
  5. Calibrate to Factory - Restore the barometric calibration to the factory setting.
  6. Set Altitude - Set the Altitude based on the current Input value. The Value output will be the current Altitude Pressure in 1/1000th inHg(regardless of Measurement system selected). Note that this setting is not saved in EEPROM and only applies to subsequent altitude readings within the NXT-G program.
  7. Set Altitude Pressure - Adjust the altitude setting to a specific altitude pressure. This is similar to setting an altimeter with the Kollsman window. Note that this setting is not saved in EEPROM and only applies to subsequent altitude readings within the NXT-G program.
Other Programming Environments
 
RobotC
 
Support for the Barometric Sensor will be available via the RobotC driver suite. RobotC Downloads Page
 
NXC
 
NXC is a C like programming language that can access all the features of this sensor. 
For more information go to http://bricxcc.sourceforge.net/nbc/.
 
Example NXC Code
 
Coming soon...
 
Downloads
 

Write a review

Please login or register to review

Lego Mindstorms NXT Barometric Sensor

  • Brand: HiTechnic
  • Product Code:Hitechnic-NXT-Barometric
  • Reward Points:69
  • Availability:In Stock
  • रo 8,165.60

  • Ex Tax:रo 6,920.00
  • Price in reward points:6920

Related Products

Lego Mindstorm Acceleration / Tilt Sensor for NXT / EV3

Lego Mindstorm Acceleration / Tilt Sensor for NXT / EV3

Now you can make robots that know which way is up! The Accelerometer / Tilt Sensor measures accelera..

रo 8,165.60 रo 8,909.00 Ex Tax:रo 6,920.00

Lego Mindstorms Magnetic Compass Sensor for NXT / EV3

Lego Mindstorms Magnetic Compass Sensor for NXT / EV3

Expand your NXT experiences with the new NXT Compass Sensor and add accurate navigation to your Mind..

रo 8,714.30 रo 8,909.00 Ex Tax:रo 7,385.00

Lego Mindstorms Infrared Seeker V2 for NXT / EV3

Lego Mindstorms Infrared Seeker V2 for NXT / EV3

Play robot soccer and zero in on your infrared (IR) beacons with IRSeeker. You can use most TV remot..

रo 8,165.60 रo 8,242.30 Ex Tax:रo 6,920.00

Lego Mindstorms Color Sensor V2 for NXT / EV3

Lego Mindstorms Color Sensor V2 for NXT / EV3

Add a spectrum of color to your models with the new and updated Color Sensor. Detect an extended ran..

रo 8,165.60 रo 8,909.00 Ex Tax:रo 6,920.00

PICAXE I2C Explorer Kit AXE216

PICAXE I2C Explorer Kit AXE216

A self-assembly kit for the PICAXE-20X2 (included) for those wishing to interface and experiment wit..

रo 1,593.00 Ex Tax:रo 1,350.00

BrickPi+ Base Kit

BrickPi+ Base Kit

BrickPi is best for someone who already has LEGO MINDSTORMS sensors and motors. The BrickPi connects..

रo 20,724.34 Ex Tax:रo 17,563.00

EV3 Infrared Beacon

EV3 Infrared Beacon

This has been designed for use with the EV3 Infrared Seeker Sensor. The beacon emits an infrared sig..

रo 5,221.50 Ex Tax:रo 4,425.00

EV3 Infrared Sensor

EV3 Infrared Sensor

The digital EV3 Infrared Seeking Sensor detects proximity to the robot and reads signals emitted by ..

रo 5,221.50 Ex Tax:रo 4,425.00

EV3 Color Sensor

EV3 Color Sensor

The digital EV3 Color Sensor distinguishes between eight different colors. It also serves as a light..

रo 6,106.50 रo 6,944.30 Ex Tax:रo 5,175.00

EV3 Ultrasonic Sensor

EV3 Ultrasonic Sensor

The digital EV3 Ultrasonic Sensor generates sound waves and reads their echoes to detect and measure..

रo 5,221.50 Ex Tax:रo 4,425.00

EV3 Gyro Sensor

EV3 Gyro Sensor

The digital EV3 Gyro Sensor measures the robot’s rotational motion and changes in its orientation. S..

रo 5,221.50 Ex Tax:रo 4,425.00

Lego Mindstorms NXT Magnetic Sensor

Lego Mindstorms NXT Magnetic Sensor

The NXT Magnetic Sensor will enable you to build robots that can detect magnetic fields. The sensor ..

रo 3,380.70 Ex Tax:रo 2,865.00

Lego Mindstorms NXT IR Receiver Sensor

Lego Mindstorms NXT IR Receiver Sensor

The NXT IRReceiver Sensor receives signals from a LEGO Power Functions IR remote control, decodes th..

रo 7,410.40 Ex Tax:रo 6,280.00

Lego Mindstorms NXT EOPD

Lego Mindstorms NXT EOPD

Accurately detect objects and small changes in distance to a target with the HiTechnic EOPD. The EOP..

रo 8,165.60 Ex Tax:रo 6,920.00

Lego Mindstorms NXT Angle Sensor

Lego Mindstorms NXT Angle Sensor

Measure axle rotation position and rotation speed with the HiTechnic Angle Sensor. The Angle Sensor ..

रo 8,165.60 Ex Tax:रo 6,920.00

Lego Mindstorms NXT Force Sensor

Lego Mindstorms NXT Force Sensor

The NXT Force Sensor will enable you to build robots that can measure a physical force applied throu..

रo 5,900.00 Ex Tax:रo 5,000.00

HiTechnic NXT Extended Connector Cable

HiTechnic NXT Extended Connector Cable

Extend your Mindstorms NXT robotic designs with the HiTechnic Extended Connector Cable . Build creat..

रo 118.00 Ex Tax:रo 100.00

HiTechnic NXT Touch Sensor Multiplexer

HiTechnic NXT Touch Sensor Multiplexer

HiTechnic NXT Touch Sensor Multiplexer for LEGO Mindstorms NXT Introduction The NXT Touc..

रo 4,259.80 Ex Tax:रo 3,610.00

HiTechnic 9V-6xAA Battery Box

HiTechnic 9V-6xAA Battery Box

This Battery Box can be used to power the 360 IR Beacon replacing the beacon's optional 9v internal ..

रo 761.10 Ex Tax:रo 645.00

HiTechnic NXT SuperPro Prototype Board

HiTechnic NXT SuperPro Prototype Board

HiTechnic SuperPro Sensor for LEGO Mindstorms NXT Introduction The HiTechnic SuperPro Sensor..

रo 4,012.00 Ex Tax:रo 3,400.00

Tags: Lego, Mindstorms, NXT, Barometric, Sensor

The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.

Name
Email
Phone
Comments