problem with adxl345 (Accelerometer)


hi friends

i had accelerometer (adxl345) , uno arduino. connected sensor via i2c , using wire library (wire.h) , got answer.
i know device address adxl345 "0x53".
now, want connect 2 or tree accelerometers i2c, how can it? think because of readable device id register, can't connect more 1 adxl345.

thank you

the sdo pin can used different i2c address.
so can have 2 of them on i2c bus.

three not possible. react i2c address. 1 device can have i2c address.

you can use i2c multiplexer (mux) chips. create 4 new i2c busses.
perhaps use chip select turn them on , off, doesn't work.
you can use 74hc... chip create mux it.


Arduino Forum > Using Arduino > Sensors > problem with adxl345 (Accelerometer)


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62