In the
previous post I assumed, that the schematics looks like that, derived from the original digispark and the V-USB reference.
pin4-----------------------+--------------PB6 of attiny
|
|
solder-jumper
|
66R5
|
GND ----zener-+---1k5---- +5V
|
|
|
USB D-
respective
pin3-----------------------+--------------PB3 of attiny
|
|
solder-jumper
|
66R5
|
GND ----zener-+
|
|
|
USB D+
Now after looking through the schematics, I received from Erik, I see, that it looks like that:
pin4-----------------------+--------------PB6 of attiny
|
|
solder-jumper
|
|
GND ----zener-+---1k5---- +5V
|
66R5
|
|
USB D-
respective
pin3-----------------------+--------------PB3 of attiny
|
|
solder-jumper
|
|
GND ----zener-+
|
66R5
|
|
USB D+
Which means, the 66R5 series resistor comes after the Zener diode, which will pull the output of the attiny to 3.6V. I have not enough electronic background to estimate, if that may be a problem for the attiny itself, when a high output is something like partially shorted to reduce the voltage to 3.6V (or even a little bit further). That means, that the difference of 1.4V needs to be "burned" in the attiny.
When I use my original digispark as V-USB interface, the 66R5 resistor is between the pin and the zener diode, like in the original attiny. In that case, the 1.4V are burned from this resistor, resulting in approx 20mA, which is ok for the pin of the attiny. With a lower internal impedance, the current might go up to 100, 200mA.
Where are the electronic gurus??