Page 1
Welcome! Thank you for purchasing our AZ-Delivery Logic Level Converter TXS0108E. On the following pages, you will be introduced to how to use and set up this handy device. Have fun!
Page 2
Areas of application Education and teaching: Use in schools, universities and training institutions to teach the basics of electronics, programming and embedded systems. Research and development: Use in research and development projects to create prototypes and experiments in the fields of electronics and computer science. Prototype development: Use in the development and testing of new electronic circuits and devices.
Page 3
consult a doctor. Caution: Keep the product out of the reach of children and pets to avoid accidental contact and swallowing of small parts. Note: Store the product in a safe, closed container when not in use. Attention: Avoid contact of the product with food and drinks.
Table of Contents Introduction....................3 Specifications....................4 The pinout.....................5 How to set-up Arduino IDE................7 How to set-up the Raspberry Pi and Python..........12 Connecting with Atmega328p..............13 Connecting with Raspberry Pi..............15 - 2 -...
Introduction A logic level converter is a circuit that is used to translate signals from one logic level or voltage domain to another, allowing compatibility among different ICs (integrated circuits) with different voltage requirements. It is also called logic level shifter or voltage level translator. The level converter can be uni-directional, where all input pins are dedicated to one voltage domain and all output pins to the other, and bi-directional, where each voltage domain has both input and output pins.
» Dimensions: 26 x 16 mm Logic Level Converter TXS0108E is an 8-bit non-inverting level converter which uses two separate configurable power-supply rails. This device is created for open-drain applications, but it also can translate push-pull CMOS (complementary metal-oxide-semiconductor) logic outputs.
The pinout The Logic Level Converter TXS0108E has 20 pins. The pinout is shown in the following image: The VCCA pin receives any supply voltage between 1.4 V and 3.6 V. The A port tracks the VCCA pin supply voltage. The VCCB pin receives any supply voltage between 1.65 V and 5.5 V.
Page 8
GROUND is connected to both devices. And OE (Output Enable) is connected to VCCA (the lower voltage) through a 10 kOhm pullup resistor. B1 to B8 and A1 to A8 are eight independent signal pins. Pull-up resistors for the signal lines have been integrated in the chip. - 6 -...
How to set-up Arduino IDE If the Arduino IDE is not installed, follow the link and download the installation file for the operating system of choice. For Windows users, double click on the downloaded .exe file and follow the instructions in the installation window. - 7 -...
Page 10
For Linux users, download a file with the extension .tar.xz, which has to be extracted. When it is extracted, go to the extracted directory and open the terminal in that directory. Two .sh scripts have to be executed, the first called arduino-linux-setup.sh and the second called install.sh.
Page 11
After the installation of these scripts, go to the All Apps, where the Arduino IDE is installed. Almost all operating systems come with a text editor preinstalled (for example, Windows comes with Notepad, Linux Ubuntu comes with Gedit, Linux Raspbian comes with Leafpad, etc.). All of these text editors are perfectly fine for the purpose of the eBook.
Page 12
The port to which the Atmega328p board is connected has to be selected. Go to: Tools > Port > {port name goes here} and when the Atmega328p board is connected to the USB port, the port name can be seen in the drop-down menu on the previous image. - 10 -...
Page 13
If the Arduino IDE is used on Windows, port names are as follows: For Linux users, for example, port name is /dev/ttyUSBx, where x represents integer number between 0 and 9. - 11 -...
How to set-up the Raspberry Pi and Python For the Raspberry Pi, first the operating system has to be installed, then everything has to be set-up so that it can be used in the Headless mode. The Headless mode enables remote connection to the Raspberry Pi, without the need for a PC screen Monitor, mouse or keyboard.
Connecting with Atmega328p An example of the usage of Logic Level Converter with the Atmega328p is shown on the following connection diagram: - 13 -...
Page 16
The Logic Level converter is connected to the Atmega328p and to the 84x48 LCD Display. The operating voltage for 84x48 LCD Display is 3.3V and for Atmega328p it is 5V, so the Logic Level Converter is needed to prevent damaging the devices. For those who want to know more about the devices or look for an example sketch, there is a Quick Start Guide...
Logic Level Converter is needed, otherwise Raspberry Pi can be damaged. For those who want to know more about the devices or look for a Python example script, there is a Quick Start Guide for 20x04 Green LCD with I2C adapter on our AZ-Delivery website. - 15 -...
Page 18
Internet. If you are looking for the high quality microelectronics and accessories, AZ-Delivery Vertriebs GmbH is the right company to get them from. You will be provided with numerous application examples, full installation guides, eBooks, libraries and assistance from our technical experts.
Need help?
Do you have a question about the TXS0108E and is the answer not in the manual?
Questions and answers