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?
Data Logger Shield and HMC5883L
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Data Logger Shield and HMC5883L
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.
You can only use one HMC5883L on a single I2C bus because there's no way to give the second one a different address.
- scotmarer
- Posts: 8
- Joined: Thu Dec 08, 2011 1:19 pm
Re: Data Logger Shield and HMC5883L
I should have surmised that was what the statement about the I2C meant. Thanks for your quick response.
Please be positive and constructive with your questions and comments.