I am trying to make a switch using a NPN referenced to ground, and an ATMEL referenced 3.8V above the ground. If I set the output to low, it will keep the transistor on.
So I am wondering if I set the Attiny's output on Hi-Z, will it cutoff the NPN? I haven't found a reliable source for the Hi-Z value. Is it 100Mohm ?
Ib will be : [3.8V-0.7-(10K*Ib)]/100M => approximately 31nA, in this scenario the transistor will be cutoff. But I've read in others sources that pin leakage is 1uA.
Any ideas if Hi-Z will keep the transistor in cutoff region?