Plug txb0108 level shifter Arduino UNO and ili9341 2.2 tft

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Plug txb0108 level shifter Arduino UNO and ili9341 2.2 tft

Post by ghisdiy »

Hello i want to connect an ili9341 2.2 tft whith arduino UNO.

For convert 5V to 3.3V i use a CD4050 and it s work.

Now i want to use adafruit 8-CHANNEL BI-DIRECTIONAL LOGIC LEVEL CONVERTER and do not work.

I test all pin whith multimeter, everything look ok, what s wrong ? can you help me ?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by adafruit_support_rick »

Is that our ILI9340 TFT breakout? There's not need for level shifting with that with an Arduino UNO.
https://www.adafruit.com/product/1480

If you post some clear, detailed pictures of your setup, maybe we can spot the problem.

User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by ghisdiy »

No it is this one :
téléchargement.jpg
téléchargement.jpg (7.81 KiB) Viewed 771 times
tomorrow (i am in Paris) i give you more details.

User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by ghisdiy »

So for the TFT i use this library http://arduinodev.com/software/multilcd/

I plug like this :
IMG_20140914_090517.jpg
IMG_20140914_090517.jpg (679.23 KiB) Viewed 746 times
MISO pin 12 of the arduino
LED pin 3.3 v of the arduino
SCK pin A1
SDI pin A2
D/C pin A3
RESET pin A4
CS pin A5
GND to pin GND of the arduino
VCC to pin 3.3 of the arduino

VCCA of the txb0108 to pin 3.3 of the arduino
OE of the txb0108 to pin 3.3 of the arduino

VCCB of the txb0108 to pin 5v of the arduino
B1 to pin 13 of the arduino
B2 to pin 11 of the arduino
B3 to pin 6 of the arduino
B4 to pin 4 of the arduino
B5 to pin 5 of the arduino
GND of the txb0108 to pin GND of the arduino

Like this the TFT stay white.

When i replace the txb0108 by a CD4050 chip, the TFT work ...

any idea ?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by adafruit_support_rick »

It should work that way. Can you try hooking it up in one direction only (5V->3.3V) like the 4050?

User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by ghisdiy »

how can i do that ? whith diode ?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by adafruit_support_rick »

Only hook up the inputs to the ILI9241 through the TXB0108. Connect MISO directly between the TFT and the Arduino. You don't need a diode - the signal only goes one way. I'm just wondering if MISO is somehow confusing the logic.

Also, can you post a picture of the connections and soldering on the TXB1018?

User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by ghisdiy »

So for MISO it is already directly connect to Arduino

All other pin are throuth the TXB0108.

For the connections is like this:
IMG_20140914_090727.jpg
IMG_20140914_090727.jpg (123.73 KiB) Viewed 727 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by adafruit_support_rick »

That is a lot of jumpers. Can you try it with fewer jumpers? This seems like a connection problem. Jumpers and breadboards can make bad connections sometimes.

Beyond that, I can't think of anything.

User avatar
ghisdiy
 
Posts: 6
Joined: Sat Sep 13, 2014 3:05 pm

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by ghisdiy »

you are in right !

Thanks for your help.
IMG_20140914_235733.jpg
IMG_20140914_235733.jpg (215.69 KiB) Viewed 716 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Plug txb0108 level shifter Arduino UNO and ili9341 2.2 t

Post by adafruit_support_rick »

Aha!
You're welcome!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”