I wonder if its possible to use two switches and activate either out-port 1 or 2?
You have button 1 and button 2. (momentary)
If you first press no. 1 and release, then within 2 seconds press number 2 and release, it trigger out-signal on one spesific port to run a motor for 30 sec. Clockwise.
Then if you change order of activating buttons: first 2, release and then 1, it trigger another out-signal to run motor 30 sec. Counter-clockwise.
If you press both at the same time when motor is running, it should stop.
Is this something that could be done?
I am thinking of using a capasitiv prox to “feel my hand motion” and if I do a hand-gesture of running my hand past the sensors in one direction the curtains go down…
And “wave” the other way, the curtains go up.
I have to look in to programming later…
I need to get the Arduino home first, and start to experiment…