server interfaces with the arduino