Logic stuff, it's as difficult as you want it to be, I mean, if you want to press a button, and open a door, that does not require an engineering license.
The problem comes, when you want to do for example, that door after a time, be closed, or the door will not open if there is another one...