Servo only does 90 degrees
- 
					
					
					
					
 Hello all, This night I finally made some time to build a gateway and a device to use a servo. 
 The only issues I had was finding drivers to programm the nano and the uno ( I use the uno for the servo).Now , there is 1 issue. The servo only turns max 90 degrees. I uploaded the sketch without changing anything. 
 http://www.mysensors.org/build/servoIt should to a full 180 degrees I think ? it is a standard futaba S3001. 
 The servo is good ( I checked with my RC transmitter and reciever)anyone has an idea how to troubleshoot? edit ... oh ... that's wierd... when I use the slider or open-close , it does the 90 degrees. but when I click up-down, it does full 180 degrees ...... why not with the slider?? thanks, 
 Cor
 
- 
					
					
					
					
 Just recieved a responce via another forum. 
 I ran in the same problem. I fixed it by replacing the line: myservo.write(SERVO_MAX + (SERVO_MIN-SERVO_MAX)/100 * val); // sets the servo position 0-180 by the following 2 lines of code: val = map(val, 0, 100, 0, 180); // scale 0%-100% between 0 and 180) myservo.write(val); // sets the servo position 0-180
 
 
 
			
		 
					
				
 
					
				