I wish to interface a HMC5883L (SEN-10530) to my UNO. I have several SFE 3.3V to 5V converters. Is using the converter the the way to go, or is there a better way?
Any enlightenment will be appreciated!
Vic
I wish to interface a HMC5883L (SEN-10530) to my UNO. I have several SFE 3.3V to 5V converters. Is using the converter the the way to go, or is there a better way?
Any enlightenment will be appreciated!
Vic
On PIC micro-controller at 5V I have just used pull-ups on the I2C lines to 3.3V as this is still a logic high to the PIC’s input. Check the processor’s data sheet for the voltage spec for a logic high into the I2C lines.
Trmrmber that on I2C no device drives a logic high only a logic low. The pull-ups provide the logic high.
NXP has a document dealing with I2C interfacing techniques between chips using different voltages. The preferred technique is a couple of MOSFETs.