Hi everyone,
I'm trying to rebuild a TTL driver. Because I'm using PNP transistors for I'm not sure if my calculations are correct.

The idea is to feed the circuit with a square wave with 5V "high" ( 4.5V to 5V) and 0V "low" (0V to 0.5V) at least 4mA. When 5V is the voltage input then T1 should be in cut-off. That's mean that R2 should be no more than 1K Ohm; the transistor starts to work with 0.5V and the suggested base current will be 0.5mA. The negative power supply will be load in reverse the pin diode, that it should be connected.
Now, when the voltage input is 0 or 0,3 V, then T1 is active and R1 should be around 1.8k Ohm; T1 has a beta of 30 and the Ic should be 100mA. With 100mA should be load in forward the pin diode. T2 should be in cutoff. R3 will be around (7V-0.7V)/100mA =63 Ohms. R4 should be high enough to neglect the Ic current. Now R4 is calculated taking the values of 0.7V+30V/100mA = 307 Ohms. ??? Now I think probably I'm taking the wrong values. I should take the values for the pin diode? If and Ir instead the values of Ic?
Please tell me what I'm doing wrong?.
I'm trying to rebuild a TTL driver. Because I'm using PNP transistors for I'm not sure if my calculations are correct.

The idea is to feed the circuit with a square wave with 5V "high" ( 4.5V to 5V) and 0V "low" (0V to 0.5V) at least 4mA. When 5V is the voltage input then T1 should be in cut-off. That's mean that R2 should be no more than 1K Ohm; the transistor starts to work with 0.5V and the suggested base current will be 0.5mA. The negative power supply will be load in reverse the pin diode, that it should be connected.
Now, when the voltage input is 0 or 0,3 V, then T1 is active and R1 should be around 1.8k Ohm; T1 has a beta of 30 and the Ic should be 100mA. With 100mA should be load in forward the pin diode. T2 should be in cutoff. R3 will be around (7V-0.7V)/100mA =63 Ohms. R4 should be high enough to neglect the Ic current. Now R4 is calculated taking the values of 0.7V+30V/100mA = 307 Ohms. ??? Now I think probably I'm taking the wrong values. I should take the values for the pin diode? If and Ir instead the values of Ic?
Please tell me what I'm doing wrong?.