Updated to use an Arduino + CDS instead of tty checking