Hello Here,
I was using TIP 122 for Led sign, it was working as usual i.e. fine.
The emitter to gnd and base to pic micro controller via 4.7K TIP was npn no problem.
but now Tip 127 is pnp so, Emitter to +24V and collector to output so, base via 4.7K to pic out put for switching on/off as a switch.
when emitter is connected to +5V then the output is fine problem come when emitter is at 24V to collector remain at 24V not goes turn off why??
so, what to do?
A high signal from the micro will forward bias the NPN base P junction and switch the device on.
For a PNP device you will need to drive the base LOW (about 0.7V lower than the emitter supply).
Ok...so your micro is running with about a 4.5V as a high signal....thats 0.5V below the PNP emitter (5V supply)...so it won't switch the PNP. A low from the micro is < 1V which is a lot more than 0.7V under the emitter V and thus the PNP is driven 'on'.
With a 24V supply on the PNP emitter...whether the micro outputs 4.5 or .5V it's still way more than 0.7V under the emitter voltage...thus the PNP is always ON.
To solve your issue...use a pull up resistor on the PNP base to the 24V supply (4.7k or so should be ok) and rather than outputting a HIGH from the micro to switch the PNP OFF....output a Hi Z (tristate). The additional draw on the micro output is about 5mA when driving low to switch the PNP 'ON'.
You need top add a "level shifting" transistor between the 0V and +5V output of the microcontroller and the +24V and +22.5V base of the TIP127 PNP darlington. The level shifting transistor will invert the logic. The darlington already has base-to emitter resistors in it to turn it off when the level shifting transistor turns off.
"To solve your issue...use a pull up resistor on the PNP base to the 24V supply (4.7k or so should be ok) and rather than outputting a HIGH from the micro to switch the PNP OFF....output a Hi Z (tristate). The additional draw on the micro output is about 5mA when driving low to switch the PNP 'ON'."
You should NOT do this as you are putting more than 5v on the output and the protection diode is being activated.
Hello,
By Mistake i have bought TIP127 i was using TIP122 which was simple to use!!
So, You suggested to use 15V zener to base in reversed biased to have 9V and then 2k2 with emitter to base pls clear where is 47K or 4.7K??
As usual, a picture is worth 10000 words, and a simulation even more. A PNP darlington makes a crappy high-side driver. Here is how to hook it up, but look at the power dissipation in the Darlington (blue trace) with a 4Ω (6A) load. It will have to be on a huge heat sink. A PFET works much better.
To turn on the high-side darlington, the base must be at least -3V with respect to the emitter which is at 24V, so ~21V.
To turn off the high-side darlington, the base must be at 24. The micro pin swings from 0V to 5V. See the mismatch? You need the extra NPN to invert and level-shift.
The easiest high-current, high-voltage driver which can be directly controlled by micro is a logic-gate NFET low-side driver, which requires the load to be connected between the high positive supply and the Drain of the NFET. More NFETs available than PFETs, NFETs have lower on-resistance than a PFET, NFET's gate can be driven directly from the micro.
Most cheap soldering irons do not control the heat so when sitting doing nothing they get hotter and hotter which makes the tip too hot, burns out the tip, incinerates the rosin in the solder, damages what you are soldering and makes poor soldering. Also when it is used to solder things it gets cooler and cooler until it can't solder anymore without resting until it heats up again.
Some odd soldering irons have adjustable heat from its "light dimmer" circuit that is stupid because it does not control the temperature, it simply adjusts the average temperature that still gets too hot and too cool.
My soldering iron controls the tip temperature all the time so it is always at the correct temperature. When sitting and doing nothing it reduces the power so the tip does not get too hot and when it is soldering all the time it increases the power so it does not get too cool. Therefore each solder joint is fast and perfect. Its tip lasts a very long time.
EDIT: Oh yeah, long life? My soldering iron has been used nearly every day for 50 years. On days it is used it is powered all day long. I replaced its tip a few times in 50 years and the soldering iron and its tip are still being manufactured today.