![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Why not just use a driver chip like a 74hc244 or even a ULN2004 (in conjuction with the transistors)? Wouldn't this be simplier? Or do you have real estate concerns? Or is it just because you want to design it this way?
__________________ "Remember, you're special.....just like everyone else." | |
| |
| | (permalink) | |
| Quote:
The 2 transistor method (Fig 3), modified with the extra base resistor, will work. Just invert your software/logic level to the pin in the chip if needed. I wouldn't touch the zener idea with a 10ft pole. Think what will happen if the 12V line rises or spikes to 16V or higher for some reason.
__________________ --- The days of the digital watch are numbered. --- Last edited by kchriste; 21st August 2008 at 04:56 AM. | ||
| |
| | (permalink) | |
| Quote:
As a precaution, I guess one could put a diode on the output of the I/O pin to prevent that from happening.
__________________ "Everything that is done in the world is done by hope." -Martin Luther "There are two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle."-Albert Einstein | ||
| |
| | (permalink) |
| Please tell us how this diode should be fitted, pointing to the I/O pin or pointing to the PNP base?
__________________ L.Chung Last edited by eblc1388; 21st August 2008 at 02:19 PM. | |
| |
| | (permalink) | |
| Quote:
I agree with others, that the two transistor solution is a bit parts-intensive, but it seems like the only way. I tried NPN transistor between the load and the positive supply. That didn't work because the base current had to pass through the load resistance, when the circuit is "on". That caused the transistor to turn on only partially, unless I had a very low load resistance. It seems to me, I need both transistors for a truly robust circuit, the NPN for voltage gain, and the PNP for current gain. | ||
| |
| | (permalink) | |
| Quote:
...Bosch [among others] may have specs on the expected envelope for this "dirty" power. ...You'll need power conditioning at a system level for your circuitry; diodes, chokes, capacitors, maybe an IC regulator. | ||
| |
| | (permalink) |
| Allowing the transistor to turn on in high-Z state is not the issue. You don't want to exceed the max input voltage to the IC, which in this case would be 12V with a pull-up resistor.
__________________ "Remember, you're special.....just like everyone else." | |
| |
| | (permalink) |
| My poorly worded comment, I meant a breakdown (zener) diode from the input pin to ground to clamp the input voltage. This may be a circular argument, because if we believe the premise of the purpose of this type of clamp, then it would mean the transistor would never turn off. I would like to experiment some with this just to see what happens.
__________________ "Everything that is done in the world is done by hope." -Martin Luther "There are two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle."-Albert Einstein | |
| |
| | (permalink) |
| Yes, I agree.
__________________ "Everything that is done in the world is done by hope." -Martin Luther "There are two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle."-Albert Einstein | |
| |
| | (permalink) |
| There are a couple of other two-transistor configurations that will work. | |
| |
| | (permalink) |
| Look at the High Side power switchers from ST which have been designed for the car environment. Makes life so much easier for switching larger currents. If its only a small current you need to switch then go with the above suggestions | |
| |
| | (permalink) | |
| Quote:
Try that. | ||
| |
| | (permalink) |
| oops, I think that'd make it inverting. Just follow this example from wikipedia if you want the transistor on the high side of the load. http://en.wikipedia.org/wiki/Common_collector Why switch to pnp? Last edited by piper91765; 21st August 2008 at 10:00 PM. Reason: I'm stupid | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| They are MosFet Push-Pull outputs not bipolar transistors. When in Hi-Z mode the P and N channels MosFets are turned off but still connected between the Output, Vdd and Ground. MosFets have an intrinsic diode between the Drain and Source terminals that will conduct if the pin is driven above Vdd or below Vss by more than 0.7V.
__________________ --- The days of the digital watch are numbered. --- | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Singing Card | neo2478 | Electronic Projects Design/Ideas/Reviews | 7 | 21st June 2007 10:24 PM |
| home network blues | OutToLunch | Chit-Chat | 5 | 4th April 2007 09:51 PM |
| Student with the pic blues, all code, no action | rostifa | Micro Controllers | 10 | 22nd March 2006 09:31 AM |
| 16F877 programming blues. | dwarshout | Micro Controllers | 9 | 27th October 2005 04:21 PM |