Servo Control through serial monitor

The main one being – the Servo accepts two numerical info – the “degree” range 0 thru 180 refers to true angle position / degrees of servo, the range above 500 (something ) refers to microseconds time to set the servo to desired position / angle. This timing data should be in servo data sheet.

Not really. The servo accepts pulses with durations usually of 500us to 2500us, in intervals of 5ms to 20ms. Servo controllers accept various command formats and output the control pulses to the servo. The 0-180 deg command is jut an approximation of expected servo positioning, and in the arduino servo library, is converted to a corresponding us command position. The below code lines set an initial servo control position (library default is 1500us), and the second line sets the desired servo control limits if desired to be different from the default.

  myservo.writeMicroseconds(1500); //set initial servo position if desired
  myservo.attach(7, 500, 2500);  //the pin for the servo control, and range if desired

Here I published my code http://hacktricks.altervista.org/controllare-un-motore-servo-con-il-monitor-seriale-di-arduino/