In this project an ATtiny24 controls a servomotor using pulse coded modulation (PCM) to open and close a model railway gate with two switches. Upper and lower gate position as well as the speed can be adjusted with three potentiometers. Very flexible, few electronic components and high relaiability. See for more details.
Files
signal_speed_regulation.jpg
The effect of the speed regulation for open/close timing