Using an level shifter to convert 3.3V TTL Serial to 5V TTL serial (and back)

Talk about Beagle Bone & Adafruit Beagle Bone products!

Moderators: adafruit_support_bill, adafruit

Using an level shifter to convert 3.3V TTL Serial to 5V TTL serial (and back)

Postby SameerP » Mon Nov 26, 2012 10:17 am

Hi all. I have a beaglebone, as previously noted, and I am trying to connect it to an arduino and a Pololu Servo controller over TTL Serial. The Beagle wants 3.3V logic level and the arduino and pololu run on 5V. I picked up a TXB0108 breakout from Adafruit (http://www.adafruit.com/products/395) but I'm having trouble getting it to work. Does anyone here have experience with this?

I've connected it I think correctly, with 3.3V to VCCA, and 5V to VCCB, and OE connected to VCCA. When I connect 3.3V to one of the input pins I get 5V on the output pins. The problem arises when I start sending serial TTL signals.

Here's scope output of my 3.3V serial TTL Tx signal coming out of the beagle, while I'm sending data over the line

https://www.dropbox.com/s/0ya065hzw6dd7 ... .23.24.jpg

Here's scope output of both the 3.3V TTL Tx signal from the beagle and the output pin of the level shifter, while I am not sending data over the line... everything looks copacetic:

https://www.dropbox.com/s/grndixk3xs69h ... .23.40.jpg

(the yellow line is the output pin of the level shifter, the blue line is the Tx signal from the beagle)

However, when I start sending bits over the serial line from the beagle, everything goes haywire. Even the signal on the line from the beagle looks wonky:

https://www.dropbox.com/s/r7a7ff7xfid43 ... .23.53.jpg

Anyone have ideas on this one?

Thanks,
-s
SameerP
 
Posts: 2
Joined: Mon Nov 26, 2012 10:17 am


Re: Using an level shifter to convert 3.3V TTL Serial to 5V TTL serial (and back)

Postby SameerP » Tue Nov 27, 2012 10:55 am

I have all my grounds tied together to the ground pin on the beagle.

Thanks
-s
SameerP
 
Posts: 2
Joined: Mon Nov 26, 2012 10:17 am


Return to Beagle Bone & Adafruit Beagle Bone products

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [107]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]