#MPL3115A2 wiring
1 messages · Page 1 of 1 (latest)
I just copied the sematic of the Adafruit dev board, but I don't know if I need all that...
Wtf is going on
Their schematics must be very funky
For I2C you only need two pullups, one on each line
The lower the resistance is, the faster you can use the bus but the higher the current consumption is
4K7 should be just fine
@cunning kite so I should get rid of R15 4K7, what about the MIC522-33, I think think I really need that as I can get 3.3 v from the main stepdown
No, you need one pull up per line
As for the weird MOSFET contraption I don't know what it's doing
I was about to say it was a logic level shifter, but you're pullin up I2C lines with 3V3 while pulling up with 5V on the same side
Can you send me an example of what it should look like ?
I’m fairly new to pcb design
can you send what you were copying
@cunning kite
@cunning kite can you help me?
Look on each sides of the MOSFETs
It's a logic level shifter I think,which means that it transforms the tension of a logic signal
It's maybe because the altitude sensor does not accept signals higher that 3V3, and a regular Arduino uses 5V, however ESP32s only work with 3V3 so you shouldn't need this contraption in the middle of the I2C bus, you could technically wire it directly to the sensor
@cunning kite what about this 😁
looks better, make sure they are using 3V3 from the datasheet
from what data sheet? @cunning kite
sensor's dataheet
@cunning kite I don't understand, can you expalin agian?
nvm, I2C is open drain, uneless you exceed max device's voltage you're good to go