Two positions servo controller

12F675 (2020/12)

 

Ideas contribution by Zoltán Nagy from Hungary, thanks
 

After power on, controller read data from memory, one LED will light steady, mean normal status.

 

press keyA, servo goto A position, LED A light.

 

press keyB, servo goto B position, LED B light.

 

press keyprog, LED flashing, now key A / B will move servo to right / left.

 

       Press  key progagain, back to normal status.

 

May be useful for model train turnout control or garage door control.

 

 

 

2021/1 revision:

 

for Railing of level crossing, the servo maybe go too fast, So here is the slow motion version.
take 2~3 seconds to go from far left to far right.

 

 

Video: here

 

 

Download CCS C source code & HEX code: here

 BACK

=================================================================================         

You MAY duplicate, modify, give away or sell the original files in the web site or anything you derive from it.

ATTENTION : It is your own responsibility, if any damage cause by using the web site.

Philip Sun / TAIWAN

ilufa@yahoo.com

copyright 2016

Free Web Hosting