Deprecated: Function eregi() is deprecated in /public/sites/www.techbricks.nl/plugins/system/sefservicemap.php on line 51
NXT-G Mindsensors pressure block in mBar | My NXT projects
Home NXT-G pressure block
Bookmark and Share

Who is online?

We have 62 guests online
Where do visitors come from?
Locations of visitors to 

this page

Visitors in 2009:


Visitors in 2008:


page counter:



PDF Print E-mail
Written by Techbricks.nl   
Saturday, 29 March 2008 12:51

NXT-G block for the NXT Mindsensors pressure sensor calculate pressure in mBar.

I asked Dr. Nitin Patil (founder and CEO of Mindsensors) if it would be possible to release a NXT-G block for the Mindsensors pressure sensor which calculate a pressure value in mBar instead of PSI. In many countries in Europe we use Bar and mBar to calculate pressure. In the US and Great Britain, from what I understand, PSI is usually used to calculate pressure.







note: PSI means pounds per square inch.
1 Bar = 100 kPa (kilopascals) = 1,000,000 dynes per square centimeter (baryes)
1 Bar (1000 mBar) = 14.5038 PSI
1 PSI = 0.068947mBar
(for more info look at http://www.convertworld.com/en/pressure)

The new NXT-G pressure block is more accurate.
The original Mindsensor pressure NXT-G block calculate the value in PSI. The range of the pressure level goes from 0 to 35. I knew from the characteristics of the sensor that it could be more accurate then that: The raw value of the sensor goes from 130 to 1023. That is about 25 times more accurate!

Dr. Nitin Patil did reply immediate. He would try to fore fill my request. Within 24 for hours he did send me an other email with a new NXT-G pressure block. Great service! This is the result:
















Download the new NXT-G pressure block.
The new NXT-G block for the Mindsensors pressure sensor give the raw value and calculate the pressure level in mBar. Download the NXT-G block here at Techbricks.nl (PPS35-Nx-mb.zip)...

The original NXT-G block for the Mindsensors pressure sensor which calculate the pressure level in PSI can be download here at Mindsensors (PPS35-Nx.zip)...

note: the language in the configuration box, showing down here, depends on the language configured in your NXT Mindstorms software.








I have imported the new block in my NXT Mindstorms software environment. It override the existing Mindsensors pressure block. (afterwards I was able to import the original block to restore the original situation).

Test the NXT-G pressure block.
I have tested the NXT-G block. The new block works well within the LEGO Mindstorms software environment. I made a simple program that displayed the raw and the mBar values in a  NXT (part no: 53788) screen. I worked perfect! I did a sequense of measurements, registered the raw and mBar values, recalculated the mBar value to PSI and compared it to the chart at www.mindsensors.com. It looked just fine!
I noticed one small thing: The maximum pressure level I was able to reach was 2467 mBar. The maximum pressure level that can be set in the new NXT-G block is higher:2800!?

In this video you can watch how I took the measurements. The NXT motor (part no: 53787) is pushing the pneumatic LEGO pump small complete assembly (part no: x191c01)  piston for- and backwards. The pump is pushing air into the technic pneumatic airtank (part no: 67c01). Since the pump has only a volume of less then 0.5 cm³ (when the piston moves for- and backwards it doesn't reach it's limits) and the air tank has a volume of 28 cm³ it takes quite some time before the pressure is reaching the limit.
If you want to learn more about calculations on LEGO pneumatics read my pages about Pneumatic LEGO & laws of physics I or Pneumatic LEGO & laws of physics II. 


Notice that the piston doesn't make a full stroke (move for- and backwards to it's limits). Therefor it took 683 times before the maximum pressure level of the sensor was reached: 2467 mBar. The minimum raw value of the sensor is 130 (at 2467mBar) and the maximum raw value is 1023 (at 0 mBar).

NXT-G test program.
This simple NXT-G program was used to display and record the raw value, the pressure level in mBar and the times the pump is pressed. The program can be download here...


The data is saved in a comma separated file named pressure_test1.txt on the NXT. It can be imported into e.g. Excel to make a graphic drawing:



































Check the complete Mindsensors pressure sensor test photo gallery at Google Picasa...

 
Copyright © 2013 www.techbricks.nl. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
Powered by WebRing.