Can two sensors connect to one Arduino Uno?

I need to design a device detecting air speed, pressure, temp. and humidity at the same time.
Now I have an Arduino Uno, BME sensor (3in1 pressure, temp. and humidity) module and a pitot tube (for airspeed)with sensor module.
Is it feasible to connect two sensors to the single Arduino Uno and output the 4 required parameters at the same time?

Is it feasible to connect two sensors to the single Arduino Uno and output the 4 required parameters at the same time?

Yes, this is feasible but depends on the actual choice of sensors. As you didn't specify exact types or provided the mandatory links we cannot give you a final answer.

It will not be possible to output the 4 parameters at the same time but one after the other as things are going usually in the computer world.

pylon:
Yes, this is feasible but depends on the actual choice of sensors. As you didn't specify exact types or provided the mandatory links we cannot give you a final answer.

It will not be possible to output the 4 parameters at the same time but one after the other as things are going usually in the computer world.

Now I am having the sensors below:

  1. BME280

https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS002.pdf

  1. MS4525DO

https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+SheetMS4525DOB2pdfEnglishENG_DS_MS4525DO_B2.pdfCAT-BLPS0002

pylon:
Yes, this is feasible but depends on the actual choice of sensors. As you didn't specify exact types or provided the mandatory links we cannot give you a final answer.

It will not be possible to output the 4 parameters at the same time but one after the other as things are going usually in the computer world.

I have an alternative choice for the pitot tube sensor:

MPXV7002:

Could you suggest that if this sensor works as well?

Thank you very much.

The MPXV7002 has an analog output so the accuracy depends a lot on your circuit and the resolution is much lower.

The MS4525DO and the BME280 would make a good combination, just take care to provide 3V3 for the MS4525DO as Vcc and use I2C bus pull-ups to 3V3 too. Keep I2C signal wires as short as possible (<0.5m).

Following... I'm doing the same thing with a Nano. Working on getting the BMP280 and the Neo-6 GPS to write to the SD card.

I'm thinking of going with a pitot tube instead of calculating time vs pressure to get the air speed. My goal is rate of descent for parachute drops.

Would you be interested in sharing your sketch?

Thank you.

pylon:
The MPXV7002 has an analog output so the accuracy depends a lot on your circuit and the resolution is much lower.

The MS4525DO and the BME280 would make a good combination, just take care to provide 3V3 for the MS4525DO as Vcc and use I2C bus pull-ups to 3V3 too. Keep I2C signal wires as short as possible (<0.5m).

Thanks for your great reply.
I would like to connect MS4525 through IIC
but I am not sure how to connect the SDA and SCL to the digital port...

cychengad:
but I am not sure how to connect the SDA and SCL to the digital port...

Given below a suggested connection diagram (Fig-1) among UNO, BME280, and MS4525 sensors. Please note that the BME280 Module has built-in 5V/3.3V Volt regulator, 5V/3.3V/5V level shifters, and 2x10k pull-ups. If you have library for the MS4520 sensor, the library will (probably) take care of the I2C address for the sensor; else, you have to select the address from Fig-2.
bmez.png
Figure-1: Connection diagram (suggested) mong UNO, BME280, and MS2525 (C1 = 100 nF)

MS4525Adrs.png
Figure-2: Address selection chart for MS4525 sensor

bmez.png

MS4525Adrs.png

1 Like

GolamMostafa:
Given below a suggested connection diagram (Fig-1) among UNO, BME280, and MS4525 sensors. Please note that the BME280 Module has built-in 5V/3.3V Volt regulator, 5V/3.3V/5V level shifters, and 2x10k pull-ups. If you have library for the MS4520 sensor, the library will (probably) take care of the I2C address for the sensor; else, you have to select the address from Fig-2.
bmez.png
Figure-1: Connection diagram (suggested) mong UNO, BME280, and MS2525 (C1 = 100 nF)

MS4525Adrs.png
Figure-2: Address selection chart for MS4525 sensor

As I know the MS 4525 is digital sensor. Is it still okay to port it to the analog ports rather than digital ports?

cychengad:
As I know the MS 4525 is digital sensor. Is it still okay to port it to the analog ports rather than digital ports?

Once you have read sensor data into the Arduino you can do whatever you want with that data.
Note that the Analogue outputs of an Arduino are NOT outputing an analogue voltage, but PWM.

There are 3.3volt and 5volt power versions of that sensor. With I2C or SPI interface.
Arduino can talk to both, but make sure you use the right one.
Post the full ID number of the sensor (18 characters) if you're not sure.
Leo..

cychengad:
As I know the MS 4525 is digital sensor. Is it still okay to port it to the analog ports rather than digital ports?

From the data sheets of the sensor, I understand that MS4525 is an I2C Bus compatible digital sensor.

MS4525DO_B2.pdf (984 KB)

GolamMostafa:
I understand that MS4525 is an I2C Bus compatible digital sensor.

It seems the sensor with 'S' in it's number is SPI.
All other ones are I2C.
Leo..

As I know the MS 4525 is digital sensor. Is it still okay to port it to the analog ports rather than digital ports?

You connect it to the I2C interface (SDA/SCL). On the UNO the I2C interface share pins with analog 4 and analog 5. But on the UNO all analog input can also be used a digital ports, so don't think about this it's correct.

cychengad:
As I know the MS 4525 is digital sensor. Is it still okay to port it to the analog ports rather than digital ports?

Could you advise how can two wires connect to the same port (SCL and SDA)?
I am sorry to ask this kind of question. However, I am a mechanical undergraduate and don't have much experience and sense of electronics.

Thanks

cychengad:
Could you advise how can two wires connect to the same port (SCL and SDA)?
I am sorry to ask this kind of question. However, I am a mechanical undergraduate and don't have much experience and sense of electronics.

Thanks

It seems to me that connecting two wires to one port is a mechanical problem not an electrical one.

The specific solution would be determined by your physical setup. You could be using a solderless breadboard, 'Dupont' jumpers, soldered wires, or some combination that we don't know about.

Don

cychengad:
Could you advise how can two wires connect to the same port (SCL and SDA)?

Another option is to use the two sets of I2C terminals available on an Uno.
The pair next to the USB socket and A4,A5.
They are internally connected to the same two pins of the micro controller.
Leo..