Arduino-based virtual machine