After I finally decided how to do the mechanical part of my Automatic Curtain project and finished some minor details like the end switches, it is time for the electronics.