5v vin on ATTiny85 with reverse biased schottky diode?

I'm trying to connect up an ATTiny85 to usb and have been led to this schematic of the digispark ATTiny usb board.
From the diagram, I can see the 5v input of the controller going through a reverse biased schottky diode; a similar diagram is also present on this site. This may be a noobie question but wouldn't the diode limit current to something ridiculously low, or am I missing something?

Please explain how it is reversed biased? From what I see it supplies 5V - Vf of the diode to the USB connector and prevents the USB from powering itself. If you turn it around it will supply 5V -VF to the board from the USB.

Hi, thanks for replying.
The USB powers the board in this design so that's why I thought it was weird.

Apparently there have already been plenty of forum posts on the D3 diode, and the schematic is indeed drawn incorrectly.

best threads are here:


I think this person has the best answer, using a PCB diagram and photos of the board:

Digispark and Adafruit's Trinket are all based upon prior work V-USB on AVR microcontrollers.


The link gives schematics and the zener diode specs ... some sublinks gone unfortunately.

The zeners are somewhat critical as they drop the AVR's 5V to USB 3.3V signaling.

The diode in question is sometimes included when the PC powersupply 5V is not used for the external microcontroller. Unnecessary if USB 5V is used.


Thought so when you first posted it, so I just couldn't answer! It made no sense at all. :pleading_face:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.