Laboratory pressure sensor

Hi, I am trying to build a pressure sensor for a laboratory setup. I would like to measure low pressure (between 0-1.5 bar). However, I haven't found any tutorial or project with a similar capacity to constantly measure and save the data in real-time.

Any tips on where I can find this?

Please check this out:
https://create.arduino.cc/projecthub/sarful/digital-pressure-sensor-arduino-workshop-0e43ae

Do you have a sensor itself? Please provide link or datasheet

You will need a suitable pressure sensor before you can start wiring up an Arduino and writing the program, and there are several types of interfaces.

First, decide whether the pressure sensor is "gauge" (relative to atmospheric pressure) or absolute (relative to a perfect vacuum), then pick the type of interface.

Sensors that output a voltage in the range of 0 to 5V, or have an I2C interface are convenient.

Since you mention a laboratory pressure sensor I will assume laboratory grade sensor as in a highly accurate sensor. Next as mentioned you need to know if you want bar gauge pressure or bar absolute pressure?

Next consider the pressure gauge output. The sensor may have an analog output or as mentioned an I2C output and if an analog voltage or current output proportional to applied pressure. If the latter is the case an analog output consider an Arduino Uno for example is only a 10 bit A/D converter meaning with a 5 volt reference your best resolution is 4.88 mV per step change. When you start getting into high accuracy temperature compensated low pressure gauges (lab grade) you are looking at expensive gauges.

Another consideration is if you want data logging you need to add to a basic Arduino.

Ron

Thank you! I will measure absolute pressure and consider the Honeywell's 25 psi piezoresistive silicon pressure sensor with an on-board Application Specific Integrated Circuit. (SparkFun Qwiic MicroPressure Sensor - SEN-16476 - SparkFun Electronics)

However I am not sure if this sensor can be connected to the Arduino One for example

Thank you! I will measure absolute pressure and consider the Honeywell's 25 psi piezoresistive silicon pressure sensor with an on-board Application Specific Integrated Circuit. (SparkFun Qwiic MicroPressure Sensor - SEN-16476 - SparkFun Electronics)

However I am not sure if this sensor can be connected to the Arduino One for example. Could you explain more about the data logging requirements?

Thank you!

Welcome to the forum
As far as I am aware all of the arduino boards have I2C functionality so, yes, it would work. Use the guidance that comes with the part to draw a schematic and then start to work on code. Many of these things have libraries to make the code more abstract and easier.

Spark fun have extensive guides on the page you link so give it a go and ask questions specific to any problems m. Remember to use code tags <|> and to post schematics not Fritzing images

Well alrighty, as long as the sensor choice meets your specifications including uncertainty (accuracy) requirement.

Next while an Arduino can read the I2C the Arduino does not have data logging capabilities. This is where you add a shield. The linked shield includes a RTC (Real Time Clock) so you can time and date stamp your collected data. Yes, the sensor you linked to can be directly connected to an Arduino Uno for example no problem. Using the I2C makes pairing the two relatively simple. There are likely code samples out there with schematic layouts. There are also code samples for using the RTC Shield I linked to.

Ron

Note that the sensor you linked to is 3.3volt only (power and logic).
You will also need an I2C level converter board when connecting to a 5volt-logic Uno.
Or use a more modern 3.3volt processor.
Leo..

Thank you Ron! So, after selecting the sensor which meets my specifications I am having some trouble deciding which board I should get. The company of the sensor I linked before has its own board (SparkFun RedBoard Qwiic - DEV-15123 - SparkFun Electronics) and I understand, the connections of these systems make it easier for them to be paired without a breadboard.

Using a shield of the same company (SparkFun OpenLog Artemis (without IMU) - DEV-19426 - SparkFun Electronics) would allow me to have everything to make the sensor, right?

Also, do you think using this board simply for the ease of connections is worth it or I will lose some benefits I could get using an Arduino UNO?

Thank you

The Redboard is a clone of the Uno.

With added Qwiic connector and built-in level converter.
Leo..

Just check the specification is good enough - these are fairly cheap devices and +- 1.25% of full scale error .

Work out what that means to a typical measurement you might make

Well as you can see and as several guys have mentioned the Spark Fun Red Board is pretty much an Arduino board with a few nice to have features added. Using you selected sensor with an I2C interface either uC board willo work fine and the Red Board uses the same Arduino IDE.

"The SparkFun RedBoard Qwiic can be programmed over a USB Micro-B cable using the Arduino IDE: Just plug in the board, select "Arduino UNO" from the board menu and you're ready to upload code".

Just make sure you are good with your sensor of choice specifications as to accuracy. :slight_smile:

Ron

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.