# Logic level converter - Question

**URL:** <https://forums.pimoroni.com/t/logic-level-converter-question/2288>\
**Category:** Support\
**Created:** [April 25, 2016, 4:00pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288 "2016-04-25T16:00:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![netmindz](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/netmindz/32/1010_2.png) [@netmindz](https://forums.pimoroni.com/u/netmindz)\
**Post date:** [April 25, 2016, 4:00pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/1 "2016-04-25T16:00:24Z")

</div>

Hi folks, I’m looking for some help with the following component [https://shop.pimoroni.com/products/adafruit-4-channel-i2c-safe-bi-directional-logic-level-converter](https://shop.pimoroni.com/products/adafruit-4-channel-i2c-safe-bi-directional-logic-level-converter)

I was looking to use with a teensy 3.2 to drive some 12v WS2811 LEDs

If I use 5v to supply the LEDs they work correctly, but when I try a 12v supply, they then begin to flicker. I had put this down to the logic level of the teensy being 3.3 not 5v so thought this logic level converter would help.

I had assumed I could just connect up the 3.3v supply to the LV and 5v to the HV and then connect the teensy to one side and the LEDs to the other, but this doesn’t appear to work. I also noted that the pins for the converter that are not connected all appear to be high at all times - e.g the lv side are all 3.3 and he hv side are all 5v. Are they high by default?

Any help or guidance would be much appreciated as I have only a few days to turn round this project

---

<div class="post-metadata">

**Author:** ![steffen](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@steffen](https://forums.pimoroni.com/u/steffen)\
**Post date:** [April 26, 2016, 4:07pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/2 "2016-04-26T16:07:22Z")

</div>

Hello there,

I’m sorry but this cannot work. As it says on the product page of the Level shifter:  
“Works down to 1.8V on the low side, up to 10V on the high side”

so low side at teensy (3.3V) should do the job, but 12V on the HL side are just to much for this little chip.

Think it would be the easiest to buy 5V LED Strips or just use your 5V Power Supply. Are you sure the LEDs need 12V? If they work with 5V i would think they need 5V… ;)

but would be best to have a look at the datasheet of your LED Strip!

In case you didn’t know there’s a special Adaptor for Teensy to drive up to 8 WS28 Strips. We don’t have it in store right now, but you can get it from Adafruit: [https://www.adafruit.com/products/1779](https://www.adafruit.com/products/1779)  
But it is also only for 5V LED Strips.

Maybe i’m not getting you right, you’re saying it works with a 5V Power Supply connected to the LEDs and you bought the level shifter to connect your teensy to LEDs that work when they get 5V. Should be fine just don’t use the 12V Power Supply.

Best Regards,  
steffen

---

<div class="post-metadata">

**Author:** ![netmindz](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/netmindz/32/1010_2.png) [@netmindz](https://forums.pimoroni.com/u/netmindz)\
**Post date:** [April 26, 2016, 5:37pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/3 "2016-04-26T17:37:12Z")

</div>

Sorry, I should have been clearer. The LEDs use 12V to drive the LEDs, but the actual data pin expects 5v

This is why I was trying to step up the 3.3V logic of the teensy to the full 5V

Do I have the right chip to do so? Is it right that the unused pins all register as high by default?

---

<div class="post-metadata">

**Author:** ![netmindz](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/netmindz/32/1010_2.png) [@netmindz](https://forums.pimoroni.com/u/netmindz)\
**Post date:** [April 26, 2016, 5:39pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/4 "2016-04-26T17:39:13Z")

</div>

P.s they work at lower voltages as they have a voltage regulator, but they can’t go to full brightness

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [April 26, 2016, 5:43pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/5 "2016-04-26T17:43:22Z")

</div>

> [@netmindz](#):
>
> Sorry, I should have been clearer. The LEDs use 12V to drive the LEDs, but the actual data pin expects 5v

I think you’ll find the data pin expects 0.7VDD, which would be 8.4v, which may be why sending them a 5v signal results in nothing at all. See the datasheet for the pixels here: [https://cdn-shop.adafruit.com/datasheets/WS2811.pdf](https://cdn-shop.adafruit.com/datasheets/WS2811.pdf)

In a pinch, you should be able to voltage divide an 8.4v supply from your 12v supply. As long as it’s roughly between 8.4v and 10v it will fall between the maximum voltage of the logic level converter, and the minimum voltage that the ws2812s consider to be an “on” state.

---

<div class="post-metadata">

**Author:** ![netmindz](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/netmindz/32/1010_2.png) [@netmindz](https://forums.pimoroni.com/u/netmindz)\
**Post date:** [April 26, 2016, 10:29pm UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/6 "2016-04-26T22:29:00Z")

</div>

Thanks for the tip. Are you suggesting the chip I have is correct and I’m using it right, but that I just need to supply 8.4v not 5v to the hv side of the level shifter? Can I just use a resistor?

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [April 27, 2016, 11:34am UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/7 "2016-04-27T11:34:18Z")

</div>

Yes, you would need to supply somewhere around 9v ideally. You could do this with a voltage divider, 9v from 12v is relatively easy to get, you can just use a 10k R1 and a 33k R2 resistor: [http://www.raltron.com/cust/tools/voltage\_divider.asp](http://www.raltron.com/cust/tools/voltage_divider.asp)

This would give you 9.2v, which is greater than 8.4 and less than 10, so it should work!

---

<div class="post-metadata">

**Author:** ![netmindz](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/netmindz/32/1010_2.png) [@netmindz](https://forums.pimoroni.com/u/netmindz)\
**Post date:** [April 27, 2016, 11:50am UTC](https://forums.pimoroni.com/t/logic-level-converter-question/2288/8 "2016-04-27T11:50:47Z")

</div>

Thanks for the tip I’ll give that a try later
