i want my Ardunio Uno(Master), to talk to my Electron(Slave) via I2C. Both devices are usb powered.
As far as i managed to understand it i can connect SDA/SCL add 4.7k pullups to the 3.3V arduino Pin and that should limit the HIGH to 3.3V then optionally connect GND arduino to GND electron and that will take good care of the LOW.
Does this work relatively safe and reliable?
I would love this connection to be two wire(SDA/SCL) only.
Now i am not quite sure about the 5V tolerance on the electron side, the datasheet says to “disable the internal pull-up/down resistors” if i want to make sure nothing gets fried by 5V.
a)How in the world would i do that for I2C?
b)Does the electron even provide a pull-up for I2C or does it require an external as stated in the lib(pinmode/output_drain)?
best regards, mojo
P.S.: yes i will buy a couple of logic level shifters asap