SOSS-S8 Simple Open Source Servo on STM8S
Channel: ahmetonatSU
Date: 15/12/2018

See my Blog: https://aviatorahmet.blogspot.com/2018/12/soss-s8-simple-open-source-servo-stm8s.html

This is my open source position servo controller design. Intended for education, you can build it cheaply, use open-source software for all development and use, and learn about PID and other control methods. It uses a DC motor with optical encoder. Its position is controller using position feedback at 2kHz sampling time. The position and other data is relayed live over the serial port at 500Hz and can be viewed on the PC.

All source code at Gitub: 
https://github.com/ahmetonat/Simple-Open-Source-Servo-S8-SOSS-S8/blob/master/Makefile

How to use install and use the development environment for STM8S:
https://aviatorahmet.blogspot.com/2018/01/programming-stm8s-using-sdcc-and-gnu.html

Please have fun!