Guys, A NPN transistor could be thought of as a gate controller for a collector and emitter. Can I make a 8M chip function like a NPN transistor? I want to drive a signal high that takes an input from pin 4 and amplifies that output to pin 1. I therefor need pin 4-1 to act like a gate.
Please could i see some example code if this is acheivable.
*My aim is to minimise the number of components for circuit building
Thx
Without a FULL specification of what you REALLY require, impossible to say.
Taking you litterally, an NPN transistor can only conduct in one direction.
1. Do you need that feature? If yes, then you'll a didoe on the output.
2. A transistor has gain. What gain do you need.
3. A transistor can work with small signal inputs. How small is your input?
4. A transistor has a working frequency, what signal frequency do you require.
5. A transistor has a current limit, whay current do you require?
6. A transistor is an analogue device with no descrete steps. What resolution do you require?
Give precise answers to those questions and then we can start to home in on if you can do it or not.
Your question is bit like saying "I have a substance, could I use a car to transport it from place A to place B". In many cases the answer would be yes, but if the "substance" was a liquid, then no. If the "substance" is too big to fit in a car, then no. If place B is across the water then no. If it needs to be there faster than a car can travel, then no. If it's a cup of coffee you want to move from downstairs to upstairs, then a car would not be the ideal transport system.
Do you get the idea, we need SO MUCH MORE from you to answer that.
In addition, a transistor is about 10 times smaller and 10 times cheaper, so WHY would you not want to use a transistor?
Also, don't get the function of "gain" and "gates" confused.