Data Logger Shield and HMC5883L

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
scotmarer
 
Posts: 8
Joined: Thu Dec 08, 2011 1:19 pm

Data Logger Shield and HMC5883L

Post by scotmarer »

I want to combine your HMC5883L magnetometer breakout board with your data logger. Both boards use I2C but you state “The HMC5883L has a fixed I2C address; you can only connect one sensor per microcontroller!” But data logger uses the I2C for the RTC.

Do I need to implement the I2C protocol in software for the HMC5883L? Do I need to do this or am I misinterpreting your fixed addresses statement? Do you know of an Arduino sketch for the I2C implementation available?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Data Logger Shield and HMC5883L

Post by adafruit_support_mike »

The datalogger's RTC has a different address. It can use the same I2C bus as an HMC5883L.

You can only use one HMC5883L on a single I2C bus because there's no way to give the second one a different address.

User avatar
scotmarer
 
Posts: 8
Joined: Thu Dec 08, 2011 1:19 pm

Re: Data Logger Shield and HMC5883L

Post by scotmarer »

I should have surmised that was what the statement about the I2C meant. Thanks for your quick response.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”