Arduino-based firmware for openDAQ