Server with serial comm and dirctection calculation.