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
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.
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
Post a Comment