start converting sensor_controller to use SerialPort class