















Hello, readers! In last post, we discussed about logic level shifting and also seen some translation circuits; if you haven't read it yet, click here . Today, we will try to answer one of the questions that raised in last post and that is what to do when you want to interface multiple I/O pins.Well, I couldn't find a better option than to use a Schmitt trigger IC. What better than only using an IC to translate our voltages and no additional components. Schmitt trigger is used to avoid the problems like noisy signals, and hysteresis. In other words, it sharpens our edges and widely used to convert any triangular or non-uniform wave to a square wave. We would discuss Schmitt triggers in one of the upcoming posts. It can be very easy to translate our 3.3V signals to 5V with a Schmitt trigger IC.But what I found was Hex inverting Buffer IC SN74LS14. It's a Texas Instrument product which consists of 6 inverting buffer lines with Schmitt trigger and could be ideal for our solution if it would be non-inverting but still we can use this if we want an inverting configuration in our applications or just combine two gates of the IC.Here is the functional block diagram of the IC:In the datasheet, it s described what we want and that is combining two inverting gates. With this we would half our interfacing lines but still get translated voltage for 3 lines.Next thing to consider is,what is the threshold voltage for logic 1, and according to datasheet, it seems this IC can happily translate our 3.3V signals.Another thing, this IC runs on 5V input voltage and so it would happily translate 3.3V signals to 5V but what if we want to translate 5V signals to 3.3V. It seems like this IC is not going to do that, we need an IC which have input voltage range somewhere from 3V to 5V.We have another IC which I found after scrolling 3-4 google result pages which is 74HC4050 Hex non-inverting buffer. I don't think you can easily get this IC from an electronic shop but looks like this IC is just made for our application. Have a look at the specifications:1. Supply voltage range: 2V to 7V2. Input voltage range :-0.5V to 16V3. No. of Schmitt triggers: 6So, we can easily interface 6 I/O lines. Also 5V input pulses can be down converted to 3.3V logic levels. Fantastic!But one more thing to consider here is response time. There will be some gate delay depending on how much gate you connect to form a logic but for our application, we have to consider only one gate delay.Thus, we have discussed how to translate multiple I/O lines but these ICs are obviously not for I2C communication as they require bi-directional logic level conversion. We will discuss these conversion in the next post!I hope you enjoyed reading and if you did, please comment, subscribe and share! Comment what would you like to see in upcoming posts.Thanks for reading!