noname2x:
Thanks for reply, the schematic here Using Logic Level Converters | Artekit Labs .
VA i connected to 3.3 V from arduino, VB to 5V and same Ground for both VA an VB, OE unconnected
First of all. Have you read-up on what each of those pins (eg. 'OE') do? Or what they are?
OE is 'output enable'. All outputs are "enabled" when the pin is at a logic-high voltage. Outputs are disabled when the pin is at a logic-low voltage. So, should probably just connect the OE pin to a logic-high voltage.
In many cases, the manufacturer may have a 'default' voltage level on that pin (via an INTERNAL pullup resistor, or sometimes a pulldown resistor). Hopefully the manufacturer guide indicates it. But yep....there are some times where those idiots don't tell you this, or they don't put that information up-front for everybody to see clearly. But this is often typical of data sheets/user guides/spec sheets - where instead of telling everything as it is (clearly, with useful typical examples), they create cryptic puzzles for users to solve for themselves.
The 'A' side is the lower voltage side. The 'B' side is the higher voltage side.
Now, as for the meaning of 'outputs', I believe that would mean..... if you use say pin B2 as an input, then pin A2 would automatically become an output. And vice versa.
So, apart from seeing what happens if you tie the OE pin to a logic-high voltage, could also try putting an electrolytic capacitor (eg. 100 microFarad) between 5V arduino pin and the arduino GND pin..... which could help to cut down on supply voltage fluctuations (if any).
noname2x:
The same happens with the second piece , i have no idea why
That's because you didn't follow one of the golden rules of electronics..... to check on manufacturer specifications to see if the device is able to output the required amount of 'power' (voltage and current) to drive the device (ie. to drive the LED). In many cases, if this isn't checked in advance, then it can lead to undesirable results.... like damaged components, things not working, etc.