Explore using Firmata on arduino side and a shell script or python on the host.
Explore using Firmata on arduino side and a shell script or python on the host.