Anyone used ADXL345?I got a trouble in changing its address in I2C transmission.
oh ....
according sheetdata, can choose 2 addresses changing level of pin sd0.
i have tried setting pin sd0 high level , low level, while address 0x53 time.
it has been bothering me several days ...
thank much!!
do have module adxl345 ? module ?
you can run i2c scanner : http://playground.arduino.cc/main/i2cscanner check i2c address.
the cs should tied 3.3v i2c mode. sdo can tied gnd or 3.3v, not 5v. hope didn't use 5v it. set pins, turn on power, , i2c address should change.
you can run i2c scanner : http://playground.arduino.cc/main/i2cscanner check i2c address.
the cs should tied 3.3v i2c mode. sdo can tied gnd or 3.3v, not 5v. hope didn't use 5v it. set pins, turn on power, , i2c address should change.
Arduino Forum > Using Arduino > Sensors > Anyone used ADXL345?I got a trouble in changing its address in I2C transmission.
arduino
Comments
Post a Comment