Hi I'm new to the forum and also new starting to experiment with arduino and sensors. I've bought an adxl345 breakout board to hookup to my arduino uno using i2c. But I'm having several doubts. I've already read i2c protocol datasheet, and went through arduino resources talking about level translation and how arduino manages a HIGH or LOW value. But I still have doubts regarding how to wire this breakout board properly and to avoid frying it. I've attached pictures of the breakout board as I don't have any schematics for it.
Top PCB
Back PCB
Questions
1- I see there are 2 smd resistors 103 , 10k so these are pullup resistors going to SDA and SCL. No need to add ones on Arduino A4, A5?
2- If I feed arduino with external power 9volts battery. Voltage on pin 3v3 will be 3.3 and obviously 5v on pin 5v?
3-I checked this site http://bildr.org/2011/03/adxl345-arduino/, which explains the proper way to hook it up under i2c is the following. Although this setup is for a breakout board from sparkfun which doesn’t have any pullup resistors only decoupling caps. On my breakout board I could see those 2 resistors on SDA and SCL they’re acting as pull ups ?
SDA (Data) ===> to sensor SDA
SCL (clock) ===> to sensor SCL
arduino 3v3 ====> to sensor 3v3 and CS to set it up as i2c mode.
4- Someone explained to me
So on arduino uno what’s the voltage coming out from A4,A5 , 5volts? that’s why I need to place pullups to 3.3v . I know from atmega328p datasheet it’s required for a Vih = 0.6 * vcc , how would that be interpreted if i’m feeding say arduino with a 9volts battery it’s still 0.6 * 5 volts = 3v for a HIGH value. Then I know there are internal pullups but I think i’m mixing everythingup.
If anyone can be so kind to clear all this out to me so thankful !