Hey guys. I am relatively new to redstone so I am asking for a bit of advice. I understand many of the mechanics as they are very similar to electrical engineering.
I am building a skyscraper with around 40 floors, and want to put in a multi-floor selector elevator. basically I'm trying to have a compact design. the building is roughly 40x40 blocks in area, so I'd like the elevator much smaller than that. I think the floor selector can be wired under the ground floor. anyways Ive searched and researched different floor selectors, and none that i've seen are practical for this many floor and intuitive to use.
Here is my idea: have a top trapped chest in which you place a number of items in corresponding to the floor you want. these flow through a hopper into a return chest on the bottom. A comparator comes out of the hopper and sends a signal of 4 ticks for every item going through the hopper. the signal length is then sent to some mechanism to tell the elevator when to stop. This is where I'm stuck; I don't quite know how to convert the information contained in the signal length to a proper floor mechanism. anyways I've already built this "encoder" so to speak and it is quite compact, using 1x4x3 space. (sorry, forgot pics).
To clarify, the signal length is not to be used for timing (although it could i suppose), but to input to a decoder of some sort to then activate a floor mechanism. Another thought: I understand repeaters can be locked in a state if another repeater is activated sideways next to it? this could be a possible floor choice mechanism, to prevent a piston from extending (if thats the route I go).
Are these ideas feasible? if you have something better, I'm all ears. shoot any ideas out there. basically the goal is that if some random person walked up to the elevator, they could intuitively use it without much of a learning curve.
PS this will be on a server. so lag may play a part.
Edit: I have seen designs using an item frame selector, a bunch of buttons, even a single button you push n times, n being the floor you want. The item frame would work if you used an octal number system, but thats not intuitive, is it? all these types I don't particularly like.
Edit2: Just had another idea with the comparator pulse: maybe have a memory system that converts the pulse to binary, and based on this, certain pistons do not work?