Jump to content
I2Cdevlib Forums

Search the Community

Showing results for tags 'adxl345'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • I2Cdevlib Web Tools
    • I2C Protocol Analyzer
    • I2C Device Entry Interface
    • I2C Device Library API
  • I2Cdev Platform Discussion
    • Arduino (ATmega)
    • Arduino Due (ARM Cortex M3)
    • MSP430
    • Other Platforms
  • I2C Device Discussion
    • AD7746 capacitance-to-digital converter (Analog Devices)
    • ADS1115 16-bit A/D converter (Texas Instruments)
    • ADXL345 3-axis accelerometer (Analog Devices)
    • AK8975 3-axis magnetometer (AKM Semiconductor)
    • BMA150 3-axis accelerometer (Bosch Sensortec)
    • BMP085 pressure sensor (Bosch Sensortec)
    • DS1307 real-time clock (Maxim)
    • HMC5843 3-axis magnetometer (Honeywell)
    • HMC5883L 3-axis magnetometer (Honeywell)
    • iAQ-2000 indoor air quality sensor (AppliedSensor)
    • IQS156 ProxSense capacitive touch sensor (Azoteq)
    • ITG-3200 3-axis gyroscope (InvenSense)
    • L3G4200D 3-axis accelerometer (STMicroelectronics)
    • MPL3115A2 Xtrinsic Smart Pressure Sensor (Freescale)
    • MPR121 12-bit capacitive touch sensor (Freescale)
    • MPU-6050 6-axis accelerometer/gyroscope (InvenSense)
    • MPU-9150 9-axis accelerometer/gyroscope/magnetometer (InvenSense)
    • PanelPilot multi-screen digital meter (Lascar Electronics)
    • SSD1308 128x64 OLED/PLED driver (Solomon Systech)
    • TCA6424A 24-bit I/O expander (Texas Instruments)

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 2 results

  1. I have a GY-85 board which has a HMC5883L, ADXL345 and IGT3200 all on the same board. I can get them to work independently just fine, I can get the ADXL345 and IGT3200 to work at the same time, but whenever the HMC588L is involved with either of the others there seem to be some sort of code compatibility issue. I haven't look too deeply yet, want to see if anyone else has had similar issues. I am compiling for a Teensy 3.0 using Arduino interface. /home/jca/Arduino_Build/I2C_test_IMU/I2C_test_IMU.ino.cpp.o: In function `setup': /home/jca/Arduino_Build/I2C_test_IMU/I2C_test_IMU.ino.cpp:47: undefined reference to `HMC5883L::initialize()' /home/jca/Arduino_Build/I2C_test_IMU/I2C_test_IMU.ino.cpp:54: undefined reference to `HMC5883L::testConnection()' I think the problem might depend on the order of the includes in the code. Sometimes I get: /home/jca/Arduino_Build/HMC5883L_raw/HMC5883L_raw.ino.cpp:51: undefined reference to `ITG3200::ITG3200()' /home/jca/Arduino_Build/HMC5883L_raw/HMC5883L_raw.ino.cpp:52: undefined reference to `ADXL345::ADXL345()' Any ideas?
  2. has anyone been able to run two adxl345s at the same time? I've setup two instances: ADXL345 accel(0x53); ADXL345 accelB(0x1D); and each runs the initialize function: accel.initialize(); accelB.initialize(); and: Serial.println(accel.testConnection() ? "ADXL345 connection successful" : "ADXL345 connection failed"); Serial.println(accelB.testConnection() ? "ADXL345B connection successful" : "ADXL345B connection failed"); When both are connected, the arduio outputs on the serial: Init and that's it. just "Init". When only one is connected, data is retrieved for the working one, but only one can work at a time. I can read data from either one, but not both at the same time. One is wired with SDO high, to allow it to run on 0x1D, the other is wired to SDO low and runs on 0x53. wiring: Both are given grd, 3.3v, Both SCL's are connected in parallel to A5, SDA to A4. Does the wiring need to be different? Can you run both at the same time?
  • Create New...