i want a good resolution sensor in elevator ,the object is determine the level ,can i use a optical sensor ,for your opinion what is the best type ?