DIY USB password generator

This article describes an implementation of the DIY USB password generator. It is a small USB HID keyboard device that types a password stored in EEPROM every time it’s attached.

Digispark01The implementation was on a Digispark ATTINY85 General Micro USB Development Board which was purchased on eBay for a few dollars.

The board uses different pin connections to USB to the original, and requires a hardware jumper from D+ (PB4) to INT0 (PB2).

In the process of changing the code, I updated the V-USB driver. That necessitated quite a few changes to source code.

The updated code was compiled, and tested just fine.

Changed / updated code (includes hex):