I decided on 8 flip flops but I am stuck on making sure that the doesn’t show up on multiple floors."I have no idea where or how to even start."
You can't really start until you decide how to represent the elevator. With 8 floors you could use a 3-bit up-down counter or an 8-stage bi-directional shift register (3 flip-flops vs 8 flip-flops). However, fewer flip-flops would require more decoder logic. Yet more flip-flops would require more careful design to not have the elevator be on multiple floors at the same time.
Maybe all that is necessary is a reset button to set the initial state of the state machine, and then make sure that during operation a floor (flip-flop) can only acquire the elevator (value of 1?) from an adjacent floor.I am stuck on making sure that the doesn’t show up on multiple floors.
|Thread starter||Similar threads||Forum||Replies||Date|
|M||hi all I have a question which I am struggling with please help - Power supply question||Power Electronics||14|
|T||struggling to fully instal terosHDL on VScode and my computer?||FPGAs (Field Programmable Gate Array)||2|
|T||Struggling with C and PIC16f1825||Programming & Languages||1|
|M||Struggling to get a signal from the Kenwood KRF-V5050D subwoofer output||Technical Repair||3|
|M||Struggling to make a part in orcad||General Electronics Chat||0|
|hi all I have a question which I am struggling with please help - Power supply question|
|struggling to fully instal terosHDL on VScode and my computer?|
|Struggling with C and PIC16f1825|
|Struggling to get a signal from the Kenwood KRF-V5050D subwoofer output|
|Struggling to make a part in orcad|