Add Arduino sketch and update shell scripts.