Fig. 1 Tri-state buffer schematic.
Non-Inverting Tri-State Buffer-Switch Demo Circuit
This page demonstrates using a single integrated circuit with 2 MOSFET output transistors.
Fig. 1 illustrates using a single CD4011 integrated circuit with quad (4), 2-input NAND gates. A CD4011 operates from 3-15 volts.
CD4011B and CD4011D operate is inverters - HIGH in = LOW out and vice-versa.
Fig. 2 Tri-state MOSFET output buffer truth table.
Fig. 2 is the truth table for the circuit in Fig. 1. What is not shown in Fig. 1 is the voltage connections for the CD4011 and +Vcc.
Fig. 3 CD4011 Pin Connections
If this circuit is connected to 5-volts then direct connection to a microcontroller such as PICAXE, Arduino, and PIC are simple direct connections.
When the gate to Q1 LOW, Q1 will turn on. When the gate of Q2 is HIGH, Q2 will turn on.
Both Q1 and Q2 must never be turned on at the same time!
If we use a 12-volt motor, etc. then the CD4011 voltage must also be 12-volts. The problem is direct connection to a 5-volt microcontroller won't work.
That requires a separate interface circuit. Q2 can remain as it is, it's the Q1 circuit that is the problem. I'll assume a 5-volt supply for the digital circuits.
Fig. 4 Tri-State switch with NPN transistors for higher voltage output.
Fig. 3 illustrates the use of 2 NPN bipolar transistors and 3 resistors for higher voltage output. Remember +Vcc is NOT the 5-volt supply for the digital circuit. This is the output voltage that can't exceed Vgs of the P-channel MOSFET.
The truth is identical to Fig. 2.
For more on power MOSFET switches see the following:
- Basic Transistor Driver Circuits for Micro-Controllers
- Tutorial Using TIP120 and TIP125 Power Darlington Transistors
- Driving 2N3055-MJ2955 Power Transistors with Darlington Transistors
- Understanding Bipolar Transistor Switches
- Tutorial NOR Gate SR Latch Circuits
- Tutorial NAND Gate SR Latch Circuit
- Basic Digital Circuits Tutorials
- High current TTL MOSFET Driver Circuit
- Non-Inverting Tri-State Buffer-Switch Demo Circuit
- Review Connecting Digital Logic and Transistors
- From SR Latch to Microcontroller IO Pin Introduction
- Transistor-MOSFET Switch Circuit with Optocouplers
- High Voltage Optocoupler Tri-State Switching Circuits
- Optocouplers for TTL-CMOS Logic Level Shifting
- Basic TTL Tri-State Buffer Circuit Example 1
- Basic TTL Tri-State Buffer Circuit Example 2
- Transistor Output Non-Inverting Tri-State Switch
- Transistor Output Inverting Tri-State Switch
- Quick navigation main electronics website:
- Basic Electronics Learning and Projects
- Arduino Microcontroller Projects
- Raspberry Pi and Linux
- Connecting a PC Printer Port to Electronics with Python
- Microchip PIC 18F2550
- PICAXE Microcontroller
- Web Master
- Hobby Electronics
- US Constitution
- Religious Themes
- Archive 1
- Bristol VA/TN
What do UN climate experts say about climate change?
"Basically, it is a big mistake to discuss climate policy apart from the big issues of globalization. The climate summit... is not a climate conference, but one of the biggest business conferences since the Second World War ... But one has to be clear: we are effectively redistributing world wealth through climate policy. One has to free oneself from the illusion that international climate policy is environmental policy. This has almost nothing to do with environmental policy..."
Bartender and New York Democratic socialist Alexandria Ocasio-Cortez says:
"Fighting climate change will be 'the civil rights movement of our generation'. It's inevitable that we will create jobs. We can use the transition to 100 percent renewable energy as the vehicle to truly deliver and establish economic, social and racial justice in the United States of America."
I take them at their word.
- Critical Race Theory is Irrational
- Origins of Socialist Identity Politics
- Science Not a Democracy or Religion
- Scientific Advances Built on Western Culture
- Yes European-American Culture is Superior
- Postmodernism Attacks Reason, Science, and Culture
Web site Copyright Lewis Loflin, All rights reserved.
If using this material on another site, please provide a link back to my site.