I've been working to connect an arduino slave to an arduino master in a submarine Robot (OpenROV) but I have some difficulties:
-The I2C bus which came from the OpenROV is 3V and I have an arduino UNO which I believe needs 5V for I2C so I have used this device, as someone told me to do in this forum: https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide
And to do so I've connected the things in this way:
but something is not working.
The arduino UNO has it's own energy supply with a Lipo Batery
Please I would appreciate any help you can offer me!
Yes I am sure. If you have not connected the grounds together there is no way it can possibly work. Why do you think it should?
All grounds must be connected together.
Yes that is not an I2C system on the Arduino side.
Also note you can not draw more than 50mA from the 3V3 output of the Arduino so powering that second system from the Arduino could be tricky.
You can only use that circuit if you use an I2C library that does not enable the internal pull up resistors.
The standard one does, so you have to hack it to stop that happening or use another like the I2C Master Library
I don't understant very good what you mean with tricky, I have a LiPo battery to feed the Arduino.
That circuit powers the second system off the 3V3 regulator of the first. By tricky I mean if your second system draws more than 50mA then you will fry the regulator on the first system if you wire it up like it is shown.
Those pictures are far too big, have you clicked on one? You should have a picture no more than 1000 pixels wide.
The wiring of your level shift can not be verified
Having said that then 3 might be the way to go but I am having a hard time turning those back into schematics in my head.
Can you not use schematics then we could all play.
They would be on for a brief moment, which Grumpy_Mike will probably tell me is too long. You could always edit the source in your Arduino distribution (file: twi.c).
Those pictures are far too big, have you clicked on one? You should have a picture no more than 1000 pixels wide.
The wiring of your level shift can not be verified
Having said that then 3 might be the way to go but I am having a hard time turning those back into schematics in my head.
Can you not use schematics then we could all play.
Hope you can see better like this, I can also upload some pictures.
This is the scheme for I2C conection the show in the webpage of the bidirectional level.
I don't use the wire wich goes from the arduino 3V3 to the LV pin, because in the other side I have another arduino wich gives 3V3 but, I don't know if I must hooked the GND or the devices do it internally.