{"product_id":"2595-logic-level-shifter-4-channel-bidirectional","title":"Logic Level Shifter, 4-Channel, Bidirectional","description":"\u003cp\u003eThis tiny logic level shifter features four bi-directional channels, allowing for safe and easy communication between devices operating at different logic levels. It can convert signals as low as 1.5 V to as high as 18 V and vice versa, and its four channels are enough to support most common bidirectional and unidirectional digital interfaces, including I²C, SPI, and asynchronous TTL serial.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5311.1200.jpg?8c49253d6364d7b4cd568ddb30387a33\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id level shifter bidirectional bottom view with dimensions next to a lego minifigure for size reference. data-picture-id=\"0J5311\" data-picture-longest_side=\"539\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5311.250.jpg?8c49253d6364d7b4cd568ddb30387a33\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ch2\u003e Overview\u003c\/h2\u003e\n\n \u003cp\u003eAs digital devices get smaller and faster, once ubiquitous 5 V logic has given way to ever lower-voltage standards like 3.3 V, 2.5 V, and even 1.8 V, leading to an ecosystem of components that need a little help talking to each other. For example, a 5 V part might fail to read a 3.3 V signal as high, and a 3.3 V part might be damaged by a 5 V signal. This level shifter solves these problems by offering bidirectional voltage translation of up to four independent signals, converting between logic levels as low as 1.5 V on the lower-voltage side and as high as 18 V on the higher-voltage side, and its compact size and breadboard-compatible pin spacing make it easy to integrate into projects.\u003c\/p\u003e\n\n \u003cp\u003eThe logic high levels on each side of the shifter are achieved by 10 kΩ pull-up resistors to their respective supplies; these provide quick enough rise times to allow decent conversion of fast mode (400 kHz) I²C signals or other similarly fast digital interfaces (eg SPI or asynchronous TTL serial). External pull-ups can be added to speed up the rise time further at the expense of higher current draw. See the schematic diagram below for more information.\u003c\/p\u003e\n\n\u003ch2\u003e Features\u003c\/h2\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Dual-supply bus translation:\n\u003cul\u003e\n\n\u003cli\u003e Lower-voltage (LV) supply can be 1.5 V to 7 V\u003c\/li\u003e\n\n\u003cli\u003e Higher-voltage (HV) supply can be LV to 18 V\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\n\u003c\/li\u003e\n\n\u003cli\u003e Four bidirectional channels\u003c\/li\u003e\n\n\u003cli\u003e Small size: 0.4″ × 0.5″ × 0.08″ (13 mm × 10 mm × 2 mm)\u003c\/li\u003e\n\n\u003cli\u003e Breadboard-compatible pin spacing\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch2\u003e Connections \u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 599px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5318.1200.png?4ce17f799e5cb02c5ea337b6d0f63de5\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id wiring diagram for connecting and devices through the bidirectional logic level shifter. data-picture-id=\"0J5318\" data-picture-longest_side=\"1199\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5318.599.jpg?4ce17f799e5cb02c5ea337b6d0f63de5\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 599px\"\u003e\u003cp\u003e Example wiring diagram for connecting 5 V and 3.3 V devices through the 4-channel bidirectional logic level shifter.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThis logic level converter requires two supply voltages: the lower-voltage logic supply (1.5 V to 7 V) connects to the LV pin and the higher-voltage supply (LV to 18 V) connects to the HV pin. The HV supply must be higher than the LV supply for proper operation. Logic low voltages will pass directly from Hx to the corresponding Lx (and vice versa), while logic high voltages will be converted between the HV level to the LV level as the signal passes from Hx to Lx or Lx to Hx.\u003c\/p\u003e\n\n\u003cp\u003e The level shifter circuit does not require a ground connection to either device, so there are no ground pins on the board. (Some competing level shifter modules provide ground connections that simply act as a pass-through; we have opted to leave these off and make the board smaller.) The two devices being connected through the level shifter must still share a common ground.\u003c\/p\u003e\n\n \u003cp\u003eThe picture below shows a level-shifted TTL serial connection (RX and TX) between a 5 V \u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino Uno\u003c\/a\u003e and a 3.3 V \u003ca href=\"https:\/\/www.pololu.com\/product\/2752\"\u003eRaspberry Pi\u003c\/a\u003e . \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 600px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5312.1200.jpg?43bd5323e39577c60b9316b003cf8aeb\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id the bidirectional logic level shifter to create a serial connection between arduino uno and raspberry pi. data-picture-id=\"0J5312\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5312.600.jpg?43bd5323e39577c60b9316b003cf8aeb\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 600px\"\u003e\u003cp\u003e Using the 4-channel bidirectional logic level shifter to create a serial connection between a 5 V Arduino Uno and a 3.3 V Raspberry Pi.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch2\u003e Included hardware\u003c\/h2\u003e\n\n \u003cp\u003eA 0.1″-pitch \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003emale header strip\u003c\/a\u003e is included for use with this board. The strip can be broken into smaller pieces and soldered in so the board can be used with perfboards, \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003ebreadboards\u003c\/a\u003e , or \u003ca href=\"https:\/\/www.pololu.com\/category\/50\/0.1-2.54-mm-female-headers\"\u003e0.1″ female connectors\u003c\/a\u003e . Alternatively, wires can be soldered directly to the board for more compact installations. The connections are labeled on the back side of the of the PCB, so you might find it more convenient to solder the pins in the way that allows the labeled side to be facing up. \u003c\/p\u003e\n\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5309.1200.jpg?97689f70e87478e6878f43c9ba81fa65\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id level shifter bidirectional with included hardware. data-picture-id=\"0J5309\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5309.250.jpg?97689f70e87478e6878f43c9ba81fa65\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5310.1200.jpg?b2e54d8c0f33cac0128dab54f10946a2\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id level shifters in breadboard one soldered label-side up and the other component-side up. data-picture-id=\"0J5310\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5310.250.jpg?b2e54d8c0f33cac0128dab54f10946a2\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Schematic diagram\u003c\/h3\u003e\n\n \u003cp\u003eThe logic level conversion is accomplished with a simple circuit consisting of a single n-channel MOSFET and a pair of 10 kΩ pull-up resistors for each channel. When Lx is driven low, the MOSFET turns on and the zero passes through to Hx. When Hx is driven low, Lx is also driven low through the MOSFET's body diode, at which point the MOSFET turns on. In all other cases, both Lx and Hx are pulled high to their respective logic supply voltages. External pull-ups can be added to speed up the rise time. This same circuit is detailed in \u003ca href=\"\/en\/file\/0J1876\/AN10441.pdf\"\u003eNXP's application note on I²C bus level-shifting techniques\u003c\/a\u003e (54k pdf), and we have used it before on carrier boards for 3.3 V sensors with I²C interfaces – like the \u003ca href=\"https:\/\/www.pololu.com\/product\/2468\"\u003eMinIMU-9\u003c\/a\u003e – to enable them to work directly with both 3.3 V and 5 V systems. \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e\u003cimg alt=\"\" class=\"\" data-gallery-pictures=\"[{\" id diagram of the bidirectional logic level shifter. data-picture-id=\"0J5321\" data-picture-longest_side=\"425\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5321.425.png?18fd2407f46e4090995c31187ca4f758\"\u003e\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cp\u003e This schematic is also available as a \u003ca href=\"\/en\/file\/0J752\/ls01a-logic-level-shifter-schematic.pdf\"\u003edownloadable PDF\u003c\/a\u003e (135k pdf).\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696735928665,"sku":"POL-2595","price":4.32,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886008779097,"sku":"POL-2595\/A","price":4.32,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J5308.1200_873cdd4a-9cb4-4d67-8509-068dcfdbf603.jpg?v=1705457026","url":"https:\/\/xernuqvalzi.pro\/en\/products\/2595-logic-level-shifter-4-channel-bidirectional","provider":"Robot Italy","version":"1.0","type":"link"}