mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

ServoTrim.TOWERPRO_SG90 is inaccurate #136

Closed EAGrahamJr closed 1 year ago

EAGrahamJr commented 1 year ago

The spec sheet for the SG90 (and experimentation) indicates that the full 180 deg. swing is 500 to 2400 microseconds. The current "default" is 600. (This also implies that the default midpoint value is 1450.)