true...
true...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I never did it, but I think It could work. Use a pull up between tr base and 12V, then a resistor in serie with the PIC. In your software, you set GPIO to 0, and later you play with TRIS to toggle your pin. Set to input, the tr should be off, Set to Output, tr should be almost ON. I would bet something like 10K pull-up, and something like 100-1K match could do.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I have the feeling that the internal zenner diodes will keep your lower side of the resistor to 5V+ even if you force it in input mode so the transistor will never turn OFF completely. Playing with the two resistors values will only get you a reliable ON status of the transistor but never fully OFF.
Regards,
Nick
Those internal one are not zener, but regular one.. fluffy but regular. Anyways, forget that, it was a really bad idea![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks