firmware and software for AVR microcontroller data acquisition