This was a simple build to solve a recurring need to use both I2C ports and both ports to be level shifted to 5V (e.g., for interfaces to Arduino UNO). The resulting shield is stackable, so can be reused in multiple projects.
The output pins are SCL, SDA and GND for each port Wire (pins 20 and 21) and Wire 1 (pins 70 and 71), presented as JST XH connectors (at lower left in the picture above).
Schematics for the Proto-sheild are available from the Arduino store. Although sold as Arduino Mega board, it is compatible with Arduino Due. (ref. https://store-usa.arduino.cc/products/arduino-mega-proto-shield-rev3-pcb).
The Polulo 2595 is a SOP 10 package providing bidirectional four channel logic level shifting, suitable for I2C. Note that the diagram below is the mirror image (flipped left to right) of the implementation shown above. This flip (literally flipping over the module and attaching upside down) was done to simplify the wiring layout. A schematic for the module is available from Pololu (ref. https://www.pololu.com/file/0J752/ls01a-logic-level-shifter-schematic.pdf).
Comments