0
\$\begingroup\$

I have interfaced one SDP610 Pressure Sensor using I2C with Arduino Uno R3. Now I want to Interface more than one sensor with same controller(uno board). I don't find any higher or lower address in my sensor datasheet. In my code address of sensor is

typedef enum { eSDP6xAddress = 0x40, //(64) } PRES_SENSOR_P;

The I2C address consists of a 7-digit binary value. By default, the I2C address is set to 64 (binary: 1000 000).The address is always followed by a write bit (0) or read bit (1). The default hexadecimal I2C header for readaccess to the sensor is therefore h81.

from section 3.2 in the SDP610 datasheet

Is there any chances to change the address of SDP610 sensor and its possible to interface with same I2C bus?

Nick Alexeev
38.9k17 gold badges104 silver badges248 bronze badges
asked Sep 22, 2017 at 3:50
\$\endgroup\$

2 Answers 2

0
\$\begingroup\$

You can not change the I2C slave address in this sensor. It's hard-wired inside.

If you want to have several of these sensors, you have these options:

  1. Create a separate I2C buses. One of them can be bit-banged.
    [Having said that, I don't know how well the Arduino libraries can support this.]
  2. Multiplex the I2C bus. If you connect one SDP610 at a time, there will be no address collision.
  3. Use an I2C address translator.

Related threads
i2C multiplexer to use multiple sensor of the same type
How to connect multiple of the same device to an Arduino using I2C?

answered Sep 22, 2017 at 4:31
\$\endgroup\$
2
  • \$\begingroup\$ electronics.stackexchange.com/q/323893/68606 \$\endgroup\$ Commented Sep 22, 2017 at 4:45
  • \$\begingroup\$ Thanks to Nick and whisk.i will go ahead with I2C multiplexer. \$\endgroup\$ Commented Sep 22, 2017 at 5:03
1
\$\begingroup\$

According to this question on the Raspberry Pi Stack Exchange, the SDP610 can have its I2C address reprogrammed, but the manufacturer does not release those details publically, due to the possibility of destroying the device if this is done incorrectly:

Multiple differential air pressure sensors using I2C bus?

If you don't want to (or cannot) follow that process, then there are several previous questions here which explain the use of I2C multiplexors, switches, and address translators - all of which can allow you to use multiple sensors with the same I2C address, with varying degrees of effort and cost e.g.:

How to resolve I2C address clashes?

How to connect multiple of the same device to an Arduino using I2C?

answered Sep 22, 2017 at 4:47
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.