AVR-based event logger with USB support